Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix derivation for sea ice extent (siextent) #2648

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

Conversation

axel-lauer
Copy link
Contributor

Description

The PR fixes some small issues with the derivation script for sea ice extent, i.e.

  • corrected unit
  • changed list of required variables so the script can be applied to both, CMIP5 and CMIP6 data
  • added/updated some comments

This fix is required for calculating and plotting a correct seasonal cycle of Arctic/Antarctic sea ice extent for REF: ESMValGroup/ESMValTool#3891

esmvalcore/preprocessor/_derive/siextent.py Outdated Show resolved Hide resolved
@@ -48,16 +49,19 @@ def calculate(cubes):
sic = cubes.extract_cube(Constraint(name="sic"))
except iris.exceptions.ConstraintMismatchError:
try:
sic = cubes.extract_cube(Constraint(name="siconca"))
Copy link
Contributor

Choose a reason for hiding this comment

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

If I remember correctly, siconca was added because some models were missing siconc, but I am not sure if that is still the case.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

That is right. In any case, I think it does not hurt to also try "siconca", so I would prefer to keep this here if that's fine.

Copy link
Contributor

Choose a reason for hiding this comment

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

Well in that case, it looks like it needs to be re-added because tests are failing due to siconca not being required anymore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants