Skip to content

Commit 506d3f0

Browse files
v0.14.0 (SciTools#630)
1 parent 053cbcd commit 506d3f0

File tree

4 files changed

+25
-11
lines changed

4 files changed

+25
-11
lines changed

CHANGELOG.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,15 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/)
66
and this project adheres to [Semantic Versioning](https://semver.org/).
77

88

9-
## [Unreleased]
9+
## [0.14.0] - 2026-02-11
1010

1111
### Added
1212

13+
- [PR#614](https://github.com/SciTools/iris-esmf-regrid/pull/614)
14+
Added the experimental ``Partition`` class for dividing up the
15+
regridding of especially large grids.
16+
[@stephenworsley](https://github.com/stephenworsley)
17+
1318
- [PR#622](https://github.com/SciTools/iris-esmf-regrid/pull/622)
1419
Add support for Python 3.14.
1520
[@trexfeathers](https://github.com/trexfeathers)

docs/src/userguide/examples.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,9 @@ certain regridders. We can do this as follows::
5757
Partitioning a Regridder
5858
------------------------
5959

60+
.. caution:: The `Partition` class is experimental and there is no guarantee that the
61+
file structure will remain consistent and compatible in later versions.
62+
6063
If a regridder would be too large to handle in memory, it can be broken down
6164
into smaller regridders which can collectively do the job of the larger regridder.
6265
This is done using a `Partition` object.

src/esmf_regrid/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@
2626
from .constants import Constants, check_method, check_norm
2727
from .schemes import *
2828

29-
__version__ = "0.14.dev0"
29+
__version__ = "0.14.0"

src/esmf_regrid/experimental/partition.py

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -95,15 +95,6 @@ def __init__(
9595
):
9696
"""Class for breaking down regridding into manageable chunks.
9797
98-
Note
99-
----
100-
The source is partitioned into blocks using one of the four mutually exclusive arguments,
101-
`use_dask_src_chunks`, `src_chunks`, `num_src_chunks`, or `explicit_src_blocks`. These
102-
describe a partition into a number of blocks which must equal the number of `file_names`.
103-
104-
Currently, it is only possible to divide the source grid into chunks.
105-
Meshes are not yet supported as a source.
106-
10798
Parameters
10899
----------
109100
src : cube
@@ -136,6 +127,21 @@ def __init__(
136127
When true, start generating files on initialisation.
137128
saved_files : iterable of str
138129
A list of paths to previously saved files.
130+
131+
Warnings
132+
--------
133+
This class is still experimental. While we aim to maintain backwards compatibility where
134+
possible, there is no guarantee that the structure of any generated files will remain
135+
consistent and compatible with future versions.
136+
137+
Note
138+
----
139+
The source is partitioned into blocks using one of the four mutually exclusive arguments,
140+
`use_dask_src_chunks`, `src_chunks`, `num_src_chunks`, or `explicit_src_blocks`. These
141+
describe a partition into a number of blocks which must equal the number of `file_names`.
142+
143+
Currently, it is only possible to divide the source grid into chunks.
144+
Meshes are not yet supported as a source.
139145
"""
140146
if scheme._method == Constants.Method.NEAREST:
141147
msg = "The `Nearest` method is not implemented."

0 commit comments

Comments
 (0)