diff --git a/schainpy/model/proc/jroproc_spectra.py b/schainpy/model/proc/jroproc_spectra.py index e79bcc9..ac4acf0 100644 --- a/schainpy/model/proc/jroproc_spectra.py +++ b/schainpy/model/proc/jroproc_spectra.py @@ -157,6 +157,7 @@ class SpectraProc(ProcessingUnit): nProfiles, self.dataIn.nHeights), dtype='complex') + print("W",self.buffer.shape) if self.dataIn.flagDataAsBlock: nVoltProfiles = self.dataIn.data.shape[1] @@ -193,6 +194,7 @@ class SpectraProc(ProcessingUnit): self.dataIn.type, self.dataIn.data.shape[1], nProfiles)) self.dataOut.flagNoData = True else: + print(self.profIndex,self.dataIn.data.copy().shape) self.buffer[:, self.profIndex, :] = self.dataIn.data.copy() self.profIndex += 1 @@ -208,8 +210,8 @@ class SpectraProc(ProcessingUnit): self.__getFft() self.dataOut.flagNoData = False self.firstdatatime = None - if not self.reader.bypass: - self.profIndex = 0 + #if not self.reader.bypass: + self.profIndex = 0 else: raise ValueError("The type of input object '%s' is not valid".format( self.dataIn.type)) diff --git a/schainpy/model/proc/jroproc_voltage.py b/schainpy/model/proc/jroproc_voltage.py index 708fa13..db92d61 100644 --- a/schainpy/model/proc/jroproc_voltage.py +++ b/schainpy/model/proc/jroproc_voltage.py @@ -214,8 +214,6 @@ class selectHeights(Operation): """ if self.dataOut.type == 'Voltage': - print(minIndex) - print(maxIndex) if (minIndex < 0) or (minIndex > maxIndex): raise ValueError("Height index range (%d,%d) is not valid" % (minIndex, maxIndex))