-
Notifications
You must be signed in to change notification settings - Fork 93
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
Grazing #1140
Merged
+2,240
−10
Merged
Grazing #1140
Changes from 1 commit
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
ee5ef88
adding land use parameters to file: grazing, PFT max canopy coverage
ckoven bc633e2
Merge branch 'luh2' into grazing
ckoven dbd692d
starting to add grazing parameterization
ckoven 580df9e
more grazing updates
ckoven c62e98d
Merge branch 'luh2' into grazing_merge
ckoven cab4ee7
merged luh2 and resolved conflicts
ckoven cb5ea6d
fixed merged conflict
ckoven dcbf787
Merge branch 'luh2' into grazing_merge
ckoven 2b36e09
Merge branch 'luh2' into grazing_merge
ckoven 9e035dd
Merge branch 'luh2' into grazing_merge
ckoven 3f755f0
merged main and resolved conflicts
ckoven 4e818e8
changed hite to height
ckoven b67019d
changed grazing rate to 4%/day
ckoven 53a6a44
merged main and resolved conflicts
ckoven 636e003
read the grazing parameters
ckoven 2b87e44
set all grazing_rate parameters to zero
ckoven c039964
compile-time bugfixes
ckoven e7b236b
added grazing carbon flux history variable
ckoven ac5bf38
add api37 parameter file and xml patch file
glemieux b3113b7
Merge tag 'sci.1.80.6_api.37.0.0' into grazing_merge
glemieux 6fa3079
correct woody logic check
glemieux 4b100b2
fix error to EDPhysiologyMod.F90 when nutrients are on
ckoven 76225c9
Apply suggestions from code review
ckoven b619100
Apply suggestions from code review
ckoven da70f55
added herbivory flux to restart data
ckoven File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading status checks…
add api37 parameter file and xml patch file
commit ac5bf3864ac8234a7a840b0fc2f436ae9564a329
There are no files selected for viewing
1,853 changes: 1,853 additions & 0 deletions
1,853
parameter_files/archive/api37.0.0_011025_params_default.cdl
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
<?xml version="1.0"?> | ||
<all> | ||
<!-- This parameter patch file updates the parameter file with the changes --> | ||
<!-- brought in by Charlie Koven related to the new grazing feature --> | ||
<!-- Per PR 1140: --> | ||
|
||
<!-- To use this patch file run the following command: --> | ||
<!-- Run `python ../tools/UpdateParamAPI.py -/-f archive/api37.0.0_011025_patch_params.xml` --> | ||
|
||
<!-- General xml file usage notes: --> | ||
<!-- Special mod types "variable_add": creates a new variable | ||
"dimension_add": creates a new dimension | ||
"variable_del": removes a variable, must include attribute "name" | ||
"variable_change": change values in the parameter, possibly including the name, and | ||
this must also come with a name attribute as well --> | ||
<!-- To change a dimension. The easiest way to script this, is to delete the variables | ||
that use it, delete the dimension. Re-add it with the new size, and then re-add | ||
the variables --> | ||
<!-- --> | ||
|
||
<base_file>archive/api37.0.0_011025_params_default.cdl</base_file> | ||
<new_file>fates_params_default.cdl</new_file> | ||
<pft_list> 1,2,3,4,5,6,7,8,9,10,11,12,13,14 </pft_list> | ||
<mods> | ||
<mod type="variable_add"> | ||
<na> fates_landuse_grazing_palatability </na> | ||
<di> fates_pft </di> | ||
<un> unitless 0-1 </un> | ||
<ln> Relative intensity of leaf grazing/browsing per PFT </ln> | ||
<val> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1 </val> | ||
</mod> | ||
<mod type="variable_add"> | ||
<na> fates_landuse_grazing_rate </na> | ||
<di> fates_landuseclass </di> | ||
<un> 1/day </un> | ||
<ln> fraction of leaf biomass consumed by grazers per day </ln> | ||
<val> 0.0, 0.0, 0.0, 0.0, 0.0 </val> | ||
</mod> | ||
<mod type="variable_add"> | ||
<na> fates_landuse_grazing_carbon_use_eff </na> | ||
<di>scalar</di> | ||
<un> unitless </un> | ||
<ln> carbon use efficiency of material eaten by grazers/browsers (i.e. amount in manure / amount consumed) </ln> | ||
<val> 0.0 </val> | ||
</mod> | ||
<mod type="variable_add"> | ||
<na> fates_landuse_grazing_maxheight </na> | ||
<di>scalar</di> | ||
<un> m </un> | ||
<ln> maximum height that grazers (browsers, actually) can reach </ln> | ||
<val> 1 </val> | ||
</mod> | ||
<mod type="variable_add"> | ||
<na> fates_landuse_grazing_nitrogen_use_eff </na> | ||
<di>scalar</di> | ||
<un> unitless </un> | ||
<ln> nitrogen use efficiency of material eaten by grazers/browsers (i.e. amount in manure / amount consumed) </ln> | ||
<val> 0.25 </val> | ||
</mod> | ||
<mod type="variable_add"> | ||
<na> fates_landuse_grazing_phosphorus_use_eff </na> | ||
<di>scalar</di> | ||
<un> unitless </un> | ||
<ln> phosphorus use efficiency of material eaten by grazers/browsers (i.e. amount in manure / amount consumed) </ln> | ||
<val> 0.5 </val> | ||
</mod> | ||
</mods> | ||
</all> |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
@ckoven we should add a fates grazing test that checks non-zero grazing rates at some point in the near future. Can you recommend some parameter values for the testing?