Closed samsrabin closed 2 months ago
Maybe related to whatever made this necessary? https://github.com/ESCOMP/CTSM/blob/a9433779f0ae499d60ad118d2ec331628f0eaaa8/cime_config/testdefs/testmods_dirs/clm/decStart1851_noinitial/user_nl_clm#L1-L4
Okay, looks like I was being misled by ncdump
—the input and output files from the "do nothing" configuration are indeed equal.
Brief summary of bug
Weird things happen to
PCT_CFT
after a surface dataset goes throughfsurdat_modifier
. Somehow all tests still pass.General bug information
CTSM version you are using:
ctsm5.2.005
Does this bug cause significantly incorrect results in the model's science? Only if someone doesn't notice.
Configurations affected: n/a
Details of bug
"Do-nothing" config file
Results in everywhere that had a
PCT_CFT
value getting set to zero."All crops everywhere" config file
Results in all
PCT_CFT
values being set to missing. Also, trying to run the model results in an error withsum of wt_lunit
being 2 instead of 1. Everywhere that had missing data still does. InsideModifyFsurdat.evenly_split_cropland()
, I can see that the values are calculated correctly, but it doesn't save right.Important details of your setup / configuration so we can reproduce the bug
Tested with input file
lnd/clm2/surfdata_esmf/ctsm5.2.0/surfdata_10x15_hist_1850_78pfts_c240216.nc
.