hdobs.plot_swath

hdobs.plot_swath(time=None, varname='wspd', filter_outer_obs=True, missing_window=24, domain='dynamic', ax=None, cartopy_proj=None, **kwargs)[source]

Creates a map plot of a swath of interpolated recon data.

Parameters
  • time (list or tuple, optional) – List or tuple of datetime objects containing the start and end times to create the swath between. If None (default), all times will be computed for the swath.

  • 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

  • filter_outer_obs (bool, optional) – If True, filters outer observations to avoid interpolating radii with only a single data point. Default is True.

  • missing_window (int, optional) – Minimum window of hours to remove if data is missing. Default is 24 hours.

  • domain (str) – Domain for the plot. Default is “dynamic”. Please refer to Map Domain Options for available domain options.

  • 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 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.

  • swathfunc (function) – Function to operate on interpolated recon data (e.g., np.max, np.min, or percentile function). Default is np.min for pressure, otherwise np.max.