-
Notifications
You must be signed in to change notification settings - Fork 1
Configuration Variables
Christopher Geiger edited this page Feb 7, 2020
·
5 revisions
Below is a short list of variables which can be configured by adding them to the config.sh
file and calling ./config.sh
, or by directly editing the Variables.env
file.
The root of your cesm
directory. You could list the path directly, e.g.
cesm_root=/glade/u/home/chrgeiger/test/cesm-unifying-scripts/tools/mapping
or run generate the path using some bash command(s), e.g.
cesm_root=$(cd ../.. && pwd) # Go two directories up, and print the path where I land
The location of the gen_mapping_files
directory, within your cesm
folder. This is usually just:
gen_mapping_files=${cesm_root}/tools/mapping/gen_mapping_files
The number of i and j ocn landpoints (longitude/latitude). E.g.
nx=320 # number of i ocn gridpoints (longitudes)
ny=394 # number of j ocn gridpoints (latitudes)
Default:
scripdir=/gpfs/fs1/p/cgd/ccr/people/ranfeng/plio_bnd/PlioMIP_enh/cpl_mapping/scrip1.4/
Location of horiz_grid_plioenh_070820.ieeer8
. Usually just:
popgridfile=${gen_mapping_files}/horiz_grid_plioenh_070820.ieeer8
Location of topography_plio_enh_gx1v6_190619.CESM2_modMed.ieeei4
. Usually just:
kmtgridfile=${gen_mapping_files}/topography_plio_enh_gx1v6_190619.CESM2_modMed.ieeei4
Default:
ocngridname='plio_enh'
This date will be used in the names of the generated files. Must be in the format YYMMDD
.
For example,
DATE=$(date +%y%m%d) # Sets DATE to the current day
For example,
ocnres='gx1v6plioenh'
ocngridfile=${ocnres}_${DATE}.nc