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

Namelist variable "prescribed_ozone_filelist"

Li1108

New Member
I want to run CESM from 1979 to 2020, but the default ozone input data (ozone_1.9x2.5_L26_1850-2005_c091112.nc) stops at 2005. I want to run the model using the scenario RCP8.5 after 2005, so I put another data (ozone_rcp85_v1_1.9x2.5_L26_1995-2105_c100202.nc) in the file "ozone_filelist.txt" and specify the variable "prescribed_aero_filelist":
prescribed_ozone_filelist='ozone_filelist.txt'
So that the model can read the ozone data after 2005 automatically from the file ozone_rcp85_v1_1.9x2.5_L26_1995-2105_c100202.nc. However, it seems that the model failed to do this. I checked the cesm.log and it gives the error message:
(shr_sys_abort) ERROR: not able to increment file name from filenames_list file: ozone_filelist.txt
I have attached the ozone_filelist.txt. Can anyone help me look into this?
 

Attachments

  • ozone_filelist.txt
    90 bytes · Views: 6

peverley

Courtney Peverley
Moderator
Staff member
Hi!

Have you set the prescribed_ozone_datapath variable?

This is the directory that contains the files listed in prescribed_ozone_filelist (ozone_1.9x2.5_L26_1850-2005_c091112.nc and ozone_rcp85_v1_1.9x2.5_L26_1995-2105_c100202.nc) and also ideally the prescribed_ozone_filelist file (ozone_filelist.txt) itself.

For example, if I had all of three files in the /home/test/ozone directory your user_nl_cam could look like:

prescribed_ozone_datapath = /home/test/ozone'
prescribed_ozone_filelist='ozone_filelist.txt'

ozone_filelist.txt and your files listed therein will be relative to the prescribed_ozone_datapath directory.

Let me know if that is confusing or doesn't help.
Courtney
 

Li1108

New Member
Hi!

Have you set the prescribed_ozone_datapath variable?

This is the directory that contains the files listed in prescribed_ozone_filelist (ozone_1.9x2.5_L26_1850-2005_c091112.nc and ozone_rcp85_v1_1.9x2.5_L26_1995-2105_c100202.nc) and also ideally the prescribed_ozone_filelist file (ozone_filelist.txt) itself.

For example, if I had all of three files in the /home/test/ozone directory your user_nl_cam could look like:

prescribed_ozone_datapath = /home/test/ozone'
prescribed_ozone_filelist='ozone_filelist.txt'

ozone_filelist.txt and your files listed therein will be relative to the prescribed_ozone_datapath directory.

Let me know if that is confusing or doesn't help.
Courtney
Hi Courtney,

Thanks for your reply!

If I have three files, say ozone_1850-2005.nc, ozone_2006-2030.nc and ozone_2031-2050.nc and I need all these three files. Do I need to specify the prescribed_ozone_file as the first file and put the filenames of another two files in a file (say ozone_filelist.txt) and give it to prescribed_ozone_filelist? Or just only put the names of all these three files in a file and give it to prescribed_ozone_filelist and do not specify prescribed_ozone_file? I just get confused by the use of these two namelist variables. I am also confused by the use of other similar variables like prescribed_ghg_filelist and prescribed_ghg_file.

Best,
Li
 

peverley

Courtney Peverley
Moderator
Staff member
Hi Li,

You should put the filenames of all of the files in a file (say ozone_filelist.txt) and then prescribed_ozone_filelist will point to that file. Does that help?
 
Top