xradar.model.get_azimuth_dataarray#

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

Create Azimuth DataArray.

Parameters:

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.

Returns:

azi_da (xarray.DataArray) – Azimuth DataArray.