How to modify my own data forcing in DATM

cesm_beginner

Deyuan Zhang
New Member
Hello,guys!

I want to force the POP2 using my own forcing. The compset I used is JRA_HR, which uses JRA55 data with TL319 grids. I have made my own yearly data by referring JRA55. I set the time as hours since 0001-01-01 as I want to force the POP repeatedly with one year.
I have finished copying CaseDocs/datm.streams.txt.* to my CASEROOT and prepended user_. Besides, I also changed user_nl_datm with streams = "user_datm.streams.txt.* 1 1 1".......

However, I got errors when initializing the model like:
(shr_stream_init) Reading file user_datm.streams.txt.CORE_IAF_JRA_1p4_2018.GCGCS.PREC
(shr_stream_init) ERROR: unexpected end-of-file while reading <dataSource>
(shr_stream_init) error code = ^]^@^@^@
ERROR: (shr_stream_init) ERROR: unexpected end-of-file

it seems like the model cannot read in the user_* files. I made lots of experiments. For example, I delete the user_datm.streams.txt* and just modifies the user_nl_datm with "user_datm.streams.txt.* 1 1958 1958"....... The model can perfectly run. However, if I create user_datm.streams.txt* files, in which the contents are exactly the same as default files in CaseDocs except I delete other filenames from 1959-2018, the model will abort.

Anyway, it seems like if I create user_datm.streams.txt* files, the model cannot run.
 

komorebi

komorebi
New Member
Hello,guys!

I want to force the POP2 using my own forcing. The compset I used is JRA_HR, which uses JRA55 data with TL319 grids. I have made my own yearly data by referring JRA55. I set the time as hours since 0001-01-01 as I want to force the POP repeatedly with one year.
I have finished copying CaseDocs/datm.streams.txt.* to my CASEROOT and prepended user_. Besides, I also changed user_nl_datm with streams = "user_datm.streams.txt.* 1 1 1".......

However, I got errors when initializing the model like:
(shr_stream_init) Reading file user_datm.streams.txt.CORE_IAF_JRA_1p4_2018.GCGCS.PREC
(shr_stream_init) ERROR: unexpected end-of-file while reading <dataSource>
(shr_stream_init) error code = ^]^@^@^@
ERROR: (shr_stream_init) ERROR: unexpected end-of-file

it seems like the model cannot read in the user_* files. I made lots of experiments. For example, I delete the user_datm.streams.txt* and just modifies the user_nl_datm with "user_datm.streams.txt.* 1 1958 1958"....... The model can perfectly run. However, if I create user_datm.streams.txt* files, in which the contents are exactly the same as default files in CaseDocs except I delete other filenames from 1959-2018, the model will abort.

Anyway, it seems like if I create user_datm.streams.txt* files, the model cannot run.
Have you solved the problem? I had a similar problem.
 
Back
Top