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

Adding the van Genuchten formula for plant P-V and P-K curves #737

Merged
merged 10 commits into from
Nov 18, 2021

Conversation

JunyanDing
Copy link
Contributor

@JunyanDing JunyanDing commented Apr 8, 2021

Description:

see attached file
ForFATES_Hydro_VG.pptx

issue number: #726

Fixes: #812

Collaborators:

Ryan Knox, Chonggang Xu, Charlie Koven

Expectation of Answer Changes:

Checklist:

  • My change requires a change to the documentation.
  • I have updated the in-code documentation .AND. (the technical note .OR. the wiki) accordingly.
  • I have read the CONTRIBUTING document.
  • FATES PASS/FAIL regression tests were run
  • If answers were expected to change, evaluation was performed and provided

Test Results:

CTSM (or) E3SM (specify which) test hash-tag:

CTSM (or) E3SM (specify which) baseline hash-tag:

FATES baseline hash-tag:

Test Output:

Copy link
Contributor

@xuchongang xuchongang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JunyanDing , it seem that you set the default as the van_genuchten for vegetation P-V/P-K curves. Can we set this as a switch to turn it on or off? It is also not clear to me why you turned off the linear interpolation. I would also suggest that @rgknox review the code as well.

biogeophys/FatesPlantHydraulicsMod.F90 Outdated Show resolved Hide resolved
biogeophys/FatesPlantHydraulicsMod.F90 Outdated Show resolved Hide resolved
biogeophys/FatesPlantHydraulicsMod.F90 Outdated Show resolved Hide resolved
@@ -1651,7 +1663,13 @@ subroutine ConstrainRecruitNumber(csite,ccohort, bc_in)
nmin = min(n, nmin)
endif
end do
ccohort%n = min (ccohort%n, nmin)
! Junyan added the constrian of temperature on recuitment number
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is fine and make sense

biogeophys/FatesHydroWTFMod.F90 Outdated Show resolved Hide resolved
biogeophys/FatesHydroWTFMod.F90 Outdated Show resolved Hide resolved
Made changes according to Chonggang's comments
Make linear interperation as an option for VG water retention function
main/EDTypesMod.F90 Outdated Show resolved Hide resolved
@rgknox rgknox mentioned this pull request Jun 30, 2021
5 tasks
@glemieux glemieux added the tag: next Next PR to be incorporated label Nov 17, 2021
@rgknox
Copy link
Contributor

rgknox commented Nov 18, 2021

tests normal: /glade/scratch/rgknox/tests_1117-133121ch

@rgknox rgknox merged commit 3870829 into NGEET:master Nov 18, 2021
@glemieux glemieux removed the tag: next Next PR to be incorporated label Nov 18, 2021
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.

duplicate "fates_hydr_k_lwp" in parameter file
4 participants