##// END OF EJS Templates
Bug fixed in jroplot_heispectra: Error when RTI creates a new graphic (lctime > Tmax)
Miguel Valdez -
r793:8c66aea42b0b
parent child
Show More
@@ -314,7 +314,7 class RTIfromSpectraHeis(Figure):
314 314
315 315 if dataOut.ltctime >= self.tmax:
316 316 self.counter_imagwr = wr_period
317 self.__isConfig = False
317 self.isConfig = False
318 318 update_figfile = True
319 319
320 320 self.save(figpath=figpath,
@@ -205,7 +205,7 class SkyMapPlot(Figure):
205 205
206 206 def __init__(self):
207 207
208 self.__isConfig = False
208 self.isConfig = False
209 209 self.__nsubplots = 1
210 210
211 211 # self.WIDTH = 280
@@ -290,7 +290,7 class SkyMapPlot(Figure):
290 290 ylabel = "Meridional Zenith Angle (deg)"
291 291 update_figfile = False
292 292
293 if not self.__isConfig:
293 if not self.isConfig:
294 294
295 295 nplots = 1
296 296
@@ -314,7 +314,7 class SkyMapPlot(Figure):
314 314 self.PLOT_POS = plot_pos
315 315 self.name = thisDatetime.strftime("%Y%m%d_%H%M%S")
316 316 self.firstdate = '%s %s'%(thisDatetime.strftime("%Y/%m/%d"),thisDatetime.strftime("%H:%M:%S"))
317 self.__isConfig = True
317 self.isConfig = True
318 318 update_figfile = True
319 319
320 320 self.setWinTitle(title)
@@ -340,8 +340,8 class SkyMapPlot(Figure):
340 340 update_figfile=update_figfile)
341 341
342 342 if dataOut.ltctime >= self.xmax:
343 self.counter_imagwr = wr_period
344 self.__isConfig = False
343 self.isConfigmagwr = wr_period
344 self.isConfig = False
345 345 update_figfile = True
346 346 axes.__firsttime = True
347 347 self.xmin += self.timerange
@@ -362,7 +362,7 class WindProfilerPlot(Figure):
362 362 def __init__(self):
363 363
364 364 self.timerange = None
365 self.__isConfig = False
365 self.isConfig = False
366 366 self.__nsubplots = 1
367 367
368 368 self.WIDTH = 800
@@ -486,7 +486,7 class WindProfilerPlot(Figure):
486 486 ylabel = "Range (Km)"
487 487 update_figfile = False
488 488
489 if not self.__isConfig:
489 if not self.isConfig:
490 490
491 491 self.setup(id=id,
492 492 nplots=nplots,
@@ -521,7 +521,7 class WindProfilerPlot(Figure):
521 521 self.PLOT_POS = plot_pos
522 522
523 523 self.name = thisDatetime.strftime("%Y%m%d_%H%M%S")
524 self.__isConfig = True
524 self.isConfig = True
525 525 self.figfile = figfile
526 526 update_figfile = True
527 527
@@ -564,7 +564,7 class WindProfilerPlot(Figure):
564 564
565 565 if dataOut.ltctime >= self.xmax:
566 566 self.counter_imagwr = wr_period
567 self.__isConfig = False
567 self.isConfig = False
568 568 update_figfile = True
569 569
570 570 self.save(figpath=figpath,
@@ -589,7 +589,7 class ParametersPlot(Figure):
589 589 def __init__(self):
590 590
591 591 self.timerange = 2*60*60
592 self.__isConfig = False
592 self.isConfig = False
593 593 self.__nsubplots = 1
594 594
595 595 self.WIDTH = 800
@@ -734,7 +734,7 class ParametersPlot(Figure):
734 734 zmin = 0
735 735 else: colormap = "RdBu_r"
736 736
737 if not self.__isConfig:
737 if not self.isConfig:
738 738
739 739 self.setup(id=id,
740 740 nplots=nplots,
@@ -759,7 +759,7 class ParametersPlot(Figure):
759 759 self.PLOT_POS = plot_pos
760 760
761 761 self.name = thisDatetime.strftime("%Y%m%d_%H%M%S")
762 self.__isConfig = True
762 self.isConfig = True
763 763 self.figfile = figfile
764 764
765 765 self.setWinTitle(title)
@@ -817,7 +817,7 class ParametersPlot(Figure):
817 817
818 818 if x[1] >= self.axesList[0].xmax:
819 819 self.counter_imagwr = wr_period
820 self.__isConfig = False
820 self.isConfig = False
821 821 self.figfile = None
822 822
823 823 self.save(figpath=figpath,
@@ -842,7 +842,7 class SpectralFittingPlot(Figure):
842 842 ippSeconds = None
843 843
844 844 def __init__(self):
845 self.__isConfig = False
845 self.isConfig = False
846 846 self.__nsubplots = 1
847 847
848 848 self.PLOT_CODE = SPECFIT_CODE
@@ -958,7 +958,7 class SpectralFittingPlot(Figure):
958 958 xlabel = "Velocity (m/s)"
959 959 ylabel = "Spectrum"
960 960
961 if not self.__isConfig:
961 if not self.isConfig:
962 962
963 963 nplots = listChannels.size
964 964
@@ -973,7 +973,7 class SpectralFittingPlot(Figure):
973 973 if ymin == None: ymin = numpy.nanmin(zdB)
974 974 if ymax == None: ymax = numpy.nanmax(zdB)+2
975 975
976 self.__isConfig = True
976 self.isConfig = True
977 977
978 978 self.setWinTitle(title)
979 979 for i in range(self.nplots):
@@ -1134,7 +1134,7 class EWDriftsPlot(Figure):
1134 1134 xlabel = ""
1135 1135 ylabel = "Height (Km)"
1136 1136
1137 if not self.__isConfig:
1137 if not self.isConfig:
1138 1138
1139 1139 self.setup(id=id,
1140 1140 nplots=nplots,
@@ -1162,7 +1162,7 class EWDriftsPlot(Figure):
1162 1162 self.PLOT_POS = plot_pos
1163 1163
1164 1164 self.name = thisDatetime.strftime("%Y%m%d_%H%M%S")
1165 self.__isConfig = True
1165 self.isConfig = True
1166 1166
1167 1167
1168 1168 self.setWinTitle(title)
@@ -1205,7 +1205,7 class EWDriftsPlot(Figure):
1205 1205
1206 1206 if x[1] >= self.axesList[0].xmax:
1207 1207 self.counter_imagwr = wr_period
1208 self.__isConfig = False
1208 self.isConfig = False
1209 1209 self.figfile = None
1210 1210
1211 1211
@@ -1221,7 +1221,7 class PhasePlot(Figure):
1221 1221 def __init__(self):
1222 1222
1223 1223 self.timerange = 24*60*60
1224 self.__isConfig = False
1224 self.isConfig = False
1225 1225 self.__nsubplots = 1
1226 1226 self.counter_imagwr = 0
1227 1227 self.WIDTH = 600
@@ -1295,7 +1295,7 class PhasePlot(Figure):
1295 1295 phase_beacon = dataOut.data_output
1296 1296 update_figfile = False
1297 1297
1298 if not self.__isConfig:
1298 if not self.isConfig:
1299 1299
1300 1300 self.nplots = phase_beacon.size
1301 1301
@@ -1319,7 +1319,7 class PhasePlot(Figure):
1319 1319 self.PLOT_POS = plot_pos
1320 1320
1321 1321 self.name = thisDatetime.strftime("%Y%m%d_%H%M%S")
1322 self.__isConfig = True
1322 self.isConfig = True
1323 1323 self.figfile = figfile
1324 1324 self.xdata = numpy.array([])
1325 1325 self.ydata = numpy.array([])
@@ -1361,7 +1361,7 class PhasePlot(Figure):
1361 1361
1362 1362 if dataOut.ltctime >= self.xmax:
1363 1363 self.counter_imagwr = wr_period
1364 self.__isConfig = False
1364 self.isConfig = False
1365 1365 update_figfile = True
1366 1366
1367 1367 self.save(figpath=figpath,
General Comments 0
You need to be logged in to leave comments. Login now