How to correctly specify external CO2 data for datm components?

Ambition_hhh

Ambition_hhh
New Member
I want the model to use my own carbon dioxide data,

so

I have added the following content to the user_nl_datm:


&datm_inparm
co2_file ='/home/hlh/cesm/inputdata/atm/datm7/CO2/co2_AERmon_CESM2_historical_r10i1p1f1_gn_200001-201412.nc'
/

but......


hlh@hlh:~/clm5.0/cime/scripts/MYCO2DATA$ ./case.build --skip-provenance-check
Building case in directory /home/hlh/clm5.0/cime/scripts/MYCO2DATA
sharedlib_only is False
model_only is False
Setting resource.RLIMIT_STACK to -1 from (-1, -1)
Generating component namelists as part of build
Creating component namelists
Calling /home/hlh/clm5.0/cime/src/components/data_comps/datm/cime_config/buildnml
ERROR: Variable 'co2_file' from file '/home/hlh/clm5.0/cime/scripts/MYCO2DATA/Buildconf/datmconf/namelist_infile' is not in the namelist definition.
hlh@hlh:~/clm5.0/cime/scripts/MYCO2DATA$
 

slevis

Moderator
Staff member
I'm working with newer versions of the model, so this may not apply to clm5.0, but I find the co2 stream being set in my case's datm.streams.xml.

Here's an approach that often works for me:
You could set up a default IHist case to see where the model sets the co2 file, and only then would I start making changes.

Also you may need to carefully read this and related sections of the documentation:
 

Ambition_hhh

Ambition_hhh
New Member
I'm working with newer versions of the model, so this may not apply to clm5.0, but I find the co2 stream being set in my case's datm.streams.xml.

Here's an approach that often works for me:
You could set up a default IHist case to see where the model sets the co2 file, and only then would I start making changes.

Also you may need to carefully read this and related sections of the documentation:
Thank you for your answer, but I still don't quite understand the specific operation. Looking forward to hearing from you!
 

slevis

Moderator
Staff member
If you do not understand my suggestion, I recommend that you get training in the use of the model. You will find documentation online. You may also attend cesm tutorials that are offered occasionally.

(For my reference: The same topic is discussed here.)
 
Last edited:
Back
Top