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

Make volume calculation in preprocessor function `volume_statistics` lazy #2436

Closed bouweandela closed 4 months ago

bouweandela commented 4 months ago

Description

Make calculating the volume lazy.

Closes #647


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 4 months ago

Codecov Report

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

Project coverage is 94.51%. Comparing base (8d3d366) to head (b0a20ae). Report is 40 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #2436 +/- ## ======================================= Coverage 94.51% 94.51% ======================================= Files 246 246 Lines 14024 14027 +3 ======================================= + Hits 13255 13258 +3 Misses 769 769 ```

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