Closed rgknox closed 6 months ago
Hey Ryan -- what's the nadp in the name refering to?
Nadph is produced by this process but it's a different factor for the conversion. Suggest removing the nadp part of the name.
Also in making this a parameter in the code runs the risk of someone using this to calibrate or in sensitivity analysis. This is a fixed parameter as far as I'm aware.
I pulled the nadp from a discussion in an email thread, I can remove it, I must had been confused. Does the rest of the description look ok? Feel free to propose a good description.
This is the typical convention for defining named constants with modern fortran. The "parameter" part of the declaration may be confusing because in domain sciences parameters are fluid and changeable, but in fortran this is used to declare the value immutable.
Thanks for this @rgknox I really like the idea of naming these terms! Perhaps we should give a name for the 4.6 term too, which converts the photosynthetically active irradiance (W/m2) to photosynthetic photon flux (µmol photons/m2/s)?
@mpaiao and @walkeranthonyp I think I addressed your comments. @mpaiao I added that named constant and @walkeranthonyp I updated the text to remove reference to nadp. Please take a look and provide feedback.
It looks good with me, thanks @rgknox !
I'm going to add some text that explains the purpose of the quadratic solve during stomatal conductance. So hold on integrating until that is in.
Regression testing on derecho
against baseline fates-sci.1.76.2_api.35.1.0-ctsm5.2.004
show all expected tests pass b4b.
location: /glade/u/home/glemieux/scratch/ctsm-tests/tests_pr1195-fates
Description:
Very simple, naming this constant. It really needs to not be just a 0.5 in the code, and really needs to have a name and description so people aren't confused.
Collaborators:
@rosiealice @walkeranthonyp @alistairrogers @ckoven
Expectation of Answer Changes:
None, should be B4b
Checklist
If this is your first time contributing, please read the CONTRIBUTING document.
All checklist items must be checked to enable merging this pull request:
Contributor
Integrator
Documentation
Test Results:
CTSM (or) E3SM (specify which) test hash-tag:
CTSM (or) E3SM (specify which) baseline hash-tag:
FATES baseline hash-tag:
Test Output: