Brief summary of bug
Two fincl3 history fields from the /crop testmods,
REPRODUCTIVE1N_TO_FOOD_PERHARV and REPRODUCTIVE1N_TO_FOOD_ANN,
lose their suffixes in LREPR* tests and become REPRODUCTIVE1N_TO_FOOD.
This occurs in cime_config/SystemTests/lreprstruct.py
in line user_nl_clm_text = user_nl_clm_text.replace(. The glitch occurs (for an undetermined reason as of this issue's opening) when this line attempts to replace GRAIN with REPRODUCTIVE1 and REPRODUCTIVE2, and REPRODUCTIVE1 ends up losing the suffixes _PERHARV and _ANN.
The problem surfaced in PR #2445 that separates instantaneous from non-inst. fields because:
- the former fields (with suffixes) are instantaneous, while the latter is "time: mean" and so
- the LREPR* tests generated h2a files for base and not for grain1 causing a base_grain1 comparison failure
In #2445 I resolved the issue by adding to fincl3 the setting hist_avgflag_pertape(3) = 'I' with approval from @ekluzek.
General bug information
CTSM version you are using: preparing to merge ctsm5.3.062 (#2445)
Does this bug cause significantly incorrect results in the model's science? No
Configurations affected: LREPR* tests
Brief summary of bug
Two fincl3 history fields from the /crop testmods,
REPRODUCTIVE1N_TO_FOOD_PERHARV and REPRODUCTIVE1N_TO_FOOD_ANN,
lose their suffixes in LREPR* tests and become REPRODUCTIVE1N_TO_FOOD.
This occurs in
cime_config/SystemTests/lreprstruct.pyin line
user_nl_clm_text = user_nl_clm_text.replace(. The glitch occurs (for an undetermined reason as of this issue's opening) when this line attempts to replace GRAIN with REPRODUCTIVE1 and REPRODUCTIVE2, and REPRODUCTIVE1 ends up losing the suffixes _PERHARV and _ANN.The problem surfaced in PR #2445 that separates instantaneous from non-inst. fields because:
In #2445 I resolved the issue by adding to fincl3 the setting
hist_avgflag_pertape(3) = 'I'with approval from @ekluzek.General bug information
CTSM version you are using: preparing to merge ctsm5.3.062 (#2445)
Does this bug cause significantly incorrect results in the model's science? No
Configurations affected: LREPR* tests