Issue outputting FATES variables

Status
Not open for further replies.

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.
 

wvsi3w

wvsi3w
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.
Dear @slevis
I have looked into the documentation of FATES, and I tried adding this "use_fates_fixed_biogeog = .true." to my user_nl_clm but it didn't work
Code:
 ERROR: in _validate_pair (package Build::NamelistDefinition): Variable name use_fates_fixed_biogeog not found
and even when I only used "use_fates = .true." it failed with this error:
Code:
ERROR : CLM build-namelist::CLMBuildNamelist::setup_cmdl_bgc() : The namelist variable use_fates is inconsistent with the -bgc option
So, I am wondering if fates is only available with certain compsets? is there another documentation for it beside the one I mentioned above?

Thanks
(I am using CESM2.1.3 CLM5, and the compset I used was one of the IHIST compsets with biogeochemistry)
 
Status
Not open for further replies.
Back
Top