hdobs.plot_maps¶
- hdobs.plot_maps(time=None, varname='wspd', recon_stats=None, domain='dynamic', window=6, align='center', radlim=None, ax=None, cartopy_proj=None, save_dir=None, **kwargs)[source]¶
Creates maps of interpolated recon data.
- Parameters
time (datetime.datetime or list) – Single datetime object, or list/tuple of datetime objects containing the start and end times to plot between. If None (default), all times will be plotted.
varname (str or tuple) –
Variable to plot. Can be one of the following keys in dataframe:
”sfmr” = SFMR surface wind
”wspd” = 30-second flight level wind (default)
”pkwnd” = 10-second flight level wind
”p_sfc” = extrapolated surface pressure
domain (str) – Domain for the plot. Default is “dynamic”. Please refer to Map Domain Options for available domain options.
radlim (int, optional) – Radius from storm center, in kilometers, to plot. Default is 200 km.
window (int, optional) – Window of hours to interpolate between observations. Default is 6 hours.
align (str, optional) – Alignment of window. Default is ‘center’.
ax (axes, optional) – Instance of axes to plot on. If none, one will be generated. Default is none.
cartopy_proj (ccrs, optional) – Instance of a cartopy projection to use. If none, one will be generated. Default is none.
save_dir (str, optional) – Directory to save output images in. If None, images will not be saved. Default is None.
- Other Parameters
prop (dict) – Customization properties of recon plot. Please refer to plot_swath and plot_map for available options.
map_prop (dict) – Customization properties of Cartopy map. Please refer to Map prop for available options.
track_dict (dict, optional) – Storm track dictionary. If None (default), internal storm center track is used.