uxarray.UxDataset.to_xarray

uxarray.UxDataset.to_xarray#

UxDataset.to_xarray(grid_format='UGRID')#

Converts a ux.UXDataset to a xr.Dataset.

Parameters:

grid_format (str, default="UGRID") – The format in which to convert the grid. Supported values are “UGRID” and “HEALPix”. The dimensions will match the selected grid format.

Returns:

The ux.UXDataset represented as a xr.Dataset

Return type:

xr.Dataset