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

BGC spinup error with own atmosphere data

qian yang

qian yang
Member
dear all
I create a case 1850_DATM%GSWP3v1_CLM50%BGC_SICE_SOCN_MOSART_SGLC_SWAV . I want to spin up my simulatio with my own atmosphere data.
I plan to run 200 years in “-bgc_spinup on” mode, from 1991-2010. do the following
./xmlchange CLM_ACCELERATED_SPINUP="on"
./xmlchange STOP_OPTION=nyears
./xmlchange STOP_N=20
./xmlchange RUN_STARTDATE=1991-01-01
./xmlchange DATM_CLMNCEP_YR_START=1991
./xmlchange DATM_CLMNCEP_YR_END=2010

but when I submit ,the error happen
(shr_dmodel_readstrm) file ub: /home/aircas/cesm/inputdata/atm/datm7/prec/clmforc.0.1x0.1.prec-2010-12.nc 248
(shr_dmodel_readstrm) file ub: /home/aircas/cesm/inputdata/atm/datm7/TPQWL/clmforc.0.1x0.1.TPQWL-2010-12.nc 248
(datm_comp_run) atm: model date 20001231 72000s
(datm_comp_run) atm: model date 20001231 73800s
(datm_comp_run) atm: model date 20001231 75600s
(shr_dmodel_readstrm) close : /home/aircas/cesm/inputdata/atm/datm7/solar/clmforc.0.1x0.1.solar-2010-12.nc
(shr_dmodel_readstrm) open : /home/aircas/cesm/inputdata/atm/datm7/solar/clmforc.0.1x0.1.solar-1991-01.nc
(shr_dmodel_readstrm) file ub: /home/aircas/cesm/inputdata/atm/datm7/solar/clmforc.0.1x0.1.solar-1991-01.nc 1
(datm_comp_run) atm: model date 20001231 77400s
(datm_comp_run) atm: model date 20001231 79200s
(datm_comp_run) atm: model date 20001231 81000s
ERROR: (shr_stream_readTCoord) ERROR: nf90_open file /home/aircas/cesm/inputdata/atm/datm7/prec/


I check the data prec data in 1991-01 ,do not find anything wrong. and I do not know why it read data from 2001-01 firstly, not 1991-01. is there something I change wrong? can anyone help me ?




 

Attachments

  • datm_in.txt
    1.3 KB · Views: 4
  • user_datm.streams.txt.CLMGSWP3v1.Precip.txt
    8.1 KB · Views: 8
  • user_datm.streams.txt.CLMGSWP3v1.Solar.txt
    8.3 KB · Views: 2
  • user_datm.streams.txt.CLMGSWP3v1.TPQW.txt
    8.4 KB · Views: 1
  • cesm.log.211004-014229.txt
    84.1 KB · Views: 4
  • cpl.log.211004-014229.txt
    1,015.1 KB · Views: 1
  • atm.log.211004-014229.txt
    47.8 KB · Views: 2

oleson

Keith Oleson
CSEG and Liaisons
Staff member
For a spinup, we usually set RUN_STARTDATE=0001-01-01, since the years aren't real years.
Also, set DATM_CLMNCEP_YR_ALIGN = 1. That will align the first model year (1) with the first year of forcing (1991).
See if that works.
 

qian yang

qian yang
Member
dear oleson
thank you for your help. But it still happened similar error, I checked my forcing data., don' t find problem .can you help me ?
 

Attachments

  • atm.log.211004-203509.txt
    10.2 KB · Views: 1
  • cesm.log.211004-203509.txt
    7.5 KB · Views: 1
  • cpl.log.211004-203509.txt
    41.1 KB · Views: 1

oleson

Keith Oleson
CSEG and Liaisons
Staff member
There is a blank line at the end of your user_datm.streams.txt.CLMGSWP3v1.Precip:

clmforc.0.1x0.1.prec-2010-08.nc
clmforc.0.1x0.1.prec-2010-09.nc
clmforc.0.1x0.1.prec-2010-10.nc
clmforc.0.1x0.1.prec-2010-11.nc
clmforc.0.1x0.1.prec-2010-12.nc

</fileNames>
<offset>
0
</offset>
</fieldInfo>

You could try removing that blank line. It may be interpreting that as a file name. I.e., the error is:

ERROR: (shr_stream_readTCoord) ERROR: nf90_open file /home/aircas/cesm/inputdata/atm/datm7/prec/
 

Zh Chen

chen
New Member
For a spinup, we usually set RUN_STARTDATE=0001-01-01, since the years aren't real years.
Also, set DATM_CLMNCEP_YR_ALIGN = 1. That will align the first model year (1) with the first year of forcing (1991).
See if that works.
Hi, Oleson!
DATM_CLMNCEP_YR_ALIGN means "starting year to loop data over (only used for CLM_QIAN mode)“ in env_run.xml CLM4.5, however, DATM_CLMNCEP_YR_ALIGN did not emphasize "only used only used for CLM_QIAN mode" in env_run.xml CLM5.0. So I need to modify DATM_CLMNCEP_YR_ALIGN, START and END when I run single-point that is not CLM_QIAN mode in CLM4.5 and CLM5.0? I always do not modify DATM_CLMNCEP_YR_ALIGN, START and END when I run single-point in CLM5.0, the result seems like no problem.
Thanks.
 

oleson

Keith Oleson
CSEG and Liaisons
Staff member
That first comment ("starting year to loop data over (only used for CLM_QIAN mode)“ was probably made when CLM_QIAN was the only forcing data we had. In general, you may need to modify ALIGN, START, and END for any forcing dataset unless the default settings from the compset are satisfactory for your use.
 
Top