##// END OF EJS Templates
changes to integrate AMISR Reader with Voltage and Spectra Objs
Daniel Valdez -
r475:b9af3aa878ca
parent child
Show More
@@ -674,7 +674,7 class AMISR:
674 674 self.windowOfFilter = None#self.dataIn.windowOfFilter
675 675
676 676 self.timeInterval = None#self.dataIn.timeInterval*self.dataOut.nFFTPoints*self.dataOut.nIncohInt
677 self.frequency = 20000#self.dataIn.frequency
677 self.frequency = 20000000#self.dataIn.frequency
678 678 self.realtime = 0#self.dataIn.realtime
679 679
680 680 #actualizar en la lectura de datos
@@ -644,7 +644,7 class RTIPlot(Figure):
644 644
645 645 #if ((dataOut.utctime-time.timezone) >= self.axesList[0].xmax):
646 646 if x[1] >= self.axesList[0].xmax:
647 self.saveFigure(figpath, figfile)
647 #self.saveFigure(figpath, figfile)
648 648 self.__isConfig = False
649 649
650 650 # if x[1] + (x[1]-x[0]) >= self.axesList[0].xmax:
@@ -755,6 +755,9 class SpectraPlot(Figure):
755 755 zmax : None
756 756 """
757 757
758 if dataOut.flagNoData:
759 return None
760
758 761 if realtime:
759 762 if not(isRealtime(utcdatatime = dataOut.utctime)):
760 763 print 'Skipping this plot function'
@@ -977,6 +980,8 class Scope(Figure):
977 980 ymin : None,
978 981 ymax : None,
979 982 """
983 if dataOut.flagNoData:
984 return None
980 985
981 986 if channelList == None:
982 987 channelIndexList = dataOut.channelIndexList
@@ -1082,6 +1087,9 class PowerProfile(Figure):
1082 1087 save=False, figpath='./', figfile=None, show=True, wr_period=1,
1083 1088 server=None, folder=None, username=None, password=None,):
1084 1089
1090 if dataOut.flagNoData:
1091 return None
1092
1085 1093 if channelList == None:
1086 1094 channelIndexList = dataOut.channelIndexList
1087 1095 channelList = dataOut.channelList
@@ -238,6 +238,10 class VoltageProc(ProcessingUnit):
238 238 self.dataOut.heightList = self.dataIn.heightList
239 239 self.dataOut.nProfiles = self.dataIn.nProfiles
240 240
241 self.dataOut.nCohInt = self.dataIn.nCohInt
242 self.dataOut.ippSeconds = self.dataIn.ippSeconds
243 self.dataOut.frequency = self.dataIn.frequency
244
241 245 pass
242 246
243 247 def init(self):
General Comments 0
You need to be logged in to leave comments. Login now