@@ -116,8 +116,6 class Readsophy(): | |||||
116 |
|
116 | |||
117 | if self.range==0: |
|
117 | if self.range==0: | |
118 | self.range == heightList[-1] |
|
118 | self.range == heightList[-1] | |
119 | else: |
|
|||
120 | print(self.range) |
|
|||
121 | new_heightList,minIndex,maxIndex = self.selectHeights(heightList,0.06,self.range) |
|
119 | new_heightList,minIndex,maxIndex = self.selectHeights(heightList,0.06,self.range) | |
122 |
|
120 | |||
123 |
|
121 | |||
@@ -129,7 +127,7 class Readsophy(): | |||||
129 | fig = pl.figure(figsize=(10,8)) |
|
127 | fig = pl.figure(figsize=(10,8)) | |
130 | 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) |
|
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 | caax = cgax.parasites[0] |
|
129 | caax = cgax.parasites[0] | |
132 | title = 'Simple PPI'+"-"+ my_time |
|
130 | title = 'Simple PPI'+"-"+ my_time+" E."+self.grado | |
133 | t = pl.title(title, fontsize=12,y=1.05) |
|
131 | t = pl.title(title, fontsize=12,y=1.05) | |
134 | cbar = pl.gcf().colorbar(pm, pad=0.075) |
|
132 | cbar = pl.gcf().colorbar(pm, pad=0.075) | |
135 | pl.text(1.0, 1.05, 'azimuth', transform=caax.transAxes, va='bottom',ha='right') |
|
133 | pl.text(1.0, 1.05, 'azimuth', transform=caax.transAxes, va='bottom',ha='right') | |
@@ -138,7 +136,7 class Readsophy(): | |||||
138 | else: |
|
136 | else: | |
139 | 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) |
|
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 | caax = cgax.parasites[0] |
|
138 | caax = cgax.parasites[0] | |
141 | title = 'Simple PPI'+"-"+my_time |
|
139 | title = 'Simple PPI'+"-"+my_time+" E."+self.grado | |
142 | t = pl.title(title, fontsize=12,y=1.05) |
|
140 | t = pl.title(title, fontsize=12,y=1.05) | |
143 | cbar = pl.gcf().colorbar(pm, pad=0.075) |
|
141 | cbar = pl.gcf().colorbar(pm, pad=0.075) | |
144 | pl.text(1.0, 1.05, 'azimuth', transform=caax.transAxes, va='bottom',ha='right') |
|
142 | pl.text(1.0, 1.05, 'azimuth', transform=caax.transAxes, va='bottom',ha='right') | |
@@ -164,7 +162,7 class Readsophy(): | |||||
164 | pl.show() |
|
162 | pl.show() | |
165 |
|
163 | |||
166 | PATH = "/home/soporte/Documents/EVENTO/HYO_PM@2022-06-09T15-05-12/paramC0N36.0/2022-06-09T18-00-00/" |
|
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 | #PATH = "/home/soporte/Documents/EVENTO/HYO_PM@2022-05-31T12-00-17/paramC0N36.0/2022-05-31T16-00-00/" |
|
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