radarx.vis.interactive.hvplot_rhi#
- radarx.vis.interactive.hvplot_rhi(da, backend=None, **kwargs)[source]#
Plot a range-height indicator (RHI) as ground range vs. height.
- Parameters:
da (
xarray.DataArray) – RHI sweep moment, typically onelevation/rangedimensions.backend (
{"bokeh", "matplotlib"}, optional) – HoloViews plotting backend.None(default) keeps the active one.**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– Ground range (km) on the x-axis against height (km) on the y-axis.
Notes
Fields with more than
RASTERIZE_THRESHOLD(50 000) gates are rasterized with datashader by default when it is installed, which keeps plots and saved HTML small; passrasterize=Falsefor full vector output.Examples
>>> dtree.radarx.plot.rhi("DBZH") # RHI-mode sweeps of a volume >>> hvplot_rhi(rhi_sweep["DBZH"], clim=(0, 60))