wradlib.georef.xarray.as_xarray_dataarray

wradlib.georef.xarray.as_xarray_dataarray(data, dims, coords)

Create Xarray DataArray from NumPy Array

New in version 1.3.

Parameters
  • data (numpy.ndarray) – data array

  • dims (dictionary) – dictionary describing xarray dimensions

  • coords (dictionary) – dictionary describing xarray coordinates

Returns

dataset (xr.DataArray) – DataArray