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.
@cpetrik has asked us to provide the nonlinear
zoo_loss
term integrated over the top 150m of the ocean to use as a forcing field in FEISTY, rather than trying to estimate it based on the integral of totalzoo_loss
. In this PR, I break up thezoo_loss
computation intozoo_loss_linear
andzoo_loss_nonlinear
(which will introduce round-off level changes because each of those terms is multiplied byTfunc
and thenzoo_loss
is the sum of the two, whereas beforezoo_loss
was the sum of the two withoutTfunc
and then the sum itself was multipled), and also introduce four new per-zoo diagnostics:zoo_loss
zoo_loss
over the top 150 meterszoo_loss
zoo_loss
over the top 150 metersBy default, the 150m integral of the nonlinear term is in the
high
frequency output, but neither the integral of the linear term nor either of the 3D fields are written out.This branch is from a CESM 2.2.2 run, so it's pretty out of date. I'll merge in the latest
development
and resolve conflicts, and I'll probably also add the 100m vertical integrals for completeness since we havezoo_loss_zint_100m
defined; it's omitted in the initial commits because we don't need them for the 0.1° run we are doing.