Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
66 commits
Select commit Hold shift + click to select a range
8c65394
dev
davidhassell Jun 9, 2025
4862867
dev
davidhassell Jun 10, 2025
861b6aa
dev
davidhassell Jun 10, 2025
93ea1d0
dev
davidhassell Jun 11, 2025
9524af8
dev
davidhassell Jun 12, 2025
20e08da
dev
davidhassell Jun 13, 2025
3bfa054
dev
davidhassell Jun 16, 2025
b83bd91
dev
davidhassell Jun 17, 2025
e91d41d
dev
davidhassell Jun 18, 2025
b47db31
dev
davidhassell Jun 18, 2025
3324345
dev
davidhassell Jun 19, 2025
27950a6
dev
davidhassell Jun 30, 2025
45a715c
dev
davidhassell Jul 1, 2025
4a4863f
dev
davidhassell Jul 2, 2025
c672208
dev
davidhassell Jul 3, 2025
e4c5b2b
dev
davidhassell Jul 4, 2025
77265e4
dev
davidhassell Jul 4, 2025
10cb5d5
dev
davidhassell Jul 6, 2025
c3bf502
typo
davidhassell Jul 7, 2025
d594a8e
dev
davidhassell Jul 7, 2025
7130e54
dev
davidhassell Jul 8, 2025
7b52211
dev
davidhassell Jul 8, 2025
edaa78a
dev
davidhassell Jul 8, 2025
65b7a53
dev
davidhassell Jul 8, 2025
e7a6c0f
dev
davidhassell Jul 9, 2025
177e5d5
dev
davidhassell Jul 10, 2025
cf756e2
dev
davidhassell Jul 11, 2025
84492f9
dev
davidhassell Jul 18, 2025
c71936b
dev
davidhassell Jul 21, 2025
f3b7695
dev
davidhassell Jul 21, 2025
84d86f1
dev
davidhassell Jul 22, 2025
5b36f05
dev
davidhassell Jul 23, 2025
34a3a0f
dev
davidhassell Jul 23, 2025
cde98f0
dev
davidhassell Jul 24, 2025
0a2d5a4
dev
davidhassell Jul 29, 2025
27d19dc
dev
davidhassell Jul 30, 2025
66163fa
dev
davidhassell Jul 30, 2025
1d8be48
dev
davidhassell Jul 30, 2025
7498aec
dev
davidhassell Jul 31, 2025
1ef0e68
dev
davidhassell Jul 31, 2025
251eee4
dev
davidhassell Jul 31, 2025
838c5d3
dev
davidhassell Jul 31, 2025
5d4ffc7
dev
davidhassell Jul 31, 2025
fb4062c
dev
davidhassell Aug 1, 2025
38cb64d
dev
davidhassell Aug 1, 2025
415a055
dev
davidhassell Aug 4, 2025
b4caa8a
dev
davidhassell Aug 4, 2025
2ca65bd
dev
davidhassell Aug 5, 2025
63ca9ce
dev
davidhassell Aug 5, 2025
bb7ac5b
dev
davidhassell Aug 6, 2025
34652f4
dev
davidhassell Aug 7, 2025
da72ae5
dev
davidhassell Aug 7, 2025
c8bd171
dev
davidhassell Aug 8, 2025
d4feb64
dev
davidhassell Aug 11, 2025
aa0f70c
dev
davidhassell Aug 12, 2025
181141c
dev
davidhassell Aug 13, 2025
07bc6d7
dev
davidhassell Aug 21, 2025
bf76284
dev
davidhassell Aug 21, 2025
bb08431
dev
davidhassell Aug 21, 2025
d81a735
dev
davidhassell Aug 21, 2025
9b7dbf7
dev
davidhassell Aug 22, 2025
6d05ce4
Merge branch 'main' of github.com:NCAS-CMS/cf-python into healpix
davidhassell Sep 19, 2025
70fce97
dev
davidhassell Sep 19, 2025
0fb8292
dev
davidhassell Oct 20, 2025
28bc034
dev
davidhassell Nov 17, 2025
715ee82
dev
davidhassell Nov 27, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 21 additions & 5 deletions Changelog.rst
Original file line number Diff line number Diff line change
@@ -1,10 +1,26 @@
Version NEXTVERSION
-------------------

**2025-12-??**
--------------

**2025-??-??**

* Support for HEALPix grids
(https://github.com/NCAS-CMS/cf-python/issues/909)
* New HEALPix methods: `cf.Field.healpix_info`,
`cf.Field.healpix_decrease_refinement_level`,
`cf.Field.healpix_increase_refinement_level`,
`cf.Field.healpix_indexing_scheme`, `cf.Field.healpix_to_ugrid`,
`cf.Domain.create_healpix`
(https://github.com/NCAS-CMS/cf-python/issues/909)
* New method: `cf.Field.create_latlon_coordinates`
(https://github.com/NCAS-CMS/cf-python/issues/909)
* New method: `cf.Data.coarsen`
(https://github.com/NCAS-CMS/cf-python/issues/909)
* New function: `cf.locate`
(https://github.com/NCAS-CMS/cf-python/issues/909)
* Reduce the time taken to import `cf`
(https://github.com/NCAS-CMS/cf-python/issues/902)
* New optional dependency: ``healpix>=2025.1``
* Changed dependency: ``cfdm>=1.13.0.0, <1.13.1.0``

----

Expand Down Expand Up @@ -34,8 +50,8 @@ Version 3.18.1
* Allow multiple conditions for the same axis in `cf.Field.subspace`
and `cf.Field.indices`
(https://github.com/NCAS-CMS/cf-python/issues/881)
* Fix bug in `cf.Field.collapse` that causes a ``ValueError`` to be raised
for missing external cell measures data
* Fix bug in `cf.Field.collapse` that causes a ``ValueError`` to be
raised for missing external cell measures data
(https://github.com/NCAS-CMS/cf-python/issues/885)
* New dependency: ``distributed>=2025.5.1``
* Changed dependency: ``cfdm>=1.12.3.0, <1.12.4.0``
Expand Down
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ of its array manipulation and can:
* create new field constructs in memory,
* write and append field and domain constructs to netCDF datasets on disk,
* read, create, and manipulate UGRID mesh topologies,
* read, write, and manipulate HEALPix grids,
* read, write, and create coordinates defined by geometry cells,
* read netCDF and CDL datasets containing hierarchical groups,
* inspect field constructs,
Expand All @@ -105,11 +106,12 @@ of its array manipulation and can:
* manipulate field construct data by arithmetical and trigonometrical
operations,
* perform weighted statistical collapses on field constructs,
including those with geometry cells and UGRID mesh topologies,
including those with geometry cells, UGRID mesh topologies, and
HEALPix grids,
* perform histogram, percentile and binning operations on field
constructs,
* regrid structured grid, mesh and DSG field constructs with
(multi-)linear, nearest neighbour, first- and second-order
* regrid structured grid, UGRID, HEALPix, and DSG field constructs
with (multi-)linear, nearest neighbour, first- and second-order
conservative and higher order patch recovery methods, including 3-d
regridding, and large-grid support,
* apply convolution filters to field constructs,
Expand Down
2 changes: 1 addition & 1 deletion cf/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,6 @@
from .tiepointindex import TiePointIndex

from .bounds import Bounds
from .domain import Domain
from .datum import Datum
from .coordinateconversion import CoordinateConversion

Expand All @@ -138,6 +137,7 @@
from .cellconnectivity import CellConnectivity
from .cellmethod import CellMethod
from .cellmeasure import CellMeasure
from .domain import Domain
from .domainancillary import DomainAncillary
from .domainaxis import DomainAxis
from .domaintopology import DomainTopology
Expand Down
31 changes: 31 additions & 0 deletions cf/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -493,6 +493,37 @@
},
}

# --------------------------------------------------------------------
# CF cell methods
# --------------------------------------------------------------------
cell_methods = set(
(
"point",
"sum",
"maximum",
"maximum_absolute_value",
"median",
"mid_range",
"minimum",
"minimum_absolute_value",
"mean",
"mean_absolute_value",
"mean_of_upper_decile",
"mode",
"range",
"root_mean_square",
"standard_deviation",
"sum_of_squares",
"variance",
)
)


# --------------------------------------------------------------------
# CF HEALPix indexing schemes supported by cf
# --------------------------------------------------------------------
healpix_indexing_schemes = ("nested", "ring", "nuniq")


# --------------------------------------------------------------------
# Logging level setup
Expand Down
Loading
Loading