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

Fix Ncycle #496

Merged
merged 2 commits into from
Feb 14, 2025
Merged

Fix Ncycle #496

merged 2 commits into from
Feb 14, 2025

Conversation

jmaerz
Copy link
Collaborator

@jmaerz jmaerz commented Feb 14, 2025

Hi @JorgSchwinger and @TomasTorsvik ,
this PR is an immediate fix for #479. Noticeably, at least in my simulations, the issue was only indirectly related to lkwrbioz_off=.true. - it somehow led to zero oxygen values in the sediment that then led to division by zero, which I fixed now (also for the water column for safety). I ran a previously crashing simulation for one month in DEBUG mode on tnx2 and it ran through with this fix. Maybe @JorgSchwinger , you could do a short run with your setup to see, if it this fixes the lkwrbioz_off=.true. issue reported in #479?

I will investigate one more thing that I stumbled upon (which may or may not lead to changes), but I think an incremental PR approach is better in this case.

Closes #479

@jmaerz jmaerz added bug Something isn't working iHAMOCC Issue mainly concerns the iHAMOCC code base labels Feb 14, 2025
@jmaerz jmaerz added this to the BLOM v1.8.0 tag milestone Feb 14, 2025
@jmaerz jmaerz self-assigned this Feb 14, 2025
@jmaerz jmaerz merged commit c8d519a into NorESMhub:master Feb 14, 2025
4 checks passed
@jmaerz jmaerz deleted the fix-Ncycle branch February 14, 2025 12:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working iHAMOCC Issue mainly concerns the iHAMOCC code base
Projects
None yet
Development

Successfully merging this pull request may close these issues.

HAMOCC option lkwrbioz_off = .true. fails
3 participants