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

CAM 5 File Path

hsalah

hsalah
New Member
Hello,
I have an issue with rad_diag_2 ,ncdata and &rad_cnst_nl; it is at a default file path and I am unable to change it to my file path because I do not have the data.

I have copied my terminal screen:

ncdata = '/scratch/geo/unger/yh463/EMISSION/CAM5_SD/fgeos.e12_rel07_chem.FSDSMAM.f19.f19.relv1.cam.i.2006.1x_56L.nc'


rad_diag_1 = 'A:Q:H2O', 'N:O2:O2',


'A:CO2:CO2', 'A:O3:O3',


'A:N2O:N2O', 'A:CH4:CH4',


'A:CFC11:CFC11', 'A:CFC12:CFC12'


rad_diag_2 = 'A:Q:H2O', 'N:O2:O2',


'A:CO2:CO2', 'A:O3:O3',


'A:N2O:N2O', 'A:CH4:CH4',


'A:CFC11:CFC11', 'A:CFC12:CFC12',


'M:mam3_mode1_noBC:/scratch/geo/fedorov/bpd6/Data/CESM/1.0/inputdata/atm/cam/physprops/mam3_mode1_rrtmg_c110318.nc',


'M:mam3_mode2:/scratch/geo/fedorov/bpd6/Data/CESM/1.0/inputdata/atm/cam/physprops/mam3_mode2_rrtmg_c110318.nc',


'M:mam3_mode3:/scratch/geo/fedorov/bpd6/Data/CESM/1.0/inputdata/atm/cam/physprops/mam3_mode3_rrtmg_c110318.nc'


rad_diag_3 = 'A:Q:H2O', 'N:O2:O2',


'A:CO2:CO2', 'A:O3:O3',


'A:N2O:N2O', 'A:CH4:CH4',


'A:CFC11:CFC11', 'A:CFC12:CFC12',


'M:mam3_mode1_noPOM:/scratch/geo/fedorov/bpd6/Data/CESM/1.0/inputdata/atm/cam/physprops/mam3_mode1_rrtmg_c110318.nc',


'M:mam3_mode2:/scratch/geo/fedorov/bpd6/Data/CESM/1.0/inputdata/atm/cam/physprops/mam3_mode2_rrtmg_c110318.nc',


'M:mam3_mode3:/scratch/geo/fedorov/bpd6/Data/CESM/1.0/inputdata/atm/cam/physprops/mam3_mode3_rrtmg_c110318.nc'
____________________________________________
Appreciate any help on this.
-Thank You
 

nusbaume

Jesse Nusbaumer
CSEG and Liaisons
Staff member
Hi Hsalah,

I don't think I fully understand your question, but you can specify where the model will look for input data by modifying the variable DIN_LOC_ROOT in the env_run.xml file in your case directory. Also please note that if you are using only default inputs then you can run the script:

./check_input_data --download

in your case directory to download the input files into the directory specified by DIN_LOC_ROOT.

However, if you have any personally-created input files then you will need to add them manually by adding the namelist variables of interest to your user_nl_cam file and then modifying them to point to the correct inputs. For example, if you need to point to a modified "ncdata" file, then you would add the line:

ncdata = '/path/to/file/<ncdata_file_name>.nc'

to user_nl_cam, with the actual path and file name being whatever you have decided on.

Hope that helps, and have a great day!

Jesse
 
Top