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

Add the quadratic mortality portion of zoo_loss to diagnostics #438

Open
mnlevy1981 opened this issue Aug 29, 2023 · 1 comment
Open

Add the quadratic mortality portion of zoo_loss to diagnostics #438

mnlevy1981 opened this issue Aug 29, 2023 · 1 comment

Comments

@mnlevy1981
Copy link
Collaborator

@cpetrik asked @kristenkrumhardt and I if it would be possible to split up the computation in compute_Zprime() a little more

zoo_loss_basal(zoo_ind,:) = zooplankton_settings(zoo_ind)%basal_respiration_rate * Zprime(zoo_ind,:) * Tfunc_zoo(zoo_ind,:)

zoo_loss_bulk(zoo_ind,:) = (zooplankton_settings(zoo_ind)%z_mort_0 * Zprime(zoo_ind,:) + &
                      zooplankton_settings(zoo_ind)%z_mort2_0 * Zprime(zoo_ind,:)**zoo_mort2_exp) * Tfunc_zoo(zoo_ind,:)

zoo_loss(zoo_ind,:) = zoo_loss_basal(zoo_ind,:) + zoo_loss_bulk(zoo_ind,:)

so that the zooplankton_settings(zoo_ind)%z_mort2_0 * Zprime(zoo_ind,:)**zoo_mort2_exp) * Tfunc_zoo(zoo_ind,:) term could be provided as a diagnostic (this would be helpful for forcing FEISTY). I think it would just require adding one more term to zooplankton_derived_terms_type and then updating marbl_diagnostics_mod.F90 and diagnostics_latest.yaml to write it out.

@mnlevy1981
Copy link
Collaborator Author

Note we can back this out with

zoo_loss(zoo_ind,:) - zoo_loss_basal(zoo_ind,:) - zooplankton_settings(zoo_ind)%z_mort_0 * (zoo_loss_basal(zoo_ind,:) / zooplankton_settings(zoo_ind)%basal_respiration_rate)

which is equivalent to

zoo_loss(zoo_ind,:) - zoo_loss_basal(zoo_ind,:) * (c1 + zooplankton_settings(zoo_ind)%z_mort_0 / zooplankton_settings(zoo_ind)%basal_respiration_rate)

but we don't have zoo_loss_basal_zint_150m

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

No branches or pull requests

1 participant