where
DataArray.
to_dict
Convert this xarray.DataArray into a dictionary following xarray naming conventions.
Useful for coverting to json.
See also
xarray.DataArray.from_dict