From e5714b82613d681b9a5c0dfb8e318f48eba94411 2021-10-27 22:51:29 From: avaldez Date: 2021-10-27 22:51:29 Subject: [PATCH] last debbug fix pulsepair and spectralmoment --- diff --git a/schainpy/model/graphics/jroplot_parameters.py b/schainpy/model/graphics/jroplot_parameters.py index ea2c5b9..b524937 100644 --- a/schainpy/model/graphics/jroplot_parameters.py +++ b/schainpy/model/graphics/jroplot_parameters.py @@ -401,7 +401,7 @@ class WeatherPlot(Plot): if hasattr(dataOut, 'nFFTPoints'): factor = dataOut.normFactor - print("factor",factor) + ####print("factor",factor) data['weather'] = 10*numpy.log10(dataOut.data_360[0]/(factor)) print("weather",data['weather']) data['azi'] = dataOut.data_azi diff --git a/schainpy/model/proc/jroproc_parameters.py b/schainpy/model/proc/jroproc_parameters.py index bc1c69e..a86eb08 100755 --- a/schainpy/model/proc/jroproc_parameters.py +++ b/schainpy/model/proc/jroproc_parameters.py @@ -4306,18 +4306,18 @@ class PedestalInformation(Operation): self.isConfig = True dataOut.flagNoData = True - print("profIndex",self.__profIndex) + ###print("profIndex",self.__profIndex) if self.__profIndex==0: angulo_adq = self.setNextFileP(dataOut) dataOut.azimuth = angulo_adq - print("TIEMPO:",dataOut.utctime) + ######print("TIEMPO:",dataOut.utctime) ##print("####################################################################") - print("angulos",dataOut.azimuth,len(dataOut.azimuth)) + ######print("angulos",dataOut.azimuth,len(dataOut.azimuth)) self.__dataReady = True self.__profIndex += 1 - print("TIEMPO_bucle:",dataOut.utctime) - print("profIndex",self.__profIndex) + ####print("TIEMPO_bucle:",dataOut.utctime) + ####print("profIndex",self.__profIndex) if self.__profIndex== blocksPerfile: self.__profIndex = 0 if self.__dataReady: @@ -4448,7 +4448,7 @@ class Block360(Operation): return data_360,avgdatatime,data_p def run(self, dataOut,n = None,mode=None,**kwargs): - print("BLOCK 360 HERE WE GO MOMENTOS") + ####print("BLOCK 360 HERE WE GO MOMENTOS") if not self.isConfig: self.setup(dataOut = dataOut, n = n ,mode= mode ,**kwargs) self.index = 0 diff --git a/schainpy/model/proc/jroproc_voltage.py b/schainpy/model/proc/jroproc_voltage.py index 87071df..da7f14d 100644 --- a/schainpy/model/proc/jroproc_voltage.py +++ b/schainpy/model/proc/jroproc_voltage.py @@ -1478,8 +1478,7 @@ class PulsePair(Operation): if self.__dataReady: dataOut.nCohInt *= self.n dataOut.dataPP_POW = data_intensity # S - print("help",data_power) - dataOut.dataPP_POWER = data_power # P + dataOut.dataPP_POWER = data_power # P valor que corresponde a POTENCIA MOMENTO dataOut.dataPP_DOP = data_velocity dataOut.dataPP_SNR = data_snrPP dataOut.dataPP_WIDTH = data_specwidth diff --git a/schainpy/scripts/basic_proc00002.py b/schainpy/scripts/basic_proc00002.py index 31202d5..31e650c 100644 --- a/schainpy/scripts/basic_proc00002.py +++ b/schainpy/scripts/basic_proc00002.py @@ -23,7 +23,7 @@ from schainpy.controller import Project ######## VELOCIDAD DEL PEDESTAL ###################### print("SETUP- RADAR METEOROLOGICO") V = 10 -mode = 1 +mode = 0 #path = '/DATA_RM/23/6v' #path = '/DATA_RM/TEST_INTEGRACION_2M' path = '/DATA_RM/WR_20_OCT'