Skip to content
Snippets Groups Projects
Commit 15e838b3 authored by Felix Kleinert's avatar Felix Kleinert
Browse files

add maplots in __main__

parent 721f04c6
Branches
Tags
1 merge request!259Draft: Resolve "WRF-Datahandler should inherit from SingleStationDatahandler"
......@@ -1174,6 +1174,16 @@ if __name__ == '__main__':
# cbar_kwargs={'orientation': 'horizontal'},
**kwargs,
)
plot_map_proj(data, xlim=xlim,
ylim=ylim,
# point=[lat_np, lon_np],
# point=[wrf_new.get_nearest_coords()['lat'][0], wrf_new.get_nearest_coords()['lon'][0]],
point=point,
filename=f'Example_sector{i}.png',
radius=radius_from_point,
# cbar_kwargs={'orientation': 'horizontal'},
**kwargs,
)
for i, (data, xlim, ylim) in enumerate(
((wrf_new._data.o3.isel({'XTIME': 0, 'bottom_top': 0}), [-42, 66], [23, 80]),
......@@ -1217,4 +1227,5 @@ if __name__ == '__main__':
ylim=ylim,
point=[lat_np, lon_np], filename=f'test_dist{i}.pdf')
print()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment