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

A few fixes and extend mksurfdata to set PFT/CFT fractions but use veg-cover from dataset #814

Merged
merged 71 commits into from
Nov 15, 2019

Conversation

ekluzek
Copy link
Collaborator

@ekluzek ekluzek commented Oct 4, 2019

Description of changes

Include missing prescribed testmods directory
allow branches with use_init_interp=T with a log message about it. Allow prescribed PFT/CFT's to not assume 100% veg coverage (but use PCT_NATVEG and PCT_CROP from the dataset).

Specific notes

Contributors other than yourself, if any: none

CTSM Issues Fixed (include github issue #): #150, #175, #786, #791, #804, #809

Fix #809
Fix #804
Fix #175
Fix #786
Fix #791
Fix #150

Are answers expected to change (and if so in what way)? No

Any User Interface Changes (namelist or namelist defaults changes)? Yes
stream_*urbantv settings for clm4_5

Testing performed, if any: limited so far
ERP_P72x2_D_Ld3.f09_g17.I2000Clm50SpGs.cheyenne_intel
and mksurfdata_map testing to ensure previous files are the same
new prescribed PFT/CFT dataset also created and verified

…quires other subroutines to the list as well as some additional functons to mkncdio.F90
… also add the unit test build to the git ignore
…umpft outside of if, and handle case when all PFTs are set
…ero-out and pft unit tests, also zero-out doesn't need to read in datasets in mkpft and tgridmap doesn't need to be cleaned at the end of mkpft for these two cases
…special case of use_input_pft, make all_veg a local input to mkpftInit and create a global one that is set in mkpftInit, also add it to the namelist
Remove global all_veg and add in presc_cover in it's place. all_veg
now comes as input to mkpftInit and helps set presc_cover. Unit
tests updated and working.
…ll be set for prescribed PFT cases that use dataset PCT_NAT_VEG and PCT_CROP
Add new namelist item soilm_ignore_data_if_missing and react to it.
Also use old way for the indexing in an attempt to reproduce the
previous results. If soilm_ignore_data_if_missing is true and find
a missing point expected continue calculation as before. If not
abort when that point is found. Also comment out the section
where values greater than 10 were set to spval as that changes
answers.
OK, this is a version that is identical to release-clm5.0.27. Found out
the issue was that lai_interp can't be moved the way I did. It needs
to be divided into the streams part and non-streams part like is
being done in SoilMoistureStreams.

So this replicates answers for SMS_P720x1_D_Ld3.f09_g17.I2000Clm50SpGs.cheyenne_intel.clm-prescribed
… level and SoilMoistureInterp to the OMP clump level
…nd lai_interp called from within an OpenMP threading loop
@ekluzek ekluzek added PR status: ready PR: this is ready to merge in, with all tests satisfactory and reviews complete and removed PR status: work in progress labels Nov 7, 2019
@ekluzek ekluzek merged commit d5f3086 into ESCOMP:release-clm5.0 Nov 15, 2019
@ekluzek ekluzek deleted the relfixesfor5028 branch November 15, 2019 06:17
AGonzalezNicolas pushed a commit to HPSCTerrSys/clm5_0 that referenced this pull request Jun 27, 2024
A few fixes and extend mksurfdata to set PFT/CFT fractions but use veg-cover from dataset
AGonzalezNicolas pushed a commit to HPSCTerrSys/clm5_0 that referenced this pull request Jul 5, 2024
A few fixes and extend mksurfdata to set PFT/CFT fractions but use veg-cover from dataset
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
branch tag: release Changes go on release branch as well as master PR status: ready PR: this is ready to merge in, with all tests satisfactory and reviews complete priority: high High priority to fix/merge soon, e.g., because it is a problem in important configurations
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

1 participant