-
Notifications
You must be signed in to change notification settings - Fork 0
/
prepare_input_extPPI.sh
33 lines (28 loc) · 1.27 KB
/
prepare_input_extPPI.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
######################################
## Prepare input data for 3DBC
## Input data = bias-adjusted RCM data
######################################
BASEDIR=/lustre/storeC-ext/users/kin2100/MET/3DBC/application/CMIP6/work
cd ${BASEDIR}
################################
## Link data from NVE on ext-PPI
################################
# Current climate
#################
for var in pr tas tasmin tasmax sfcWind hurs ps rlds rsds
do mkdir -p ${BASEDIR}/${var}/Cur
cd ${BASEDIR}/${var}/Cur
for model in cnrm-r1i1p1f2-racmo #miroc-r1i1p1f1-icon mpi-r1i1p1f1-icon mpi-r1i1p1f1-racmo ecearth-r1i1p1f1-racmo ecearthveg-r1i1p1f1-cclm mpi-r1i1p1f1-hclim cnrm-r1i1p1f2-hclim ecearthveg-r1i1p1f1-hclim noresm-r1i1p1f1-hclim
do ln -s /lustre/storeC-ext/users/kin2100/NVE/EQM/CMIP6/${model}/${var}/hist/* .
done
done
# Future climate
################
cd ${BASEDIR}
for var in pr tas tasmin tasmax sfcWind hurs ps rlds rsds
do mkdir -p ${BASEDIR}/${var}/Fut
cd ${BASEDIR}/${var}/Fut
for model in cnrm-r1i1p1f2-racmo #miroc-r1i1p1f1-icon mpi-r1i1p1f1-icon mpi-r1i1p1f1-racmo ecearth-r1i1p1f1-racmo ecearthveg-r1i1p1f1-cclm mpi-r1i1p1f1-hclim cnrm-r1i1p1f2-hclim ecearthveg-r1i1p1f1-hclim noresm-r1i1p1f1-hclim
do ln -s /lustre/storeC-ext/users/kin2100/NVE/EQM/CMIP6/${model}/${var}/ssp370/* .
done
done