Published January 19, 2026 | Version 3.19.0

cf-python

  • 1. UK National Centre for Atmospheric Science

Description

A CF-compliant Earth Science data analysis library

Technical info (English)

Changes in 3.19.0

2026-01-19

* Write Zarr v3 datasets with cf.write (https://github.com/NCAS-CMS/cf-python/issues/895)
* Read Zarr v2 and v3 datasets that contain a group hierarchy with cf.read (https://github.com/NCAS-CMS/cf-python/issues/894)
* Reduce the time taken to import cf (https://github.com/NCAS-CMS/cf-python/issues/902)
* New function to control the creation of cached elements during data display: cf.display_data (https://github.com/NCAS-CMS/cf-python/issues/913)
* New methods: cf.Data.get_cached_elements, cf.Data.cache_elements (https://github.com/NCAS-CMS/cf-python/issues/913)
* Set cached elements during cf.Data.__init__ (https://github.com/NCAS-CMS/cf-python/issues/913)
* Removed the cf.constants.CONSTANTS dictionary, replacing it with cf.ConstantAccess.constants (https://github.com/NCAS-CMS/cf-python/issues/902)
* Reduce the time taken to import cf (https://github.com/NCAS-CMS/cf-python/issues/902)
* New optional dependency: zarr>=3.1.3
* Changed dependency: cfdm>=1.13.0.0, <1.13.1.0

Files

Files (5.3 MB)

Name Size Download all
md5:f33889325a0b418cd1afbf401fe1b414
5.3 MB Download

Additional details

Related works

Is supplemented by
Software: 10.5281/zenodo.3894524 (DOI)

Funding

European Commission
SEACHANGE - Sea-level change due to climate change 247220
European Commission
IS-ENES2 - Infrastructure for the European Network for Earth System modelling - Phase 2 312979

Dates

Issued
2026-01-19

Software

Repository URL
https://github.com/NCAS-CMS/cf-python
Programming language
Python
Development Status
Active

References

  • Hassell, D., Gregory, J., Blower, J., Lawrence, B. N., and Taylor, K. E.: A data model of the Climate and Forecast metadata conventions (CF-1.6) with a software implementation (cf-python v2.1), Geosci. Model Dev., 10, 4619–4646, https://doi.org/10.5194/gmd-10-4619-2017, 2017.
  • Hassell et al., (2020). cfdm: A Python reference implementation of the CF data model. Journal of Open Source Software, 5(54), 2717, https://doi.org/10.21105/joss.02717