We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2fa5eb5 commit 6338220Copy full SHA for 6338220
1 file changed
ctl/sim_ctl/sim_config.sh
@@ -273,6 +273,9 @@ if [[ "${run_oasis}" == true ]]; then
273
274
parse_config_file ${conf_file} "sim_config_oas"
275
276
+# set defaults
277
+ geo_dir_oas=${geo_dir_oas:-${geo_dir}/oasis/static}
278
+
279
# copy namelist
280
cp ${nml_dir}/oasis/namcouple_${modelid} namcouple
281
@@ -288,9 +291,9 @@ if [[ "${run_oasis}" == true ]]; then
288
291
sed -i "s/__parflowgpy__/$pfl_ngy/" namcouple
289
292
290
293
# copy remap-files
- [[ "$lreal" == "true" ]] && cp ${geo_dir}/oasis/static/masks.nc .
294
+ [[ "$lreal" == "true" ]] && cp ${geo_dir_oas}/masks.nc .
295
if [[ "${modelid}" == *parflow* ]]; then
- cp ${geo_dir}/oasis/static/rmp* .
296
+ cp ${geo_dir_oas}/rmp* .
297
fi
298
299
fi # if modelid == oasis
0 commit comments