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

Airsea fixes and doc update #9

Merged
merged 2 commits into from
May 21, 2023
Merged

Airsea fixes and doc update #9

merged 2 commits into from
May 21, 2023

Conversation

sjdaines
Copy link
Member

Bugfix for ReactionAirSea:

Add parameters

  • atm_partial_pressure_min_zero (default false)
  • ocean_conc_min_zero (default false)
    to limit partial pressure or concentration to > 0.0 when calculating fluxes.

Previous behaviour was to limit ocean concentration to > 0.0, but only when isotopes not in use.

This was inconsistent, and wrong in some cases eg if a configuration explicitly allowed -ve ocean O2 to represent unresolved CH4/H2S etc.

Also update doc and add references

sjdaines added 2 commits May 21, 2023 09:18
Add parameters
    atm_partial_pressure_min_zero (default false)
    ocean_conc_min_zero (default false)

to limit partial pressure or concentration to > 0.0
when calculating fluxes.

Previous behaviour was to limit ocean concentration to > 0.0, but only
when isotopes not in use.

This was inconsistent, and wrong in some cases eg if a configuration
explicitly allowed -ve ocean O2 to represent unresolved CH4/H2S etc.
@sjdaines sjdaines merged commit a4c7982 into main May 21, 2023
@sjdaines sjdaines deleted the airsea_fixes branch May 21, 2023 10:31
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