File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -273,6 +273,9 @@ if [[ "${run_oasis}" == true ]]; then
273273
274274 parse_config_file ${conf_file} " sim_config_oas"
275275
276+ # set defaults
277+ geo_dir_oas=${geo_dir_oas:- ${geo_dir} / oasis/ static}
278+
276279# copy namelist
277280 cp ${nml_dir} /oasis/namcouple_${modelid} namcouple
278281
@@ -288,9 +291,9 @@ if [[ "${run_oasis}" == true ]]; then
288291 sed -i " s/__parflowgpy__/$pfl_ngy /" namcouple
289292
290293# copy remap-files
291- [[ " $lreal " == " true" ]] && cp ${geo_dir} /oasis/static /masks.nc .
294+ [[ " $lreal " == " true" ]] && cp ${geo_dir_oas} /masks.nc .
292295 if [[ " ${modelid} " == * parflow* ]]; then
293- cp ${geo_dir} /oasis/static /rmp* .
296+ cp ${geo_dir_oas} /rmp* .
294297 fi
295298
296299fi # if modelid == oasis
You can’t perform that action at this time.
0 commit comments