Skip to content

Commit 795a779

Browse files
sloosvelbouweandela
andcommitted
Update release version for v2.12.0 (#2678)
Co-authored-by: Bouwe Andela <[email protected]>
1 parent 5a1c5e3 commit 795a779

File tree

2 files changed

+57
-6
lines changed

2 files changed

+57
-6
lines changed

CITATION.cff

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -225,11 +225,11 @@ authors:
225225
orcid: "https://orcid.org/0009-0004-2333-3358"
226226

227227
cff-version: 1.2.0
228-
date-released: 2025-02-21
228+
date-released: 2025-02-27
229229
doi: "10.5281/zenodo.3387139"
230230
license: "Apache-2.0"
231231
message: "If you use this software, please cite it using these metadata."
232232
repository-code: "https://github.com/ESMValGroup/ESMValCore/"
233233
title: ESMValCore
234-
version: "v2.12.0rc2"
234+
version: "v2.12.0"
235235
...

doc/changelog.rst

Lines changed: 55 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,27 +11,78 @@ v2.12.0
1111
-------
1212

1313
Highlights
14+
~~~~~~~~~~
15+
16+
- Preprocessor :func:`esmvalcore.preprocessor.extract_time` now allows to
17+
extract time blocks in each year by making parameters ``start_year`` and
18+
``end_year`` optional.
19+
- A new way of :ref:`configuring the tool <config>` has been developed.
20+
- Performance improvements:
21+
22+
- An iris-esmf-regrid scheme has been added to
23+
preprocessor :func:`esmvalcore.preprocessor.regrid`, which improves
24+
the regridding of 2D grids and adds the capability to regrid UGRID meshes
25+
out of the box.
26+
- Data is now saved from one preprocessing task at the time when using the
27+
distributed scheduler, in order to avoid running out of memory.
28+
- A better default ``num_workers`` has been set when using more than one
29+
``max_parallel_tasks`` with an unconfigured threaded scheduler.
1430

15-
Preprocessor :func:`esmvalcore.preprocessor.extract_time` now allows to
16-
extract time blocks in each year by making parameters ``start_year`` and
17-
``end_year`` optional.
31+
- An on-the-fly cmorizer for ACCESS native data is now available.
1832

1933
This release includes
2034

2135
Backwards incompatible changes
2236
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2337

2438
- Make derivation of total column ozone (`toz`) more flexible and add derivation of stratospheric and tropospheric column ozone (:pull:`2509`) by :user:`schlunma`
25-
- Merge configuration object from multiple files (instead of one single file) (:pull:`2448`) by :user:`schlunma`
39+
40+
- The units of `toz` have been changed from ``DU`` to ``m`` to be consistent with the CMIP6 CMOR table.
41+
To restore the old behaviour, preprocessor :func:`esmvalcore.preprocessor.convert_units` can be used
42+
to set the units back to ``DU``.
43+
2644
- Remove deprecated CMOR fix/check code (:pull:`2552`) by :user:`schlunma`
45+
46+
- CMOR fixes and checks have been clearly separated in v2.10.0, and the old code has now been removed.
47+
Use functions :func:`esmvalcore.preprocessors.fix_metadata`, :func:`esmvalcore.preprocessors.fix_data`,
48+
or :func:`esmvalcore.dataset.Dataset.load` to fix data.
49+
Use functions :func:`esmvalcore.preprocessor.cmor_check_metadata`, :func:`esmvalcore.preprocessor.cmor_check_data`,
50+
or :func:`esmvalcore.preprocessor.cmor_check` to check data.
51+
2752
- Remove deprecated statistical operators (:pull:`2553`) by :user:`schlunma`
53+
54+
- Old statistical operators that have been deprecated in v2.10.0 have now been removed.
55+
Please refer to :ref:`stat_preprocs` for a detailed description on how to use the operators.
56+
2857
- Save all files in a task at the same time to avoid recomputing intermediate results (:pull:`2522`) by :user:`bouweandela`
2958

59+
- The signature of the preprocessor function :func:`~esmvalcore.preprocessor.save`
60+
has changed. The function now accepts a ``compute`` argument that can be :obj:`True`,
61+
in which case the return value will be :obj:`None` or :obj:`False`, in which case
62+
the return value will be a :class:`~dask.delayed.Delayed` object that can be used
63+
to compute and save the data of the cube.
64+
3065
Deprecations
3166
~~~~~~~~~~~~
3267

68+
- Merge configuration object from multiple files (instead of one single file) (:pull:`2448`) by :user:`schlunma`
69+
70+
- The single configuration file ``config-user.yml`` has been deprecated in favour of configuration directories.
71+
By default, the directory ``~/.config/esmvaltool`` will be considered.
72+
To switch to the new format run:
73+
74+
.. code-block:: bash
75+
76+
mkdir -p ~/.config/esmvaltool && mv ~/.esmvaltool/config-user.yml ~/.config/esmvaltool
77+
78+
You can also specify the location of the configuration directory with the ``--config_dir`` flag.
79+
Please refer to :ref:`config` for a detailed description on how to configure the tool.
80+
3381
- Make Dask configurable in our configuration (:pull:`2616`) by :user:`schlunma`
3482

83+
- The old Dask configuration file that needed to be located at ``~/.esmvaltool/dask.yml`` is now deprecated.
84+
Please refer to :ref:`config-dask` for a detailed description on how to configure Dask.
85+
3586
Bug fixes
3687
~~~~~~~~~
3788

0 commit comments

Comments
 (0)