Add history outputs: Crop biomass and LAI per harvest #3633
+416
−5
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.
Description of changes
Adds a bunch of history outputs with the
mxharvestsdimension (max number of crop harvests per year; 2).MAX_TLAI_PERHARVgives the maximum total LAI seen across the growing season.15 other outputs give the biomass for five C pools (leaf, grain, stem, fine root, coarse root) at three crop phase transitions (emergence, anthesis, maturity).
Also adds an option to suppress a warning about low
gddmaturity, which I used during the CRU-JRA crop calendar work.Specific notes
Contributors other than yourself, if any: None
CTSM Issues Fixed (include github issue #): None
Are answers expected to change (and if so in what way)? No
Any User Interface Changes (namelist or namelist defaults changes)? No
Does this create a need to change or add documentation? Did you do so? Will need to update non-FATES output list; no.
Testing performed, if any:
aux_clmreveals what seem to be threading problems withMAX_TLAI_PERHARV, which failsCOMPARE_base_restinER[PS]_Ly3_P64x2tests but not anERS_Ly3test.To do
Add HARVORGANC equivalent but JUST for grain. Will match what I have there for now, because grain is all CLM simulates by default. But it'll differ with the options underneath. (Do not name GRAIN unless you fix LPREPRSTRUCT test to handle this.)People should just use existingGRAINC_TO_(FOOD|SEED)_PERHARVoutputs.Add support forSee above.for_testing_use_second_grain_pooland/orfor_testing_use_repr_structure_pooltrue (or throw error in that case).