spectrochempy.NDDataset.from_netcdf๏
- classmethod NDDataset.from_netcdf(filename, **kwargs)[source]
Reconstruct an
NDDatasetfrom the xarray-backed NetCDF prototype.Same-dimension
CoordSetauxiliary 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 isscipy.
- Returns:
NDDataset โ Reconstructed dataset.