Published March 1, 2024 | Version 3.16.1
Software Open

cf-python

  • 1. UK National Centre for Atmospheric Science

Description

A CF-compliant Earth Science data analysis library

Technical info (English)

Changes in 3.16.1

2024-03-01

* Allow DSG trajectories with identical trajectory_id values to be aggregated (https://github.com/NCAS-CMS/cf-python/issues/723)
* New methods: cf.Field.pad_missing and cf.Data.pad_missing (https://github.com/NCAS-CMS/cf-python/issues/717)
* Fix occasional bug when calculating UGRID cell areas when non-spatial coordinates span the discrete axis (https://github.com/NCAS-CMS/cf-python/issues/721)
* New keyword parameter to cf.Field.insert_dimension: constructs (https://github.com/NCAS-CMS/cf-python/issues/719)
* Added the cell_measures and coordinates keyword arguments to cf.Field.weights (https://github.com/NCAS-CMS/cf-python/issues/709)
* Added the cell_measures, coordinates, return_cell_measure, and methods keyword arguments to cf.Field.cell_area (https://github.com/NCAS-CMS/cf-python/issues/709)
* Allow cf.Data to be initialised with xarray.DataAarray (https://github.com/NCAS-CMS/cf-python/issues/706)
* Fix bug that caused cf.Field.del_file_location to fail when updating its metadata constructs (https://github.com/NCAS-CMS/cf-python/issues/707)
* Fix bug that caused incorrect data arrays in some cyclic subspaces created by cf.Field.subspace and cf.Field.__getitem__ (https://github.com/NCAS-CMS/cf-python/issues/713)
* Changed dependency: 1.11.1.0<=cfdm<1.11.2.0

Files

Files (1.6 MB)

Name Size Download all
md5:a57cde083ced3d9cb35dfe022ce7385c
1.6 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
2024-03-01

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