Skip to content

Wombatmid nosc#87

Open
pearseb wants to merge 14 commits intomainfrom
wombatmid-NOSC
Open

Wombatmid nosc#87
pearseb wants to merge 14 commits intomainfrom
wombatmid-NOSC

Conversation

@pearseb
Copy link
Copy Markdown
Collaborator

@pearseb pearseb commented Feb 11, 2026

Sinking and NOSC and bacterial yield calculations... Need to check what's already in main and what is not.

@pearseb pearseb requested a review from dougiesquire February 11, 2026 22:41
@pearseb pearseb self-assigned this Feb 11, 2026
@dougiesquire
Copy link
Copy Markdown
Collaborator

@pearseb, I'm trying to rebase this and drop the changes that have already been included on main. Could you please confirm that the changes to WOMBATlite included in the most recent commit, 942a939, are not needed? I think they were already made in #84.

@pearseb
Copy link
Copy Markdown
Collaborator Author

pearseb commented Feb 15, 2026

Hey Dougie yes I can confirm that is the case. The changes in 942a939 are already made in #84 and have been integrated into main. Please feel free to drop those changes on 942a939.

Thanks for checking :)

@pearseb
Copy link
Copy Markdown
Collaborator Author

pearseb commented Mar 3, 2026

Hey Dougie! As I write the documentation, I am actually being forced to make certain updates to WOMBATmid (as I did for WOMBATlite). I'm expecting to make a few more commits to this branch therefore and perhaps we can therefore wait to merge with main until I come back and say it's ready.

pearseb and others added 14 commits March 26, 2026 10:27
  - Phytoplankton exude DOC with a NOSC of 0.0
  - otehr processes, including cell lysis and hydrolysis of detritus give more negative values
  - bacterial consuming DOC shift the NOSC down towards more reducing compounds
* Rewrote the N limitation section of bacterial growth to solve for Nlim analytically
* Included an "in-code" computation of the bacterial C, O2, and anaerobic yields based on the relationship between NOSC and yield (Wang & Kuzyakov 2023 Global Change Biology)
* Added "regpp3d" as a new diagnostic for 3D regenerated primary production (NH4-based)
…in the code, rather than relying on input parameters

* this means that the yields of bacteria on different substrates changes dynamically as DON:DOC and NOSC change
* major update to bacterial N uptake partitioned between DON and NH4, with bacteria preferring DON to NH4 by 5-fold
* results in actual limitation of bacterial growth by N sometimes, when DON:DOC is very low and when NH4 is low
… it vary between 0 and 1, rather than -1 and 0, since we are having issues initialising the field at -1
…% of the max yield on DON

* Fixed the linear dependence of DON yield on NOSC
- renaming of some diagnostics (linear and quad mortality terms)
- fix up of certain sections
- removal of "sources and sinks" step, just calculations done within respective sections
…n some of the variable names causing problems
- checked that C, N and Si calculations conserve mass
- reduced the depth of sediment over which organic carbon contributes to pore water DIC
- checked source sink terms and updated them for ease of readability
- added extra comments in the sinking routines
- changed the N2O yield from ammonia oxidation to align with Kelly et al., 2024
- corrected the sediment bottom fluxes to align with having DOC and DON
- bacterial use of DOC and DON now have separate kinetics
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.

2 participants