##// END OF EJS Templates
fix range
avaldezp -
r1521:620883e0ec4d
parent child
Show More
@@ -116,8 +116,6 class Readsophy():
116 116
117 117 if self.range==0:
118 118 self.range == heightList[-1]
119 else:
120 print(self.range)
121 119 new_heightList,minIndex,maxIndex = self.selectHeights(heightList,0.06,self.range)
122 120
123 121
@@ -129,7 +127,7 class Readsophy():
129 127 fig = pl.figure(figsize=(10,8))
130 128 cgax, pm = wradlib.vis.plot_ppi(data_arr[:,minIndex:maxIndex],r=new_heightList,az=data_azi,rf=1,fig=fig, ax=111,proj='cg',cmap=cmap,vmin=vmin, vmax=vmax)
131 129 caax = cgax.parasites[0]
132 title = 'Simple PPI'+"-"+ my_time
130 title = 'Simple PPI'+"-"+ my_time+" E."+self.grado
133 131 t = pl.title(title, fontsize=12,y=1.05)
134 132 cbar = pl.gcf().colorbar(pm, pad=0.075)
135 133 pl.text(1.0, 1.05, 'azimuth', transform=caax.transAxes, va='bottom',ha='right')
@@ -138,7 +136,7 class Readsophy():
138 136 else:
139 137 cgax, pm = wradlib.vis.plot_ppi(data_arr[:,minIndex:maxIndex],r=new_heightList,az=data_azi,rf=1,fig=fig, ax=111,proj='cg',cmap=cmap,vmin=vmin, vmax=vmax)
140 138 caax = cgax.parasites[0]
141 title = 'Simple PPI'+"-"+my_time
139 title = 'Simple PPI'+"-"+my_time+" E."+self.grado
142 140 t = pl.title(title, fontsize=12,y=1.05)
143 141 cbar = pl.gcf().colorbar(pm, pad=0.075)
144 142 pl.text(1.0, 1.05, 'azimuth', transform=caax.transAxes, va='bottom',ha='right')
@@ -164,7 +162,7 class Readsophy():
164 162 pl.show()
165 163
166 164 PATH = "/home/soporte/Documents/EVENTO/HYO_PM@2022-06-09T15-05-12/paramC0N36.0/2022-06-09T18-00-00/"
167 PATH = "/home/soporte/Documents/EVENTO/HYO_PM@2022-06-09T15-05-12/paramC0N36.0/2022-06-09T19-00-00/"
165 #PATH = "/home/soporte/Documents/EVENTO/HYO_PM@2022-06-09T15-05-12/paramC0N36.0/2022-06-09T19-00-00/"
168 166
169 167 #PATH = "/home/soporte/Documents/EVENTO/HYO_PM@2022-05-31T12-00-17/paramC0N36.0/2022-05-31T16-00-00/"
170 168
General Comments 0
You need to be logged in to leave comments. Login now