to_xarray

pyarts.arts_ext.GriddedFieldExtras.to_xarray(g)[source]

Convert gridded field to xarray.DataArray object.

Convert a gridded field object into a xarray.DataArray object. The dataname is used as the DataArray name.

Returns:

da – Object corresponding to gridded field

Return type:

xarray.DataArray