Port delp_total
diagnostic to public version of SHiELD
#316
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This PR adds a diagnostic for the pressure thickness which includes the mass of water condensates (
delp_total
). This is the actual pressure thickness used internally by the dynamical core to define things like tracer mixing ratios, and so it is useful to be able to output it for diagnosing budgets. In many ways it is a simpler diagnostic to implement than the existingdelp
diagnostic.xref: I implemented this diagnostic as part of another merge request to the internal version of SHiELD (see this commit; note authentication is needed to access the link).
Since this is such a simple change, and one that already exists in the internal version of SHiELD, I hope we can review / merge it quickly, as I need it for a new simulation. Thanks!
cc: @lharris4 and @bensonr
How Has This Been Tested?
I tested this in a short C12 resolution simulation within a Docker container, and validated that I could reproduce the existing
delp
diagnostic using this newdelp_total
diagnostic and the sum of the condensate tracers (notebook).Checklist:
Please check all whether they apply or not