##// 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,
@@ -565,6 +560,12 class WindProfilerPlot(Figure):
565 560 wr_period=wr_period,
566 561 thisDatetime=thisDatetime,
567 562 update_figfile=update_figfile)
563
564 if dataOut.ltctime + dataOut.outputInterval >= self.xmax:
565 self.counter_imagwr = wr_period
566 self.isConfig = False
567 update_figfile = True
568
568 569
569 570 class ParametersPlot(Figure):
570 571
@@ -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,19 +1560,20 class PhasePlot(Figure):
1559 1560
1560 1561 self.draw()
1561 1562
1562 if dataOut.ltctime >= self.xmax:
1563 self.save(figpath=figpath,
1564 figfile=figfile,
1565 save=save,
1566 ftp=ftp,
1567 wr_period=wr_period,
1568 thisDatetime=thisDatetime,
1569 update_figfile=update_figfile)
1570
1571 if dataOut.ltctime + dataOut.outputInterval >= self.xmax:
1563 1572 self.counter_imagwr = wr_period
1564 1573 self.isConfig = False
1565 1574 update_figfile = True
1566 1575
1567 self.save(figpath=figpath,
1568 figfile=figfile,
1569 save=save,
1570 ftp=ftp,
1571 wr_period=wr_period,
1572 thisDatetime=thisDatetime,
1573 update_figfile=update_figfile)
1574
1576
1575 1577
1576 1578 class NSMeteorDetection1Plot(Figure):
1577 1579
General Comments 0
You need to be logged in to leave comments. Login now