Skip to content

3.21.0

Latest

Choose a tag to compare

@sadielbartholomew sadielbartholomew released this 28 Aug 18:15
· 49 commits to main since this release

Version 3.21.0

2026-08-28

  • New keywords to cf.read: backend, backend_options, cfa_filesystem, cfa_backend, cfa_backend_options (#961)
  • Deprecated keyword to cfdm.read: netcdf_backend (#961)
  • Dataset reads are now entirely managed by xnetcdf and its backend libraries (via cfdm.read) (#961)
  • Read with cf.read anything that can be read by xarray (#961)
  • Convert xarray.Dataset and xarray.DataTree to cf.Field via cf.read (#961)
  • Convert pyfive.File, zarr.Group, h5py.File, umfile.File, and xnetcdf.Dataset to cf.Field via cf.read (#961)
  • Extend cf.Field.create_latlon_coordinates to allow the creation of 2-d latitudes/longitudes from plane projection and rotated pole coordinates (#962)
  • Automatically create consolidated HDF5 metadata with cf.write. New keywords to cf.write: hdf5_consolidated_metadata and hdf5_expansion_factor (NCAS-CMS/cfdm#413)
  • In cf.write, set sensible dataset chunksizes by default for 1-d data, controlled by the new one_d_chunks keyword (NCAS-CMS/cfdm#414)
  • New methods to convert to xarray: cf.Field.to_xarray, cf.FieldList.to_xarray, cf.Domain.to_xarray, and cf.DomainList.to_xarray (#933)
  • New output format for cf.write that creates an xarray dataset in memory: 'XARRAY' (#933)
  • Introduce use of cache files stored as ~/.cf/standard_names*.pickle to improve performance of CF compliance checking (NCAS-CMS/cfdm#411)
  • New optional dependency: umfive>=0.3.0
  • New optional dependency: xarray>=2026.7.0
  • Changed dependency: cfdm>=1.13.3.0, <1.13.4.0

What's Changed

Full Changelog: v3.20.1...v3.21.0