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