Cf-python

Latest version: v3.16.1

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

Scan your dependencies

Page 1 of 19

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``

3.16.0

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

**2023-12-06**

* Implemented the reading and manipulation of UGRID mesh topologies
(https://github.com/NCAS-CMS/cf-python/issues/696)
* New methods: `cf.Field.cell_connectivity`,
`cf.Field.cell_connectivities`
(https://github.com/NCAS-CMS/cf-python/issues/696)
* New methods: `cf.Field.domain_topology`,
`cf.Field.domain_topologies`
(https://github.com/NCAS-CMS/cf-python/issues/696)
* New method: `cf.Data.masked_values`
(https://github.com/NCAS-CMS/cf-python/issues/696)
* New method: `cf.Data.arctan2`
(https://github.com/NCAS-CMS/cf-python/issues/38)
* Fix bug that caused `cf.Field.collapse` to give incorrect results
for the "sum", "sum_of_weights" and "sum_of_weights2" methods, only
in the case that weights have been requested
(https://github.com/NCAS-CMS/cf-python/issues/701)
* Changed dependency: ``1.11.0.0<=cfdm<1.11.1.0``
* New dependency: ``scipy>=1.10.0``

3.15.4

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

**2023-10-10**

* Record dimension coordinate cell characteristics
(https://github.com/NCAS-CMS/cf-python/issues/692)
* New set of methods to query, set, del, and `get_cell_characteristics`
* Fix bug in `cf.Field.match_by_construct` that always returned True for
1-d constructs whose axis is not in the data, even when the
criterion was not matched
(https://github.com/NCAS-CMS/cf-python/issues/691)
* Fix bug that prevented "https://" netCDF files from being read
(https://github.com/NCAS-CMS/cf-python/issues/699)

----

3.15.3

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

**2023-08-31**

* Prevent unlimited dimensions from being written to CFA-netCDF files
(https://github.com/NCAS-CMS/cf-python/issues/689)

3.15.2

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

**2023-07-21**

* Performance improvements to `cf.Field.regrids` and
`cf.Field.regridc`
(https://github.com/NCAS-CMS/cf-python/issues/675)
* Performance improvements to `cf.read` when reading datasets with
compression-by-convention
(https://github.com/NCAS-CMS/cf-python/pull/671)
* New keyword parameter to `cf.Field.regrids` and `cf.Field.regridc`:
``weights_file`` (https://github.com/NCAS-CMS/cf-python/issues/675)
* New keyword parameter to `cf.aggregate`: ``cells``
(https://github.com/NCAS-CMS/cf-python/issues/452)
* New function: `cf.isclose`
(https://github.com/NCAS-CMS/cf-python/issues/661)
* Allow `cf.Data` and other objects that have data (such as
`cf.DimensionCoordinate`) to be used as indices
(https://github.com/NCAS-CMS/cf-python/issues/677)
* Fix bug that caused `cf.Field.regrids` and `cf.Field.regridc` to
fail when the regrid axes are chunked with more than one chunk
(https://github.com/NCAS-CMS/cf-python/issues/665)
* Fix bug that caused `cf.read` to fail for some PP data with a single
vertical level (https://github.com/NCAS-CMS/cf-python/issues/667)
* Changed dependency: ``1.10.1.1<=cfdm<1.10.2.0``

----

3.15.1

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

**2023-06-09**

* New documentation cheat sheet
(https://github.com/NCAS-CMS/cf-python/issues/591)
* Performance improvements to `cf.aggregate`
(https://github.com/NCAS-CMS/cf-python/issues/640)
* New methods: `cf.Data.argmin`, `cf.Field.argmin`
(https://github.com/NCAS-CMS/cf-python/issues/577)
* Deprecate `cf.relative_vorticity` in favour of `cf.curl_xy`
(https://github.com/NCAS-CMS/cf-python/pull/643)
* Fix bug when using the ``-d`` option to the `cfa` script
(https://github.com/NCAS-CMS/cf-python/issues/649)
* Fix the return type from `cf.example_fields`
(https://github.com/NCAS-CMS/cf-python/pull/654)
* Fix `set_data` when the units are invalid
(https://github.com/NCAS-CMS/cf-python/pull/646)
* Fix `cf.Field.laplacian_xy`, `cf.Field.grad_xy`, `cf.curl_xy` and
`cf.div_xy` to work in cases when the dimension coordinates are
missing standard names
(https://github.com/NCAS-CMS/cf-python/pull/643)
* Changed dependency: ``cfunits>=3.3.6``
* Changed dependency: ``cftime>=1.6.2``

----

Page 1 of 19

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.