wradlib.georef.xarray.as_xarray_dataarray#
- wradlib.georef.xarray.as_xarray_dataarray(data, dims, coords)[source]#
Create Xarray DataArray from NumPy Array
Added in version 1.3.
- Parameters:
data (
numpy.ndarray
) – data arraydims (
dict
) – dictionary describing xarray dimensionscoords (
dict
) – dictionary describing xarray coordinates
- Returns:
dataset (
xarray.DataArray
) – DataArray