-
Notifications
You must be signed in to change notification settings - Fork 322
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
Soil turnover times on parameter file and hard coded? #995
Comments
Similarly for nitrification
|
I agree that it looks like Regarding your first comment, I see this, which seems to explain the history of it: CTSM/src/soilbiogeochem/SoilBiogeochemDecompCascadeBGCMod.F90 Lines 740 to 751 in 605ee9d
|
A few questions then as to the most efficient / appropriate way to:
Does this happen on @olyson's parameter branch? What about keeping track of namelist vs. parameter files changes / duplications? |
Regarding k_nitr_max_perday, it looks like a namelist group, nitrif_inparm, was created at some point to hold this parameter and other parameters, but it is empty. So the model is using the hardcoded value of k_nitr_max_perday (0.1). The other parameters in this group are also using hardcoded values: denitrif_respiration_coefficient, denitrif_respiration_exponent, denitrif_nitrateconc_coefficient, denitrif_nitrateconc_exponent. And then these values are assigned to the params_inst% versions of these parameters. |
We've gone back and forth on the philosophy of if we should put everything into the namelist or on the params file. I'm guessing this namelist was added when we were thinking everything should go to namelist, but wasn't completed when we decided things should go on the params file. At this point we actually think that things in namelist should go on the params file. At least longer term. So if you put it in namelist we will eventually want to move it to the params file. However, this is also true of other namelist parameters, so it will need to be done elsewhere. So if it's easier for you to do that now on your branch it still might be a reasonable solution. |
Let's discuss at Thursday meeting. We want to try to get things on
parameter file where possible. I don't really understand how the parameter
groups work, so we can review that.
…On Tue, Apr 28, 2020 at 10:04 AM Erik Kluzek ***@***.***> wrote:
We've gone back and forth on the philosophy of if we should put everything
into the namelist or on the params file. I'm guessing this namelist was
added when we were thinking everything should go to namelist, but wasn't
completed when we decided things should go on the params file.
At this point we actually think that things in namelist should go on the
params file. At least longer term. So if you put it in namelist we will
eventually want to move it to the params file. However, this is also true
of other namelist parameters, so it will need to be done elsewhere. So if
it's easier for you to do that now on your branch it still might be a
reasonable solution.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#995 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFABYVCAHLU2HPJOERQ2QD3RO347FANCNFSM4MRIBKOQ>
.
|
Looks like this is essentially #138 and should be fixed with the hardcodep branch coming to master. |
Here it looks like the soil turnover times are being read from the parameter file in
DecompCascadeBGCreadNML
CTSM/src/soilbiogeochem/SoilBiogeochemDecompCascadeBGCMod.F90
Line 183 in 605ee9d
but then they are hard coded in
decomp_rate_constants_bgc
CTSM/src/soilbiogeochem/SoilBiogeochemDecompCascadeBGCMod.F90
Line 730 in 605ee9d
Values here look the same, but this may complicated the PPE @dlawrenncar wants to do?
The text was updated successfully, but these errors were encountered: