nctoolkit.from_xarray

Contents

nctoolkit.from_xarray#

nctoolkit.from_xarray(ds)#

Convert an xarray dataset to an nctoolkit dataset This will first save the xarray dataset as a temporary netCDF file.

Parameters:

ds (xarray dataset) – xarray dataset you want to convert to nctoolkit DataSet.

Returns:

from_xarray

Return type:

nctoolkit.DataSet