spectrochempy.NDDataset.from_netcdf

classmethod NDDataset.from_netcdf(filename, **kwargs)[source]

Reconstruct an NDDataset from the xarray-backed NetCDF portable subset.

Same-dimension CoordSet auxiliary coordinates are restored automatically from the xarray coordinate attributes.

Parameters
  • filename (path-like or file-like) – Source NetCDF file.

  • **kwargs – Additional keyword arguments forwarded to xarray.open_dataset(). The default engine is scipy.

Returns

NDDataset – Reconstructed dataset.

Examples using spectrochempy.NDDataset.from_netcdf

Interoperability with xarray and NetCDF

Interoperability with xarray and NetCDF