Skip to content

Remove the deprecated option use_legacy_supplementaries#2202

Merged
zklaus merged 4 commits into
mainfrom
remove-use-legacy-supplementaries
Sep 28, 2023
Merged

Remove the deprecated option use_legacy_supplementaries#2202
zklaus merged 4 commits into
mainfrom
remove-use-legacy-supplementaries

Conversation

@bouweandela

@bouweandela bouweandela commented Sep 22, 2023

Copy link
Copy Markdown
Member

Description

Remove the deprecated option use_legacy_supplementaries, scheduled for removal in v2.10.0 (see #1609 (comment)).

Upgrade advice

The recommended upgrade procedure is to remove use_legacy_supplementaries from config-user.yml (if it was there) and remove any mention of fx_variables from the recipe. If automatically defining the required supplementary variables does not work, define them in the variable or (additional_)datasets section as described in the documentation.


Before you get started

Checklist

It is the responsibility of the author to make sure the pull request is ready to review. The icons indicate whether the item will be subject to the 🛠 Technical or 🧪 Scientific review.


To help with the number pull requests:

@codecov

codecov Bot commented Sep 22, 2023

Copy link
Copy Markdown

Codecov Report

Merging #2202 (c57cb32) into main (10bd776) will decrease coverage by 0.09%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main    #2202      +/-   ##
==========================================
- Coverage   93.14%   93.06%   -0.09%     
==========================================
  Files         237      237              
  Lines       12831    12654     -177     
==========================================
- Hits        11951    11776     -175     
+ Misses        880      878       -2     
Files Coverage Δ
esmvalcore/_recipe/recipe.py 98.99% <100.00%> (-0.02%) ⬇️
esmvalcore/_recipe/to_datasets.py 100.00% <100.00%> (ø)
esmvalcore/config/_config_validators.py 97.45% <ø> (-0.10%) ⬇️
esmvalcore/preprocessor/__init__.py 95.23% <ø> (ø)
esmvalcore/preprocessor/_supplementary_vars.py 97.67% <ø> (-0.39%) ⬇️

@bouweandela bouweandela marked this pull request as ready for review September 28, 2023 09:47
@bouweandela bouweandela changed the title Remove the deprecated option use_legacy_supplementaries Remove the deprecated option use_legacy_supplementaries Sep 28, 2023

@valeriupredoi valeriupredoi left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is ESMValCore so light now that it can ✈️ ? I'd see about CMIP7 project, bud 😁

Comment thread tests/integration/recipe/test_recipe.py
@bouweandela

Copy link
Copy Markdown
Member Author

Thanks for reviewing!

@zklaus zklaus merged commit 925fce3 into main Sep 28, 2023
@zklaus zklaus deleted the remove-use-legacy-supplementaries branch September 28, 2023 12:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants