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

turn off GOSWIM via N_constit=0 #1050

Merged
merged 6 commits into from
Feb 21, 2025

Conversation

gmao-rreichle
Copy link
Contributor

@gmao-rreichle gmao-rreichle commented Jan 31, 2025

The present PR attempts to turn off GOSWIM by setting the number of constituents to 0.

GOSWIM is a snow impurity scheme that was implemented in GEOS but has not been used.

Previously, N_constit=9 was hardwired and GOSWIM calculations were executed even though GOSWIM was never used. To turn off GOSWIM, the GCM's rc parameter AEROSOL_DEPOSITION was set to 0, which forced the constituent mass and the deposition rates to remain zero, but the many GOSWIM do loops through the 9 constituents were still executed, thus multiplying and adding lots zeros many times.

If needed, original behavior can be recovered by setting N_constit=N_constit_GOSWIM=9 in StieglitzSnow.F90

Successfully 0-diff tested for GEOSldas after 8254a10 (@gmao-rreichle)

If GOSWIM or a revised snow impurity scheme is used in future, N_constit should be configurable (see also the existing rc variables N_CONST_LAND[ICE]4SNWALB).

@gmao-rreichle gmao-rreichle added 0 diff The changes in this pull request have verified to be zero-diff with the target branch. cleanup labels Jan 31, 2025
weiyuan-jiang
weiyuan-jiang previously approved these changes Feb 8, 2025
@biljanaorescanin biljanaorescanin marked this pull request as ready for review February 10, 2025 14:54
@biljanaorescanin biljanaorescanin requested review from a team as code owners February 10, 2025 14:54
@biljanaorescanin
Copy link
Contributor

biljanaorescanin commented Feb 10, 2025

Testing summary:

  1. @gmao-rreichle did LDAS regression tests and they all passed
  2. 1-Day AMIP, REPLAY and Inc REPLAY were all zero diff.
    @sdrabenh this PR is also ready for you

lcandre2
lcandre2 previously approved these changes Feb 10, 2025
sdrabenh
sdrabenh previously approved these changes Feb 21, 2025
…ceding (manual-assisted) merge commit of "develop"; for the record, the indentation in GEOS_LandIceGridComp.F90 is a mess and needs fixing
…lost in preceding (manual-assisted) merge commit of "develop"
@sdrabenh sdrabenh merged commit e625513 into develop Feb 21, 2025
9 checks passed
@sdrabenh sdrabenh deleted the feature/rreichle/better_GOSWIM_switch branch February 21, 2025 18:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0 diff The changes in this pull request have verified to be zero-diff with the target branch. cleanup
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants