Skip to content
Snippets Groups Projects
Commit 27cec82b authored by Michael Langguth's avatar Michael Langguth
Browse files

Corrected calculation of min and max year in runscript 'preprocess_data_era5_step1_template.sh'

parent 61592359
No related branches found
No related tags found
No related merge requests found
Pipeline #46483 failed
......@@ -41,8 +41,8 @@ declare -a years=(
"2017"
)
max_year=`echo "${years[*]}" | sort -nr | head -n1`
min_year=`echo "${years[*]}" | sort -nr | tail -n1`
max_year=$( printf "%d\n" "${years[@]}" | sort -n | tail -1 )
min_year=$( printf "%d\n" "${years[@]}" | sort -nr | tail -1 )
# set some paths
# note, that destination_dir is used during runtime to set a proper experiment directory
exp_id=xxx # experiment identifier is set by 'generate_workflow_runscripts.sh'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment