hdobs.plot_points¶
- hdobs.plot_points(varname='wspd', domain='dynamic', radlim=None, barbs=False, min_pressure=100, max_pressure=1030, ax=None, cartopy_proj=None, **kwargs)[source]¶
Creates a plot of recon data points.
- Parameters
varname (str) –
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) – Radius (in km) away from storm center to include points. If none (default), all points are plotted.
barbs (bool) – If True, plots wind barbs. If False (default), plots dots.
min_pressure (int) – Minimum pressure level in hPa to filter data. Default is 100 hPa.
max_pressure (int) – Maximum pressure level in hPa to filter data. Default is 1030 hPa.
ax (axes) – Instance of axes to plot on. If none, one will be generated. Default is none.
cartopy_proj (ccrs) – Instance of a cartopy projection to use. If none, one will be generated. Default is none.
- Other Parameters
prop (dict) – Customization properties of recon plot. Please refer to Recon Properties for available options.
map_prop (dict) – Customization properties of Cartopy map. Please refer to Map prop for available options.
- Returns
ax – Instance of axes containing the plot is returned.
Notes
Plotting wind barbs only works for wind related variables.
barbs
will be automatically set to False for non-wind variables.The special colormap category_recon can be used in the prop dict (
prop={'cmap':'category_recon'}
). This uses the standard SSHWS colormap, but with a new color for wind between 50 and 64 knots.