##// END OF EJS Templates
last update
avaldezp -
r1412:7050d08f9cdf
parent child
Show More
@@ -4010,7 +4010,6 class PedestalInformation(Operation):
4010 4010 utc_adq = utc_adq
4011 4011 list_pedestal = list_pedestal
4012 4012 utc_ped_list = []
4013
4014 4013 for i in range(len(list_pedestal)):
4015 4014 #print(i)# OJO IDENTIFICADOR DE SINCRONISMO
4016 4015 utc_ped_list.append(self.gettimeutcfromDirFilename(path=self.path_ped,file=list_pedestal[i]))
@@ -4018,7 +4017,7 class PedestalInformation(Operation):
4018 4017 nro_file,utc_ped,utc_ped_1 =self.getNROFile(utc_adq,utc_ped_list)
4019 4018
4020 4019 if nro_file < 0:
4021 return numpy.NaN
4020 return numpy.NaN,numpy.NaN
4022 4021 else:
4023 4022 nro_key_p = int((utc_adq-utc_ped)/self.t_Interval_p)-1 # ojito al -1 estimado alex
4024 4023 ff_pedestal = list_pedestal[nro_file]
@@ -4093,6 +4092,7 class PedestalInformation(Operation):
4093 4092 c=0
4094 4093 #print(utc_adq)
4095 4094 #print(len(utc_ped_list))
4095 #print(utc_ped_list)
4096 4096 for i in range(len(utc_ped_list)):
4097 4097 if utc_adq>utc_ped_list[i]:
4098 4098 #print("mayor")
@@ -4193,7 +4193,7 class Block360(Operation):
4193 4193
4194 4194 self.n = n
4195 4195 self.mode = mode
4196 print("self.mode",self.mode)
4196 #print("self.mode",self.mode)
4197 4197 #print("nHeights")
4198 4198 self.__buffer = numpy.zeros(( dataOut.nChannels,n, dataOut.nHeights))
4199 4199 self.__buffer2 = numpy.zeros(n)
@@ -83,9 +83,9 controllerObj.setup(id = '191', name='Test_USRP', description=desc)
83 83 #---------------------UNIDAD DE LECTURA--------------------------------
84 84 readUnitConfObj = controllerObj.addReadUnit(datatype='DigitalRFReader',
85 85 path=path_adq,
86 startDate="2021/11/10",#today,
86 startDate="2021/11/23",#today,
87 87 endDate="2021/12/30",#today,
88 startTime='17:10:25',
88 startTime='14:38:23',
89 89 endTime='23:59:59',
90 90 delay=0,
91 91 #set=0,
@@ -15,6 +15,7 import matplotlib.pyplot as plt
15 15 path_ped = '/DATA_RM/TEST_PEDESTAL/P20211020-131248'
16 16 path_ped = '/DATA_RM/TEST_PEDESTAL/P20211110-171003'
17 17 path_ped = '/DATA_RM/TEST_PEDESTAL/P20211111-173856'
18 path_ped = '/DATA_RM/TEST_PEDESTAL/P20211123-143826'
18 19 #path_ped = '/DATA_RM/TEST_PEDESTAL/P20211111-173409'
19 20 # Metodo para verificar numero
20 21 def isNumber(str):
@@ -110,8 +111,8 plt.plot(t,azi_pos,label='AZIMUTH_POS',color='blue')
110 111 t=numpy.arange(len(ele_pos))*0.01/60.0
111 112 plt.plot(t,ele_pos,label='ELEVATION_POS',color='red')#*10
112 113
113 #ax.set_xlim(0, 9)
114 ax.set_ylim(-5, 20)
114 ax.set_xlim(0, 4)
115 ax.set_ylim(-5, 50)
115 116 plt.ylabel("Azimuth Position")
116 117 plt.xlabel("Muestra")
117 118 plt.title('Azimuth Position vs Muestra ', fontsize=20)
@@ -3,6 +3,7 import matplotlib.pyplot as plt
3 3 import wradlib as wrl
4 4 import warnings
5 5 # libreia nueva
6 #export WRADLIB_DATA="/home/soporte/Downloads/2014-06-09--185000.rhi.mvol"
6 7 from mpl_toolkits.axisartist.grid_finder import FixedLocator, DictFormatter
7 8 warnings.filterwarnings('ignore')
8 9 # lectura de gaMIC hdf5 file
General Comments 0
You need to be logged in to leave comments. Login now