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

Bugfix DNRA and introduce max_limiter #413

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jmaerz
Copy link
Collaborator

@jmaerz jmaerz commented Oct 18, 2024

This PR only affects runs with the extended nitrogen cycle being switched on. It fixes a bug in the sediment DNRA pathway. In addition, I introduce a limiter (max_limiter) to avoid coming too close to available concentrations in one time step (avoiding turning values negative due to precision issues). Further: minor clean-up.

I am currently running a test by applying those changes to a BLOM v1.6.2 setup.

@JorgSchwinger and @TomasTorsvik, if possible and if tests are giving positive results, I would consider to request to also cherry pick this fix to the v.1.6.2 tag - leading to a bugfixed v1.6.3 which I can then use in my setups - I assume that this would be feasible since the N-cycle was anyway optional in v1.6.x

@jmaerz jmaerz self-assigned this Oct 18, 2024
@jmaerz jmaerz added bug Something isn't working iHAMOCC Issue mainly concerns the iHAMOCC code base code release Issues related to upcoming code release or tagging labels Oct 18, 2024
@jmaerz jmaerz added this to the NorESM2.5 - BLOM/iHAMOCC milestone Oct 18, 2024
@jmaerz jmaerz mentioned this pull request Oct 18, 2024
21 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working code release Issues related to upcoming code release or tagging iHAMOCC Issue mainly concerns the iHAMOCC code base
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant