🍾 Xarray is now 10 years old! 🎉

xarray.backends.NetCDF4BackendEntrypoint

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 chosen 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" in open_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().

open_datatree(filename_or_obj, **kwargs)

Backend open_datatree method used by Xarray in open_datatree().

Attributes

description

open_dataset_parameters

url