-
Notifications
You must be signed in to change notification settings - Fork 10
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
Extend the MedlynConductance slope parameter to support SpaceVaryingInput #759
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you! Please squash commits that need to be squashed before merging
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you! This looks great
Would it be possible to update the map of g1 here to plot in units of sqrt(Pa)? Why is value over the ocean nonzero/non NaN? |
I added an re-made map under the original in the pull request. The original map in the PR had an ocean mask applied to it. |
@braghiere It is not a big deal, but does it make sense to you why the ocean has a nonzero/nonNan value for medlyn slope? @imreddyTeja Thanks for remaking the plot! I think we can merge. |
@kmdeck It was just the way it was constructed. Bare soil and water were assigned values in the map but those should be ignored. @imreddyTeja The values look wrong now. Medlyn g1 is in sqrt(kPa) which can be anywhere from ~1.5 to ~6. The values were "right" but unit names were wrong. |
Extend MedlynConductanceParameters to support g1 (medlyn slope) as a field. Only the struct and constructor needed to be changed. Tests check behavior for g1 as Float and Field
372dff9
to
c018155
Compare
Purpose
Extend MedlynConductanceParameters to support a slope parameter that is
<: Union{FT, ClimaCore.Fields.Field}
Closes #756 -- this will automatically close issue 756 on PR merge
To-do
the actual units.
Content
Previous map image (has mask over ocean and no unit conversion)
Re-made map with no mask and converted to sqrt(Pa)