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

Resubmit causing error of 'Longwave down sent from the atmosphere model is negative or zero'

yifanc17

Yifan Cheng
New Member
What version of the code are you using?
CTSM5.2.015

Have you made any changes to files in the source tree?
No

Describe every step you took leading up to the problem:
Code:
# create and setup case
CASEDIR="/glade/work/yifanc17/cases/WFDE5.Regridded.CTSM5.2.015.ExplicitAC.CONUS.1d32deg.CTRL.SPINUP.c241106"
/glade/work/yifanc17/code/ctsm5.2.015/cime/scripts/create_newcase --case "${CASEDIR}" --compset 2000_DATM%GSWP3v1_CLM50%SP_SICE_SOCN_MOSART_SGLC_SWAV --res CLM_USRDAT --run-unsupported
./xmlchange LND_DOMAIN_MESH=/glade/work/yifanc17/02_data/cesmdata/meshdata/CONUS_3p75/CONUS_1d32deg_mesh_WFDE5_masked_c241028.nc # regional mesh
./xmlchange ATM_DOMAIN_MESH=/glade/work/yifanc17/02_data/cesmdata/meshdata/CONUS_3p75/CONUS_1d32deg_mesh_WFDE5_masked_c241028.nc
./xmlchange MASK_MESH=/glade/work/yifanc17/02_data/cesmdata/meshdata/CONUS_3p75/CONUS_1d32deg_mesh_WFDE5_masked_c241028.nc
./xmlchange PIO_TYPENAME=pnetcdf,PIO_NETCDF_FORMAT=64bit_data # for parallel IO
./xmlchange RUN_STARTDATE=2010-01-01,DATM_YR_START=2010,DATM_YR_ALIGN=2010,DATM_YR_END=2014,RESUBMIT=1,STOP_N=1,STOP_OPTION=nyears # unit test

user_nl_clm and user_nl_datm_streams are attached below.

Describe your problem or question:
I am running a high-resolution regional (1/32° over CONUS) land-only simulation using CTSM5.2.015 on derecho, forced by bias-corrected ERA5 data regridded to match the 1/32° mesh. For spin-up, I applied cyclic forcing using the 2010-2014 ERA5 climatology.

When spinning up, the model ran successfully from 2010-01 to 2010-12, generating a restart file for 2011-01. However, after resubmitting, I encounter the error: “Longwave down sent from the atmosphere model is negative or zero.” However, setting RUN_STARTDATE=2011-01-01 and running from that date directly works without any issues.

Here's what I have tried to debug:

1. Forcing data check: I have checked the forcing data and there is no negative or zero FLDS.

2. Configurations check:

1) Change tintalgo for forcing
By default it was
Code:
CLMGSWP3v1.Solar:tintalgo = coszen
CLMGSWP3v1.TPQW:tintalgo = linear
I changed it to
Code:
CLMGSWP3v1.Solar:tintalgo = nearest
CLMGSWP3v1.TPQW:tintalgo = linear
also tried
Code:
CLMGSWP3v1.Solar:tintalgo = nearest
CLMGSWP3v1.TPQW:tintalgo = nearest
both failed with same error as above

2) Change use_init_interp=.true.
Initially I set use_init_interp=.false., changing it to .true. (cleaned init_generated_files or created a new case) didn't work.

3) Change STOP_N/RUN_STARTDATE/STOP_OPTION
Different dates for stopping/resubmitting all resulted in the same error. The error arises only upon resubmission, while the model runs fine for continuous three-year spans (e.g., 2010-01 to 2012-12).

Given that the forcing data appears to be correct, there seemed to be something wrong with the restart/initialization process. Any suggestions or insights would be appreciated! Thanks!
 

Attachments

  • user_nl_datm_streams.txt
    65.2 KB · Views: 0
  • user_nl_clm.txt
    2.6 KB · Views: 1

oleson

Keith Oleson
CSEG and Liaisons
Staff member
Hi @yifanc17 , I cloned your case and was able to get this to work by doing:

./xmlchange ATM_NX=1860
./xmlchange ATM_NY=801
./xmlchange LND_NX=1860
./xmlchange LND_NY=801

Not really sure why it works for an initial run and not for a restart, but in general those setting should be set to match your grids.
 

yifanc17

Yifan Cheng
New Member
Hi @yifanc17 , I cloned your case and was able to get this to work by doing:

./xmlchange ATM_NX=1860
./xmlchange ATM_NY=801
./xmlchange LND_NX=1860
./xmlchange LND_NY=801

Not really sure why it works for an initial run and not for a restart, but in general those setting should be set to match your grids.
Hi Keith, thank you so much! Yeah I totally forgot about setting those before, now it works fine!
 
Top