Commit 2bde0ded authored by Fabian Wachsmann's avatar Fabian Wachsmann
Browse files

Changed cdo binary

parent b330a848
#!/bin/sh
#Program:
cdo=/home/dkrz/k204210/cdo-git/src/cdo
cdo=/work/bm0021/cdo_climateindices/cdo_cei/bin/cdo
#
#Switches:
#
prepareTimeseries=Y
startyear=2071
endyear=2100
#
tnn=Y
tnx=Y
......@@ -28,6 +26,9 @@ experiment_id=ssp585
member_id=r1i1p1f1
version=v20190710
#
startyear=2071
endyear=2100
#
#Raw Files:
#
rawTasmax=${root}/${activity_id}/${institution_id}/${source_id}/${experiment_id}/${member_id}/day/tasmax/gn/${version}/
......@@ -45,9 +46,9 @@ prMerged=${mergedDir}/pr_${source_id}_${experiment_id}_${member_id}_${startyear}
#
if [[ $prepareTimeseries ]]; then
for yearfrag in `seq ${startyear:0:3} 1 ${endyear:0:3}`; do
# mergetermTasmax="${mergetermTasmax} ${rawTasmax}*${yearfrag}*"
# mergetermTasmin="${mergetermTasmin} ${rawTasmin}*${yearfrag}*"
# mergetermPr="${mergetermPr} ${rawPr}*${yearfrag}*"
mergetermTasmax="${mergetermTasmax} ${rawTasmax}*${yearfrag}*"
mergetermTasmin="${mergetermTasmin} ${rawTasmin}*${yearfrag}*"
mergetermPr="${mergetermPr} ${rawPr}*${yearfrag}*"
done
$cdo selyear,${startyear}/${endyear} -mergetime [ ${mergetermTasmax} ] ${tasmaxMerged}
$cdo selyear,${startyear}/${endyear} -mergetime [ ${mergetermTasmin} ] ${tasminMerged}
......
#!/bin/sh
#Program:
cdo=/home/dkrz/k204210/cdo-git/src/cdo
cdo=/work/bm0021/cdo_climateindices/cdo_cei/bin/cdo
#
#Switches:
#
#prepareTimeseries=Y
startyear=1961
endyear=1990
#
#percentiles=Y
csdi=Y
......@@ -25,6 +23,9 @@ experiment_id=historical
member_id=r1i1p1f1
version=v20190710
#
startyear=1961
endyear=1990
#
#Raw Files:
#
rawTasmax=${root}/${activity_id}/${institution_id}/${source_id}/${experiment_id}/${member_id}/day/tasmax/gn/${version}/
......@@ -44,7 +45,7 @@ if [[ $prepareTimeseries ]]; then
for yearfrag in `seq ${startyear:0:3} 1 ${endyear:0:3}`; do
mergetermTasmax="${mergetermTasmax} ${rawTasmax}*${yearfrag}*"
mergetermTasmin="${mergetermTasmin} ${rawTasmin}*${yearfrag}*"
mergetermPr="${mergetermpr} ${rawPr}*${yearfrag}*"
mergetermPr="${mergetermPr} ${rawPr}*${yearfrag}*"
done
$cdo selyear,${startyear}/${endyear} -mergetime [ ${mergetermTasmax} ] ${tasmaxMerged}
$cdo selyear,${startyear}/${endyear} -mergetime [ ${mergetermTasmin} ] ${tasminMerged}
......
#!/bin/sh
#Program:
cdo=/home/dkrz/k204210/cdo-git/src/cdo
cdo=/work/bm0021/cdo_climateindices/cdo_cei/bin/cdo
#
#Switches:
#
......
......@@ -4,28 +4,29 @@ cdo=/work/bm0021/cdo_climateindices/cdo_cei/bin/cdo
#
#Switches:
#
#prepareTimeseries=Y
startyear=1961
endyear=1990
prepareTimeseries=Y
#
#fd=Y
fd=Y
su=Y
#id=Y
id=Y
tr=Y
#r10=Y
#r1=Y
#r20=Y
r10=Y
r1=Y
r20=Y
#
#Raw directory:
#
root=/work/ik1017/CMIP6/data/CMIP6/
activity_id=CMIP
institution_id=MPI-M
activity_id=ScenarioMIP
institution_id=DKRZ
source_id=MPI-ESM1-2-HR
experiment_id=historical
experiment_id=ssp585
member_id=r1i1p1f1
version=v20190710
#
startyear=2071
endyear=2100
#
#Raw Files:
#
rawTasmax=${root}/${activity_id}/${institution_id}/${source_id}/${experiment_id}/${member_id}/day/tasmax/gn/${version}/
......@@ -45,7 +46,7 @@ if [[ $prepareTimeseries ]]; then
for yearfrag in `seq ${startyear:0:3} 1 ${endyear:0:3}`; do
mergetermTasmax="${mergetermTasmax} ${rawTasmax}*${yearfrag}*"
mergetermTasmin="${mergetermTasmin} ${rawTasmin}*${yearfrag}*"
mergetermPr="${mergetermpr} ${rawPr}*${yearfrag}*"
mergetermPr="${mergetermPr} ${rawPr}*${yearfrag}*"
done
$cdo selyear,${startyear}/${endyear} -mergetime [ ${mergetermTasmax} ] ${tasmaxMerged}
$cdo selyear,${startyear}/${endyear} -mergetime [ ${mergetermTasmin} ] ${tasminMerged}
......
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