##// END OF EJS Templates
Bug fixed when plot changed from one day to the next
Julio Valdez -
r852:997c2d76e6fd
parent child
Show More
@@ -553,11 +553,6 class WindProfilerPlot(Figure):
553 553
554 554 self.draw()
555 555
556 if dataOut.ltctime >= self.xmax:
557 self.counter_imagwr = wr_period
558 self.isConfig = False
559 update_figfile = True
560
561 556 self.save(figpath=figpath,
562 557 figfile=figfile,
563 558 save=save,
@@ -566,6 +561,12 class WindProfilerPlot(Figure):
566 561 thisDatetime=thisDatetime,
567 562 update_figfile=update_figfile)
568 563
564 if dataOut.ltctime + dataOut.outputInterval >= self.xmax:
565 self.counter_imagwr = wr_period
566 self.isConfig = False
567 update_figfile = True
568
569
569 570 class ParametersPlot(Figure):
570 571
571 572 __isConfig = None
@@ -1485,7 +1486,7 class PhasePlot(Figure):
1485 1486
1486 1487
1487 1488 #thisDatetime = dataOut.datatime
1488 thisDatetime = datetime.datetime.utcfromtimestamp(dataOut.getTimeRange()[1])
1489 thisDatetime = datetime.datetime.utcfromtimestamp(dataOut.ltctime)
1489 1490 title = wintitle + " Phase of Beacon Signal" # : %s" %(thisDatetime.strftime("%d-%b-%Y"))
1490 1491 xlabel = "Local Time"
1491 1492 ylabel = "Phase"
@@ -1559,11 +1560,6 class PhasePlot(Figure):
1559 1560
1560 1561 self.draw()
1561 1562
1562 if dataOut.ltctime >= self.xmax:
1563 self.counter_imagwr = wr_period
1564 self.isConfig = False
1565 update_figfile = True
1566
1567 1563 self.save(figpath=figpath,
1568 1564 figfile=figfile,
1569 1565 save=save,
@@ -1572,6 +1568,12 class PhasePlot(Figure):
1572 1568 thisDatetime=thisDatetime,
1573 1569 update_figfile=update_figfile)
1574 1570
1571 if dataOut.ltctime + dataOut.outputInterval >= self.xmax:
1572 self.counter_imagwr = wr_period
1573 self.isConfig = False
1574 update_figfile = True
1575
1576
1575 1577
1576 1578 class NSMeteorDetection1Plot(Figure):
1577 1579
General Comments 0
You need to be logged in to leave comments. Login now