Skip to content

Commit f749c14

Browse files
authored
Merge branch 'main' into density
2 parents 8e5487f + 279bbc8 commit f749c14

File tree

138 files changed

+5775
-17240
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

138 files changed

+5775
-17240
lines changed

Changelog.rst

Lines changed: 62 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,57 @@
1-
version NEXTVERSION
2-
-------------------
1+
version 3.17.0
2+
--------------
33

4-
**2024-??-??**
4+
**2025-??-??**
55

6+
* Set a new minimum version of `numpy`: ``2.0.0``
7+
(https://github.com/NCAS-CMS/cf-python/issues/843)
8+
* Replace dataset aggregation functionality (CFA) with that imported
9+
from `cfdm` (https://github.com/NCAS-CMS/cf-python/issues/841)
10+
* New keyword parameter to `cf.Field.compute_vertical_coordinates`:
11+
``key`` (https://github.com/NCAS-CMS/cf-python/issues/802)
612
* New keyword parameter to `cf.histogram`: ``density``
713
(https://github.com/NCAS-CMS/cf-python/issues/794)
14+
* Changed dependency: ``Python>=3.9.0``
15+
* Changed dependency: ``numpy>=2.0.0``
16+
* Changed dependency: ``cfdm>=1.12.0.0, <1.12.1.0``
17+
* Changed optional dependency: ``esmpy>=8.7.0``
18+
* Removed dependency (now incorporated into ``cfdm``): ``h5py``
19+
* Removed dependency (now incorporated into ``cfdm``): ``h5netcdf``
20+
* Removed dependency (now incorporated into ``cfdm``): ``s3fs``
21+
22+
----
23+
24+
version 3.16.3
25+
--------------
26+
27+
**2025-01-28**
28+
29+
* Allow ``'nearest_dtos'`` 2-d regridding to work with discrete
30+
sampling geometry source grids
31+
(https://github.com/NCAS-CMS/cf-python/issues/832)
32+
* New method: `cf.Field.filled`
33+
(https://github.com/NCAS-CMS/cf-python/issues/811)
834
* New method: `cf.Field.is_discrete_axis`
935
(https://github.com/NCAS-CMS/cf-python/issues/784)
1036
* Include the UM version as a field property when reading UM files
1137
(https://github.com/NCAS-CMS/cf-python/issues/777)
38+
* Fix bug that caused climatological time collapses within/over days
39+
to fail (https://github.com/NCAS-CMS/cf-python/issues/809)
40+
* New keyword parameter to `cf.Field.derivative`:
41+
``ignore_coordinate_units``
42+
(https://github.com/NCAS-CMS/cf-python/issues/807)
43+
* Allow access to netCDF-4 files in S3 object stores
44+
(https://github.com/NCAS-CMS/cf-python/issues/712)
45+
* New class `cf.H5netcdfArray`
46+
* New class `cf.NetCDF4Array`
47+
* New class `cf.CFAH5netcdfArray`
48+
* New class `cf.CFANetCDF4Array`
49+
* Replace core `dask` functionality with that imported from `cfdm`
50+
(https://github.com/NCAS-CMS/cf-python/issues/839)
51+
* Fix bug that sometimes puts an incorrect ``radian-1`` or
52+
``radian-2`` in the returned units of the differential operator
53+
methods and functions
54+
(https://github.com/NCAS-CMS/cf-python/issues/807)
1255
* Fix bug where `cf.example_fields` returned a `list` of Fields rather
1356
than a `Fieldlist`
1457
(https://github.com/NCAS-CMS/cf-python/issues/725)
@@ -18,6 +61,16 @@ version NEXTVERSION
1861
* Fix bug where `cf.normalize_slice` doesn't correctly
1962
handle certain cyclic slices
2063
(https://github.com/NCAS-CMS/cf-python/issues/774)
64+
* Fix bug where `cf.Field.subspace` doesn't always correctly handle
65+
global or near-global cyclic subspaces
66+
(https://github.com/NCAS-CMS/cf-python/issues/828)
67+
* New dependency: ``h5netcdf>=1.3.0``
68+
* New dependency: ``h5py>=3.10.0``
69+
* New dependency: ``s3fs>=2024.6.0``
70+
* Changed dependency: ``numpy>=1.15,<2.0``
71+
* Changed dependency: ``1.11.2.0<=cfdm<1.11.3.0``
72+
* Changed dependency: ``cfunits>=3.3.7``
73+
* Changed dependency: ``dask>=2024.6.0,<=2024.7.1``
2174

2275
----
2376

@@ -132,6 +185,8 @@ version 3.16.0
132185
* Changed dependency: ``1.11.0.0<=cfdm<1.11.1.0``
133186
* New dependency: ``scipy>=1.10.0``
134187

188+
----
189+
135190
version 3.15.4
136191
--------------
137192

@@ -240,8 +295,8 @@ version 3.15.0
240295
* Handled the renaming of the ESMF Python interface from `ESMF` to
241296
`esmpy` at version 8.4.0. Both module names are accepted for now.
242297
* Changed dependency: ``1.10.1.0<=cfdm<1.10.2.0``
243-
* Changed (optional) dependency: ``8.0.0<=esmpy``
244-
* Changed (optional) dependency: ``1.10.0<=scipy``
298+
* Changed optional dependency: ``8.0.0<=esmpy``
299+
* Changed optional dependency: ``1.10.0<=scipy``
245300

246301
----
247302

@@ -270,7 +325,7 @@ version 3.14.1
270325

271326
----
272327

273-
version 3.14.0 (*first Dask release*)
328+
version 3.14.0 (*first Dask version*)
274329
-------------------------------------
275330

276331
**2023-01-31**
@@ -305,7 +360,7 @@ version 3.14.0 (*first Dask release*)
305360

306361
----
307362

308-
version 3.13.1 (*last LAMA release*)
363+
version 3.13.1 (*last LAMA version*)
309364
------------------------------------
310365

311366
**2022-10-17**

DOCUMENTATION.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
* The generation of recipes using Sphinx-Gallery requires:
1+
* The generation of recipes using Sphinx-Gallery requires `Python<3.12.0` and:
22

33
```txt
44
pip install sphinx-gallery==0.11.0
@@ -10,6 +10,7 @@
1010
pip install sphinxcontrib-devhelp==1.0.2
1111
pip install sphinxcontrib-serializinghtml==1.1.3
1212
pip install sphinxcontrib-qthelp==1.0.3
13+
pip install sphinxcontrib.applehelp==1.0.4
1314
pip install alabaster==0.7.13
1415
pip install sphinx==2.4.5
1516
```

README.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,8 @@ The `cf` package uses
8484
[Dask](https://ncas-cms.github.io/cf-python/performance.html) for all
8585
of its array manipulation and can:
8686

87-
* read field constructs from netCDF, CDL, PP and UM datasets,
87+
* read field constructs from netCDF, CDL, PP and UM datasets with a
88+
choice of netCDF backends,and in local, http, and s3 locations,
8889
* create new field constructs in memory,
8990
* write and append field and domain constructs to netCDF datasets on disk,
9091
* read, create, and manipulate UGRID mesh topologies,
@@ -119,16 +120,17 @@ of its array manipulation and can:
119120
Visualization
120121
=============
121122

122-
Powerful, flexible, and very simple to produce visualizations of field
123-
constructs are available with the [cfplot
124-
package](http://ajheaps.github.io/cf-plot), that needs to be installed
125-
seprately to the `cf` package.
123+
Powerful and flexible visualizations of `cf` field constructs,
124+
designed to be produced and configured in as few lines of code as
125+
possible, are available with the [cf-plot
126+
package](https://ncas-cms.github.io/cf-plot/build/index.html), which
127+
needs to be installed separately to the `cf` package.
126128

127129
See the [cf-plot
128-
gallery](http://ajheaps.github.io/cf-plot/gallery.html) for the full
130+
gallery](https://ncas-cms.github.io/cf-plot/build/gallery.html) for a
129131
range of plotting possibilities with example code.
130132

131-
![Example output of cf-plot displaying a `cf` field construct](docs/source/images/cfplot_example.png)
133+
![Example outputs of cf-plot displaying selected aspects of `cf` field constructs](https://raw.githubusercontent.com/NCAS-CMS/cf-plot/master/docs/source/images/cf_gallery_image.png)
132134

133135
Command line utilities
134136
======================

0 commit comments

Comments
 (0)