CAM3.1 Stand-alone
* Note this is unsupported
TraCE CAM3.1 Stand-alone with multi-year climate forcing - expert users only
This page describes a step-by-step process for running the 22,000 year TraCE simulation using the stand-alone version of CAM3.1. This describes an AMIP-stype forcing where CAM is forced by a multi-year climate forced by a 50 year SSTs (as opposed to a 12 month repeating climatology). SST forcing is estimated using TS and ICE_FRAC extracted from atmosphere history files.
Steps
- Download the TraCE Roadmap.pdf for reference.
-
Copy original source code to your directory:
-
cp -pR /glade/proj2/cgd/ccr/paleo/TRACE/SA-T31 to myPath
-
- Choose the TraCE time slice or period of interest (POI) you want to use (e.g., 14.5ka).
- Identifiy the case name (CASEID) that corresponds to the time period you have chosen. In this case, the TraCE Roadmap shows that there are two TraCE timeslices that bookend the years 14.5: b30.14_9kaDVT and b30.14_35kaDVT. You would use the b30.14_9kaDVT simulation because as the model runs forward in time, it counts down toward the present day through year 14.5.
- Identify the years within this time slice that correlate to your POI. e.g., 14.5ka = 14.9yr0 + 400y = 14.9yr400 = 14.5ka
- If you can't find the required restart, initial, surface-dataset or history files, notify NCAR (nanr@ucar.edu) with an email that identifies your caseid (b30.14_9kaDVT), and start year.
- Create a 51y SST and sea ice timeseries using TS and ICEFRAC from the atm history files as proxies for SST and sea ice.
- machine: mirage0
- create a working directory:
- If you are on mirage0, use this path: /glade/user/<USER>/TRACE/b30.14_9kaDVT
- srcDir: /SA-T31/source/
- script: mk_51y_SST.120109.pl
- infile: (atm history files)
- outfile: b30.14_9kaDVT.450-500_SST.<DATE>.nc
- Create the CAM initial condition file (cami). Note that the forcing file will have 50yrs of 12 month records, plus the previous December, for a total of ((nyrs*12) + 1) records
- machine: mirage0
- srcDir: /SA-T31/source/
- script: mk_sst_cam_forcing_file.ncl
- input: b30.14_9kaDVT_ic_48x96_climo.531-550.<DATE>.nc
- output: sst_ic_b30.14_9kaDVT.053112-055012.<DATE>.nc
- Extract the greenhouse gases for your time period
- machine: bluefire
- srcDir: /SA-T31/cam_runs/scripts
- script: calc_ghg.ncl
- modify script for your time period and run script.
- output file: ghg_14.37kaBP.txt
- Set up and run the production simulation.
- machine: bluefire
- srcDir: /SA-T31/cam_runs/scripts/
- script: bld-production.csh
- modify the build script to point to your newly created forcing files.
- build your production case: ./bld-production.csh
- run your production case: bsub < run-cam.csh
- Archive history files using an automated script:
- source: ~nanr/tools/archiveFiles.pl
- modify script for your CASEID.
- copy into your run directory and manually start the script:
- usage: ./archiveFiles.pl
- Note: The script first checks for the history files on the HPSS, then writes all history/rest/init files to the HPSS, then moves the local copy to your local /ptmp/user/archive/CASEID directory. You must delete them from there once you are satisfied the archiver is working properly to store your files on the HPSS.
- Alternate: Archive history files to HPSS (manually):
- cd /ptmp/<USER>/<my-run-path>/rundir/
- log onto the HPSS (this will put you in your home directory: e.g., /home/nanr/): hsi -P
- create a new case directory: (e.g., mkdir cam_b30.14_37kaDVT_T85)
- cd cam_b30.14_37kaDVT_T85/
- create land and atm subdirectories: mkdir [lnd,atm]/[hist,rest,init]. e.g.:
- mkdir lnd
- mkdir lnd/hist
- mkdir lnd/rest
- mkdir lnd/init
- cd to those directories and put your files there: e.g.:
- cd lnd/rest
- put CASEID.clm2.r.0001-01.nc
Notes
- Customize the "user modification" section for each source code for your time period (POI) and the filenames of the new files you create. Look for CASEID or <CASEID> or <POI> for places you need to modify the code. Most steps of the code will automatically look for the input files and place the output files in directories relative to the source directory.
- POI = "Period of Interest"
- CASEID = TraCE name (e.g., b30.14_9kaDVT)
- perl script usage: ./mk_51y_SST.pl
- ncl script usage: ncl mk_sst_cami_forcing.ncl
- Download a copy of Feng's thesis here.
ORNL Notes for retrieving restart files
hsi: cd /home/fenghe/CCSM/b30.14_9kaDVT/restart.tars
hsi: [/home/fenghe/CCSM/b30.14_9kaDVT/restart.tars]: get b30.14_9kaDVT.ccsm.r.0401-01-01-00000.080724-122437.tar
Original source code
- /glade/proj2/cgd/ccr/paleo/TRACE/
- cp -pR SA-T31 to myPath