##// END OF EJS Templates
last debbug fix pulsepair and spectralmoment
avaldez -
r1395:e5714b82613d
parent child
Show More
@@ -401,7 +401,7 class WeatherPlot(Plot):
401 if hasattr(dataOut, 'nFFTPoints'):
401 if hasattr(dataOut, 'nFFTPoints'):
402 factor = dataOut.normFactor
402 factor = dataOut.normFactor
403
403
404 print("factor",factor)
404 ####print("factor",factor)
405 data['weather'] = 10*numpy.log10(dataOut.data_360[0]/(factor))
405 data['weather'] = 10*numpy.log10(dataOut.data_360[0]/(factor))
406 print("weather",data['weather'])
406 print("weather",data['weather'])
407 data['azi'] = dataOut.data_azi
407 data['azi'] = dataOut.data_azi
@@ -4306,18 +4306,18 class PedestalInformation(Operation):
4306 self.isConfig = True
4306 self.isConfig = True
4307
4307
4308 dataOut.flagNoData = True
4308 dataOut.flagNoData = True
4309 print("profIndex",self.__profIndex)
4309 ###print("profIndex",self.__profIndex)
4310
4310
4311 if self.__profIndex==0:
4311 if self.__profIndex==0:
4312 angulo_adq = self.setNextFileP(dataOut)
4312 angulo_adq = self.setNextFileP(dataOut)
4313 dataOut.azimuth = angulo_adq
4313 dataOut.azimuth = angulo_adq
4314 print("TIEMPO:",dataOut.utctime)
4314 ######print("TIEMPO:",dataOut.utctime)
4315 ##print("####################################################################")
4315 ##print("####################################################################")
4316 print("angulos",dataOut.azimuth,len(dataOut.azimuth))
4316 ######print("angulos",dataOut.azimuth,len(dataOut.azimuth))
4317 self.__dataReady = True
4317 self.__dataReady = True
4318 self.__profIndex += 1
4318 self.__profIndex += 1
4319 print("TIEMPO_bucle:",dataOut.utctime)
4319 ####print("TIEMPO_bucle:",dataOut.utctime)
4320 print("profIndex",self.__profIndex)
4320 ####print("profIndex",self.__profIndex)
4321 if self.__profIndex== blocksPerfile:
4321 if self.__profIndex== blocksPerfile:
4322 self.__profIndex = 0
4322 self.__profIndex = 0
4323 if self.__dataReady:
4323 if self.__dataReady:
@@ -4448,7 +4448,7 class Block360(Operation):
4448 return data_360,avgdatatime,data_p
4448 return data_360,avgdatatime,data_p
4449
4449
4450 def run(self, dataOut,n = None,mode=None,**kwargs):
4450 def run(self, dataOut,n = None,mode=None,**kwargs):
4451 print("BLOCK 360 HERE WE GO MOMENTOS")
4451 ####print("BLOCK 360 HERE WE GO MOMENTOS")
4452 if not self.isConfig:
4452 if not self.isConfig:
4453 self.setup(dataOut = dataOut, n = n ,mode= mode ,**kwargs)
4453 self.setup(dataOut = dataOut, n = n ,mode= mode ,**kwargs)
4454 self.index = 0
4454 self.index = 0
@@ -1478,8 +1478,7 class PulsePair(Operation):
1478 if self.__dataReady:
1478 if self.__dataReady:
1479 dataOut.nCohInt *= self.n
1479 dataOut.nCohInt *= self.n
1480 dataOut.dataPP_POW = data_intensity # S
1480 dataOut.dataPP_POW = data_intensity # S
1481 print("help",data_power)
1481 dataOut.dataPP_POWER = data_power # P valor que corresponde a POTENCIA MOMENTO
1482 dataOut.dataPP_POWER = data_power # P
1483 dataOut.dataPP_DOP = data_velocity
1482 dataOut.dataPP_DOP = data_velocity
1484 dataOut.dataPP_SNR = data_snrPP
1483 dataOut.dataPP_SNR = data_snrPP
1485 dataOut.dataPP_WIDTH = data_specwidth
1484 dataOut.dataPP_WIDTH = data_specwidth
@@ -23,7 +23,7 from schainpy.controller import Project
23 ######## VELOCIDAD DEL PEDESTAL ######################
23 ######## VELOCIDAD DEL PEDESTAL ######################
24 print("SETUP- RADAR METEOROLOGICO")
24 print("SETUP- RADAR METEOROLOGICO")
25 V = 10
25 V = 10
26 mode = 1
26 mode = 0
27 #path = '/DATA_RM/23/6v'
27 #path = '/DATA_RM/23/6v'
28 #path = '/DATA_RM/TEST_INTEGRACION_2M'
28 #path = '/DATA_RM/TEST_INTEGRACION_2M'
29 path = '/DATA_RM/WR_20_OCT'
29 path = '/DATA_RM/WR_20_OCT'
General Comments 0
You need to be logged in to leave comments. Login now