##// END OF EJS Templates
Bug fixed in RTI and Wind Profiler Plots, when data time exceeded the xmax, the new plot generated was overwriting the first one.
Julio Valdez -
r509:7fe23f0913c9
parent child
Show More
@@ -360,7 +360,7 class WindProfilerPlot(Figure):
360 360 def __init__(self):
361 361
362 362 self.timerange = 2*60*60
363 self.isConfig = False
363 self.__isConfig = False
364 364 self.__nsubplots = 1
365 365
366 366 self.WIDTH = 800
@@ -484,8 +484,6 class WindProfilerPlot(Figure):
484 484
485 485 if not self.__isConfig:
486 486
487
488
489 487 self.setup(id=id,
490 488 nplots=nplots,
491 489 wintitle=wintitle,
@@ -555,11 +553,6 class WindProfilerPlot(Figure):
555 553
556 554 self.draw()
557 555
558 if x[1] >= self.axesList[0].xmax:
559 self.counter_imagwr = wr_period
560 self.__isConfig = False
561
562
563 556 if self.figfile == None:
564 557 str_datetime = thisDatetime.strftime("%Y%m%d_%H%M%S")
565 558 self.figfile = self.getFilename(name = str_datetime)
@@ -577,4 +570,7 class WindProfilerPlot(Figure):
577 570
578 571 self.counter_imagwr = 0
579 572
580 No newline at end of file
573 if x[1] >= self.axesList[0].xmax:
574 self.counter_imagwr = wr_period
575 self.__isConfig = False
576 self.figfile = None No newline at end of file
@@ -406,7 +406,7 class CrossSpectraPlot(Figure):
406 406
407 407 class RTIPlot(Figure):
408 408
409 isConfig = None
409 __isConfig = None
410 410 __nsubplots = None
411 411
412 412 WIDTHPROF = None
@@ -416,7 +416,7 class RTIPlot(Figure):
416 416 def __init__(self):
417 417
418 418 self.timerange = 2*60*60
419 self.isConfig = False
419 self.__isConfig = False
420 420 self.__nsubplots = 1
421 421
422 422 self.WIDTH = 800
@@ -533,7 +533,7 class RTIPlot(Figure):
533 533 xlabel = ""
534 534 ylabel = "Range (Km)"
535 535
536 if not self.isConfig:
536 if not self.__isConfig:
537 537
538 538 nplots = len(channelIndexList)
539 539
@@ -562,7 +562,7 class RTIPlot(Figure):
562 562 self.PLOT_POS = plot_pos
563 563
564 564 self.name = thisDatetime.strftime("%Y%m%d_%H%M%S")
565 self.isConfig = True
565 self.__isConfig = True
566 566 self.figfile = figfile
567 567
568 568 self.setWinTitle(title)
@@ -591,11 +591,6 class RTIPlot(Figure):
591 591
592 592 self.draw()
593 593
594 if x[1] >= self.axesList[0].xmax:
595 self.counter_imagwr = wr_period
596 self.__isConfig = False
597
598
599 594 if self.figfile == None:
600 595 str_datetime = thisDatetime.strftime("%Y%m%d_%H%M%S")
601 596 self.figfile = self.getFilename(name = str_datetime)
@@ -613,6 +608,10 class RTIPlot(Figure):
613 608
614 609 self.counter_imagwr = 0
615 610
611 if x[1] >= self.axesList[0].xmax:
612 self.counter_imagwr = wr_period
613 self.__isConfig = False
614 self.figfile = None
616 615
617 616 class CoherenceMap(Figure):
618 617 isConfig = None
General Comments 0
You need to be logged in to leave comments. Login now