File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed
Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ if [[ "${modelid}" == *parflow* ]]; then
8585
8686 # Restart
8787 mkdir -p ${simout_dir} /rst/parflow ${simrst_dir} /parflow
88- pflnout=$( printf " %05d" $( echo " $simlenhr / $ pfloutfrq" | bc) )
88+ pflnout=$( printf " %05d" $( echo " ${ simlenhr} / ( ${ pfloutfrq} * ${pfloutmfilt} ) " | bc) )
8989# cp -v $(ls -1 ${sim_dir}/*.out.?????.nc | tail -1) ${simout_dir}/rst/parflow
9090 # save twice as simout is archived
9191 cp -v ${sim_dir} /${EXP_ID} .out.${pflnout} .nc ${simout_dir} /rst/parflow
Original file line number Diff line number Diff line change @@ -220,6 +220,7 @@ if [[ "${modelid}" == *parflow* ]]; then
220220 parflow_base=${parflow_base:- 0.0025}
221221# parflow_inifile=${frc_dir}/parflow/ini/ic_press.pfb
222222 pfloutfrq=${pfloutfrq:- 1.0}
223+ pfloutmfilt=${pfloutmfilt:- 24}
223224
224225# copy namelist
225226 cp ${nml_dir} /parflow/ascii2pfb_slopes.tcl ascii2pfb_slopes.tcl
@@ -247,9 +248,9 @@ if [[ "${modelid}" == *parflow* ]]; then
247248 sed -i " s/__dump_pfl_interval__/$pfloutfrq /" coup_oas.tcl
248249 sed -i " s/__pfl_casename__/$EXP_ID /" coup_oas.tcl
249250 sed -i " s#__inifile__#$( basename " $fini_pfl " ) #" coup_oas.tcl
251+ sed -i " s/__pfloutmfilt__/${pfloutmfilt} /" coup_oas.tcl
250252 sed -i " s/__pfl_expid__/$EXP_ID /" slm_multiprog_mapping.conf
251253
252-
253254 # --- execute ParFlow distributeing tcl-scripts
254255 export PARFLOW_DIR=${tsmp2_install_dir}
255256 tclsh ascii2pfb_slopes.tcl
You can’t perform that action at this time.
0 commit comments