Cf-python

Latest version: v3.16.3

Safety actively analyzes 714792 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 6 of 19

3.0.2

-------------

**2019-10-31**

* Now reads CDL files (https://github.com/NCAS-CMS/cf-python/issues/1)
* New methods: `cf.Field.cumsum`, `cf.Field.digitize`, `cf.Field.bin`,
`cf.Field.swapaxes`, `cf.Field.flatten`, `cf.Field.radius`.
* New function: `cf.histogram`.
* New field construct collapse methods: ``integral``,
``mean_absolute_value``, ``maximum_absolute_value``,
``minimum_absolute_value``, ``sum_of_squares``,
``root_mean_square``.
* New keyword parameters to `cf.Field.collapse` and
`cf.Field.weights`: ``measure``, ``scale``, ``radius``
* New methods: `cf.Data.cumsum`, `cf.Data.digitize`,
`cf.Data.masked_all`, `cf.Data.mean_absolute_value`,
`cf.Data.maximum_absolute_value`, `cf.Data.minimum_absolute_value`,
`cf.Data.sum_of_squares`, `cf.Data.root_mean_square`,
`cf.Data.flatten`.
* Renamed `cf.default_fillvals` to `cf.default_netCDF_fillvals`.
* Changed dependency: ``cfdm>=1.7.8``. This fixes a bug that sometimes
occurs when writing to disk and the _FillValue and data have
different data types.
* Changed dependency: ``cfunits>=3.2.2``
* Changed dependency: ``cftime>=1.0.4.2``
* Fixed occasional failure to delete all temporary directories at
exit.
* Fixed bug in `cf.Data.func` when overriding units. Affects all
methods that call `cf.Data.func`, such as `cf.Data.tan` and
`cf.Field.tan`.
* Fixed "relaxed units" behaviour in `cf.aggregate` and field
construct arithmetic.
* Fixed bug that led to incorrect persistent entries in output of
`cf.Field.properties`.
* Fixed bug in `cf.Data.squeeze` that sometimes created
inconsistencies with the cyclic dimensions.
* Fixed bug in `cf.Field.mask` that assigned incorrect units to the
result.

----

3.0.1

-------------

**2019-10-01**

* Updated description in ``setup.py``

----

version 3.0.0 (*first Python 3 release*)
----------------------------------------

**2019-10-01**

* Complete refactor for Python 3, including some API changes.

Scripts written for version 2.x but running under version 3.x should
either work as expected, or provide informative error messages on
the new API usage. However, it is advised that the outputs of older
scripts be checked when running with Python 3 versions of the cf
library.
* Deprecated ``cfdump`` (its functionality is now included in
``cfa``).

----

version 2.3.8 (*last Python 2 release*)
---------------------------------------

**2019-10-07**

* In `cf.write`, can set ``single=False`` to mean ``double=True``, and
vice versa.
* Fixed bug in `cf.aggregate` - removed overly strict test on
dimension coordinate bounds.
* Fixed bug in `cf.read` that set the climatology attribute to True
when there are no bounds.
* Fixed bug in `cf.write` when writing missing values (set_fill was
off, now on)

----

2.3.5

-------------

**2019-04-04**

* Changed calculation of chunksize in parallel case to avoid potential
problems and introduced a new method `cf.SET_PERFORMANCE` to tune
the chunksize and the fraction of memory to keep free.

----

2.3.4

-------------

**2019-03-27**

* Fix bug in creating a during cell method during a field collapse.

----

2.3.3

-------------

**2019-03-05**

* Allow failure to compile to go through with a warning, rather than
failing to install. if this happens, reading a PP/UM file will
result in "Exception: Can't determine format of file test2.pp"
* Fixed bug in `cf.Field.convolution_filter` giving false error over
units.

----

2.3.2

-------------

**2018-12-10**

* `cf.Field.regridc` now compares the units of the source and
destination grids and converts between them if possible or raises an
error if they are not equivalent.

----

Page 6 of 19

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.