Scheduled Downtime
On Tuesday 24 October 2023 @ 5pm MT the forums will be in read only mode in preparation for the downtime. On Wednesday 25 October 2023 @ 5am MT, this website will be down for maintenance and expected to return online later in the morning.
Normal Operations
The forums are back online with normal operations. If you notice any issues or errors related to the forums, please reach out to help@ucar.edu

Issue outputting FATES variables

stevenDH

Member
What version of the code are you using?
release-cesm2.2.2-0-g779b0a3

Describe every step you took leading up to the problem:
I create a CLM case with FATES enabled using I2000Clm50Fates as the compset. I want to include certain specific FATES variables to my output stream for which I include the following in my create script:
cat >> user_nl_clm <<EOF
use_fates=.true.
use_fates_inventory_init = .false.
hist_fincl1=
'FATES_VEGC_ABOVEGROUND',
'FATES_NPLANT_SZ', 'FATES_CROWNAREA_PF',
'FATES_LAI', 'FATES_BASALAREA_SZPF', 'FATES_CA_WEIGHTED_HEIGHT', 'Z0MG',
'FATES_MORTALITY_CSTARV_CFLUX_PF', 'FATES_MORTALITY_CFLUX_PF',
'FATES_MORTALITY_HYDRO_CFLUX_PF', 'FATES_MORTALITY_BACKGROUND_SZPF',
'FATES_MORTALITY_HYDRAULIC_SZPF', 'FATES_MORTALITY_CSTARV_SZPF',
'FATES_MORTALITY_IMPACT_SZPF', 'FATES_MORTALITY_TERMINATION_SZPF',
'FATES_MORTALITY_FREEZING_SZPF', 'FATES_MORTALITY_CANOPY_SZPF',
'FATES_MORTALITY_USTORY_SZPF', 'FATES_NPLANT_SZPF',
'FATES_NPLANT_CANOPY_SZPF', 'FATES_NPLANT_USTORY_SZPF',
'FATES_NPP_PF', 'FATES_GPP_PF', 'FATES_NEP', 'FATES_FIRE_CLOSS',
'FATES_ABOVEGROUND_PROD_SZPF', 'FATES_ABOVEGROUND_MORT_SZPF',
'FATES_NPLANT_CANOPY_SZ', 'FATES_NPLANT_USTORY_SZ',
'FATES_DDBH_CANOPY_SZ', 'FATES_DDBH_USTORY_SZ',
'FATES_MORTALITY_CANOPY_SZ', 'FATES_MORTALITY_USTORY_SZ'
EOF

Describe your problem or question:
The case is able to get build and submitted just fine but it immediately crashes with the following error message in the lnd.log file:
htapes_fieldlist ERROR: FATES_VEGC_ABOVEGROUND in fincl( 1 ) for history tape 1 not found
ENDRUN:
ERROR: ERROR in /dodrio/scratch/users/vsc10147/cesm2.2/sources/cesm-2.2.2/components/clm/src/main/histFileMod.F90 at line 699

I assume the issue could be that FATES variables do not appear to be by default accessible, is there something I should update in my cesm installation? I just pulled the main branch from cesm2.2 from github. Should I already download a cesm3 version for this to work and if so which one would be recommended? I would like to do some land only simulations where I will focus on analysing FATES specific outputs.

Many thanks for any input on this!
Best wishes
Steven
 

slevis

Moderator
Staff member
If FATES_VEGC_ABOVEGROUND is a valid history variable, then my first troubleshooting suggestion would be to shorten the hist_fincl1 line to one new valid history variable. I would put it in a single line:

hist_fincl1 = 'FATES_VEGC_ABOVEGROUND'

If that doesn't work, then remove hist_fincl1 entirely. It usually helps me to start from something that works.
 
Top