ai2cm / fv3net

explore the FV3 data for parameterization
MIT License
16 stars 3 forks source link

Add sphum limiter and precipitation update to reservoir stepper #2337

Closed AnnaKwa closed 1 year ago

AnnaKwa commented 1 year ago

This adds the positive specific humidity limiter and a precipitation update to the reservoir stepper. It also adds the associated diagnostics for column net heating/moistening from the reservoir step.

The existing functions for these computations already existed for the ML stepper but took in tendency inputs only. To minimize changes to the existing code I added a conversion of the reservoir's state prediction to the equivalent tendencies, which are now returned by the reservoir stepper instead of an empty dict. The tendencies are used in the reservoir step of the loop file to compute diagnostics.

Significant internal changes:

Resolves # [JIRA-TAG]

Coverage reports (updated automatically):