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

Net enthalpy budget diagnostic #406

Open
gustavo-marques opened this issue Sep 8, 2023 · 0 comments
Open

Net enthalpy budget diagnostic #406

gustavo-marques opened this issue Sep 8, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@gustavo-marques
Copy link
Collaborator

We would like to have a "NET ENTHALPY BUDGET" in the diags.log. For now, it should include all common enthalpy terms accounted for by both ocn and atm, as follows:

atm ocn SUM
hlatvap XXXXX XXXXX XXXXX
hlatfus XXXXX XXXXX XXXXX
hrain XXXXX XXXXX XXXXX
hsnow XXXXX XXXXX XXXXX
hevap XXXXX XXXXX XXXXX
hcond XXXXX XXXXX XXXXX
SUM XXXXX XXXXX YYYYY

These terms should only be computed over ocean points (i.e., they should have * ofrac(n)).
hlatvap and hlatfus are already computed for atm and ocn. The atm values must be modified to only account for ocean points.
Currently, hrain, hsnow, hevap, and hcond are only computed for ocn (see here). Corresponding terms must be introduced for atm (e.g., hrain_atm, hsnow_atm, hevap_atm, and hcond_atm ). These will have a different formulation than the ocn counterparts (exact formulation will be provided in the near future), but for now (implementation phase), they can follow ocn (see here).

The goal is to have the sum of these terms balanced (YYYYY = 0).

cc'ing: @jedwards4b, @PeterHjortLauritzen

@jedwards4b jedwards4b self-assigned this Sep 8, 2023
@jedwards4b jedwards4b added the enhancement New feature or request label Sep 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants