Commit f9166f12 authored by Evans, Katherine's avatar Evans, Katherine
Browse files

change e3sm script to point to the DECK sim

parent a8a226b3
......@@ -29,14 +29,15 @@ if [[ $(hostname -s) = rhea* ]]; then
mask_file=/lustre/atlas1/$project/world-shared/4ue/$case/postproc/masks/mask_ne30np4_notime.nc
obs_mask_file=/lustre/atlas1/$project/world-shared/4ue/$case/postproc/masks/E3SMv1_ne30.clm2.gris_mask.nc
postprocess_obs=false
elif [[ $(hostname -s) = cori* ]]; then
#user settings
project=piscees
case=20180612.B_case.T62_oEC60to30v3wLI.modified_runoff_mapping.edison
year_start=0070
year_end=0075
case=20180129.DECKv1b_piControl.ne30_oEC.edison
year_start=0470
year_end=0498
#need to specify prebase if using data created by someone else until masks are written with sim output
prebase=/global/cscratch1/sd/dcomeau/acme_scratch/edison/archive
# prebase=/global/cscratch1/sd/golaz/ACME_simulations
base=/global/cscratch1/sd/$USER/acme_scratch/edison
path=$base/$case
outpath=/global/cscratch1/sd/$USER/$case/postproc
......@@ -51,11 +52,25 @@ elif [[ $(hostname -s) = cori* ]]; then
else
echo "machine not recognized"
fi
# this copy to local dir can be removed once masks are written with sim output
#if test -d $prebase/$case; then
# echo "Creating user owned target path for output data"
# mkdir -p $base/$case/atm/hist
# mkdir -p $base/$case/lnd/hist
# cp -uvr $prebase/$case/archive/atm/hist/*.04* $path/atm/hist
# cp -uvr $prebase/$case/archive/lnd/hist/*.04* $path/atm/hist
#else
# exit
#fi
version=e3sm
atm_vars=("PSL" "CLDLOW" "CLDHGH" "CLDMED" "CLDTOT" "TREFHT" "TS" "TSMX" "TSMN" "PRECC" "PRECL")
lnd_h0_vars=("FSDS" "QRUNOFF" "QSOIL" "TSA" "RAIN" "SNOW" "FIRA" "FLDS" "FSH" "QSNOMELT")
#glc_vars=("acab" "thk")
# END OF USER INPUT SECTION
mkdir -p $outpath
echo "$version"
......@@ -65,17 +80,6 @@ echo "$version"
lnd=clm2
atm=cam
# this copy to local dir can be removed once masks are written with sim output
if test -d $prebase/$case; then
echo "Creating user owned target path for output data"
mkdir -p $base/$case/atm
mkdir -p $base/$case/lnd
cp -uvr $prebase/$case/atm $path
cp -uvr $prebase/$case/lnd $path
else
exit
fi
#run a check, is the requested data directory there?
if test -d $path; then
echo "Directory $path exists"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment