xradar.model.get_range_dataarray#

xradar.model.get_range_dataarray(rng, nbins=None)[source]#

Create Range DataArray.

Parameters:
  • rng (float or numpy.ndarray) – range resolution or array with range values.

  • nbins (int) – number of bins, must be passed if rng is provided as resolution

Returns:

rng_da (xarray.DataArray) – Range DataArray.