Commit 9205a239 authored by Sebastian Milinski's avatar Sebastian Milinski
Browse files

Fixed a bug that broke processing of all experiments except PiCtrl

parent 45b14fe6
......@@ -196,7 +196,7 @@ for rrr in $(seq $run_0 $run_n); do
done
# merge ensemble into one file
if [[ $experiment -ne pictrl ]] ; then
if [[ ! $experiment == pictrl ]] ; then
ensfile=${outdir}/${varstring}_${experiment}_${yearstart}-${yearend}_ens_${run_0}-${run_n}.nc
if [ ! -f $ensfile ]; then
#concatenate the files and introduces a new record dimension called ens (order matters!)
......@@ -210,7 +210,7 @@ if [[ $experiment -ne pictrl ]] ; then
fi
echo "Splitting variables into files..."
if [[ $experiment -ne pictrl ]] ; then
if [[ ! $experiment == pictrl ]] ; then
cdo splitname $ensfile ${outdir}/${filestring}.
else
cdo splitname $curtmpdir/*${varstring}*.nc ${outdir}/${filestring}.
......
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