Skip to content

Add nonlinear loss to diags#479

Draft
mnlevy1981 wants to merge 5 commits into
marbl-ecosys:developmentfrom
mnlevy1981:add_nonlinear_loss_to_diags
Draft

Add nonlinear loss to diags#479
mnlevy1981 wants to merge 5 commits into
marbl-ecosys:developmentfrom
mnlevy1981:add_nonlinear_loss_to_diags

Conversation

@mnlevy1981

Copy link
Copy Markdown
Collaborator

@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 total zoo_loss. In this PR, I break up the zoo_loss computation into zoo_loss_linear and zoo_loss_nonlinear (which will introduce round-off level changes because each of those terms is multiplied by Tfunc and then zoo_loss is the sum of the two, whereas before zoo_loss was the sum of the two without Tfunc and then the sum itself was multipled), and also introduce four new per-zoo diagnostics:

  1. The full 3D linear contribution to zoo_loss
  2. The vertical integral of the linear contribution to zoo_loss over the top 150 meters
  3. The full 3D nonlinear contribution to zoo_loss
  4. The vertical integral of the nonlinear contribution to zoo_loss over the top 150 meters

By 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 have zoo_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.

Added new diagnostics for linear and nonlinear terms in both 3D fields and 150m
integrals.
zoo_loss_linear is now the linear contribution rather than the nonlinear (and
zoo_loss_nonlinear is the nonlinear contribution instead of the linear)
Previous commits included integrals over the top 150m of zoo_loss_linear and
_nonlinear; this commit adds integrals over the top 100m
Don't need parentheses in "a = (b+c)", and in "a = (b*c)*d" the impact is
round-off level
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant