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