xradar.model.get_sweep_dataarray#
- xradar.model.get_sweep_dataarray(data, moment, fill=None)[source]#
Create Sweep Moment DataArray.
- Parameters:
data (
tuple
ornumpy.ndarray
) – tuple with shape of DataArray or 2d-array.moment (
str
) – String describing radar moment.
- Keyword Arguments:
fill (
float
) – Fill Value for new created array. Only used if data is tuple.- Returns:
swp_da (
xarray.DataArray
) – Sweep Moment DataArray.