Commit 60eee01a authored by chrisdane's avatar chrisdane

try

parent c9e80a59
......@@ -201,10 +201,12 @@ jsbach_modify_forcing() {
;;
HIST)
for ((yr = YR0_jsbach; yr <= YRN_jsbach + 0; ++yr)) do
echo -e "\t\t jsbach: selecting year $yr from ${FORCING_DIR_jsbach}/Ndepo.1850-2014.nc"
echo -e "\t\tjsbach: selecting year $yr from ${FORCING_DIR_jsbach}/Ndepo.1850-2014.nc"
cdo selyear,${yr} ${FORCING_DIR_jsbach}/Ndepo.1850-2014.nc ${FORCING_DIR_jsbach}/foo${yr}.nc >> $dumpfile 2>&1
mv ${FORCING_DIR_jsbach}/foo${yr}.nc ${FORCING_DIR_jsbach}/Ndepo.${yr}.nc >> $dumpfile
add_to ${FORCING_DIR_jsbach}/Ndepo.${yr}.nc Ndepo.${yr}.nc work
echo "\$WF_jsbach=$WF_jsbach"
echo "\$work=$work"
add_to ${FORCING_DIR_jsbach}/Ndepo.${yr}.nc Ndepo.${yr}.nc
done
;;
1950)
......
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