Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
LIVVkit
lex
Commits
f9166f12
Commit
f9166f12
authored
Sep 05, 2018
by
Evans, Katherine
Browse files
change e3sm script to point to the DECK sim
parent
a8a226b3
Changes
1
Hide whitespace changes
Inline
Side-by-side
postproc/e3sm1p0/main_e3sm.sh
View file @
f9166f12
...
...
@@ -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
=
20180
6
12
.B_case.T62_oEC60to30v3wLI.modified_runoff_mapping
.edison
year_start
=
0
0
70
year_end
=
0
075
case
=
2018012
9.DECKv1b_piControl.ne30_oEC
.edison
year_start
=
0
4
70
year_end
=
0
498
#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"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment