xarray.backends.NetCDF4BackendEntrypoint#
- class xarray.backends.NetCDF4BackendEntrypoint[source]#
Backend for netCDF files based on the netCDF4 package.
It can open “.nc”, “.nc4”, “.cdf” files and will be choosen as default for these files.
Additionally it can open valid HDF5 files, see https://h5netcdf.org/#invalid-netcdf-files for more info. It will not be detected as valid backend for such files, so make sure to specify
engine="netcdf4"
inopen_dataset
.For more information about the underlying library, visit: https://unidata.github.io/netcdf4-python
See also
backends.NetCDF4DataStore
,backends.H5netcdfBackendEntrypoint
,backends.ScipyBackendEntrypoint
- __init__()#
Methods
__init__
()guess_can_open
(filename_or_obj)Backend open_dataset method used by Xarray in
open_dataset()
.open_dataset
(filename_or_obj, *[, ...])Backend open_dataset method used by Xarray in
open_dataset()
.Attributes
open_dataset_parameters