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

Grazing #1140

Merged
merged 25 commits into from
Feb 18, 2025
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 May 2, 2023
bc633e2
Merge branch 'luh2' into grazing
ckoven Jul 6, 2023
dbd692d
starting to add grazing parameterization
ckoven Jul 10, 2023
580df9e
more grazing updates
ckoven Jul 11, 2023
c62e98d
Merge branch 'luh2' into grazing_merge
ckoven Aug 14, 2023
cab4ee7
merged luh2 and resolved conflicts
ckoven Sep 18, 2023
cb5ea6d
fixed merged conflict
ckoven Sep 18, 2023
dcbf787
Merge branch 'luh2' into grazing_merge
ckoven Sep 19, 2023
2b36e09
Merge branch 'luh2' into grazing_merge
ckoven Oct 5, 2023
9e035dd
Merge branch 'luh2' into grazing_merge
ckoven Oct 16, 2023
3f755f0
merged main and resolved conflicts
ckoven Dec 19, 2023
4e818e8
changed hite to height
ckoven Dec 19, 2023
b67019d
changed grazing rate to 4%/day
ckoven Dec 19, 2023
53a6a44
merged main and resolved conflicts
ckoven Jul 19, 2024
636e003
read the grazing parameters
ckoven Jul 19, 2024
2b87e44
set all grazing_rate parameters to zero
ckoven Jul 24, 2024
c039964
compile-time bugfixes
ckoven Jul 25, 2024
e7b236b
added grazing carbon flux history variable
ckoven Oct 31, 2024
ac5bf38
add api37 parameter file and xml patch file
glemieux Jan 11, 2025
b3113b7
Merge tag 'sci.1.80.6_api.37.0.0' into grazing_merge
glemieux Jan 13, 2025
6fa3079
correct woody logic check
glemieux Jan 21, 2025
4b100b2
fix error to EDPhysiologyMod.F90 when nutrients are on
ckoven Jan 22, 2025
76225c9
Apply suggestions from code review
ckoven Jan 24, 2025
b619100
Apply suggestions from code review
ckoven Jan 27, 2025
da70f55
added herbivory flux to restart data
ckoven Jan 28, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
add api37 parameter file and xml patch file
glemieux committed Jan 11, 2025
commit ac5bf3864ac8234a7a840b0fc2f436ae9564a329
1,853 changes: 1,853 additions & 0 deletions parameter_files/archive/api37.0.0_011025_params_default.cdl

Large diffs are not rendered by default.

68 changes: 68 additions & 0 deletions parameter_files/archive/api37.0.0_011025_patch_params.xml
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>
Comment on lines +32 to +38
Copy link
Contributor

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?

<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>