cfdm functions


Version 1.13.4.0 for version 1.13 of the CF conventions.

Reading and writing

cfdm.read

Read field or domain constructs from a dataset.

cfdm.write

Write field and domain constructs to a dataset.

cfdm.netcdf_indexer

A data indexer that also applies netCDF masking and unpacking.

Conversion from and to xarray and iris

cfdm.from_xarray

Convert an xarray dataset to CF field or domain constructs.

cfdm.to_xarray

Convert CF field or domain constructs to an xarray dataset.

cfdm.from_iris

Convert iris cubes to CF field constructs.

cfdm.to_iris

Convert CF field constructs to iris cubes.

Mathematical operations

cfdm.atol

The numerical equality tolerance on absolute differences.

cfdm.rtol

The numerical equality tolerance on relative differences.

Resource management

cfdm.configuration

Views and sets constants in the project-wide configuration.

cfdm.chunksize

Set the default chunksize used by dask arrays.

cfdm.display_data

Control the display of data elements.

cfdm.persist_data

Control the persistence of computed data.

Miscellaneous

cfdm.CF

The version of the CF conventions.

cfdm.abspath

Return a normalised absolute version of a path.

cfdm.dirname

Return the directory of a path.

cfdm.environment

Return the names, versions and paths of all dependencies.

cfdm.example_field

Return an example field construct.

cfdm.example_fields

Return example field constructs.

cfdm.example_domain

Return an example domain construct.

cfdm.implementation

Return a container for the CF data model implementation.

cfdm.integer_dtype

Return the smallest data type that can store the given integer.

cfdm.log_level

The minimal level of seriousness of log messages which are shown.

cfdm.netcdf_flatten

Create a flattened version of a grouped CF dataset.

cfdm.unique_constructs

Return the unique constructs from a sequence.