xradar is in an early stage of development, please report any issues here!


xradar.model.get_azimuth_dataarray(azimuth, nrays=None, a1gate=0)[source]#

Create Azimuth DataArray.


azimuth (float or numpy.ndarray) – Azimuth resolution, fixed azimuth value or array with azimuth values.

Keyword Arguments:
  • nrays (int) – number of rays If int -> set all rays to same azimuth value. If None, given azimuth value is used as resolution.

  • a1gate (int) – First measured ray. Defaults to 0.


azi_da (xarray.DataArray) – Azimuth DataArray.