Commit 6e0b5a80 authored by Nadine Wieters's avatar Nadine Wieters

Bugfix for _no-dynveg file flag on ollie pool meshes_default

parent c8c7db9b
......@@ -22,11 +22,14 @@ jsbach_set_defaults()
jsbach_nc=""
jsbach_message="${jsbach_message}; CD: had to set \$jsbach_nc manually to \"\""
else
# check if jsbach_nc is unset; otherweise it is set to empty string in runscript
if [ -z ${jsbach_nc+x} ]; then
jsbach_nc="_no-dynveg"
fi
jsbach_message="\t\tRunning WITHOUT dynamic vegetation"
if [[ "x${ADJUST_TO_FESOM_GRID_jsbach}" = "x1" ]]; then
if ! [[ "x${fesom_VERSION}" = "x2.0" ]] && [[ "x${machine_name}" = "xmistral" ]]; then
jsbach_nc="_no-dynveg"
else
jsbach_nc=""
fi
fi
jsbach_message="\t\tRunning WITHOUT dynamic vegetation"
fi
case $jsbach_DATASET in
......
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