-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathwarm-start.sh
executable file
·32 lines (24 loc) · 999 Bytes
/
warm-start.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#!/bin/bash
# Initialise an ACCESS-ESM Payu run from another experiment
#
# This script sets values specific to the experiment, it then calls the common
# 'warm-start' from the scripts directory which performs the copy and sets the
# start dates for all the component models to the date in config.yaml
set -eu
# Either CSIRO or PAYU
source=CSIRO
if [ $source == "CSIRO" ]; then
# CSIRO job to copy the warm start from
project=p66
user=cm2704
export expname=HI-08 # Source experiment - PI pre-industrial, HI historical
export source_year=2015 # Change this to create different ensemble members
export csiro_source=/g/data/$project/$user/archive/ACCESS-ESM1-5/$expname/restart
# Call the main warm-start script
scripts/warm-start-csiro.sh
else
# Payu restart directory to copy
export payu_source=/scratch/w35/saw562/access-esm/archive/esm-historical/restart001
# Call the main warm-start script
scripts/warm-start-payu.sh
fi