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