radarx.vis.interactive.hvplot_mesh#

radarx.vis.interactive.hvplot_mesh(da, backend=None, line_color='black', line_width=0.2, **kwargs)[source]#

Plot a PPI with the outline of every radar gate drawn.

Useful to inspect the beam geometry and gate resolution. Best used on a subset of the sweep, as drawing every gate edge is slow.

Parameters:
  • da (xarray.DataArray) – Sweep moment; see hvplot_ppi().

  • backend ({"bokeh", "matplotlib"}, optional) – HoloViews plotting backend. None (default) keeps the active one.

  • line_color (str, optional) – Colour of the gate outlines. Default is "black".

  • line_width (float, optional) – Width of the gate outlines. Default is 0.2.

  • **kwargs (dict, optional) – Additional keyword arguments passed to hvplot (e.g. clim, cmap, frame_width, rasterize). By default the colour range uses the 2nd-98th percentiles (robust=True) and is not forced symmetric.

Returns:

holoviews.QuadMesh – Plan view with gate outlines.

Examples

>>> subset = da.isel(azimuth=slice(0, 40), range=slice(0, 80))
>>> hvplot_mesh(subset, line_color="white")