ESMValGroup / ESMValCore

ESMValCore: A community tool for pre-processing data from Earth system models in CMIP and running analysis scripts.
https://www.esmvaltool.org
Apache License 2.0
42 stars 38 forks source link

Handle warnings about invalid units for iris>=3.8 #2378

Closed schlunma closed 5 months ago

schlunma commented 5 months ago

Description

Iris changed the warning message if invalid units are encountered during loading. This PR adds the corresponding pattern to fix this.

Addresses parts of #2376


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[bot] commented 5 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 94.07%. Comparing base (4615da7) to head (b1008c3).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #2378 +/- ## ======================================= Coverage 94.07% 94.07% ======================================= Files 241 241 Lines 13420 13422 +2 ======================================= + Hits 12625 12627 +2 Misses 795 795 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.