aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2023-09-28 15:24:06 +0200
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2023-09-28 15:24:06 +0200
commit02f2fe0096fc2f66bf8d4a5849c1eb6b954d7c0b (patch)
tree2e98234b91f3728b2e58f24d0a6fa536fc2d09e7
parent3fa9fe634bb9e9d7e3786f3d3da56e7d3cf6686b (diff)
downloadmeteo_toolbox-02f2fe0096fc2f66bf8d4a5849c1eb6b954d7c0b.tar.gz
icon_download for EU
-rwxr-xr-xicon_download.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/icon_download.sh b/icon_download.sh
index 6dc2241..8b2eac9 100755
--- a/icon_download.sh
+++ b/icon_download.sh
@@ -79,7 +79,8 @@ for OFFSET in "${OFFSETS[@]}"; do
PARAMETER2=${PARAMETER}
fi
- URL="$BASE/$MODEL/grib/$RUN/$PARAMETER/${MODEL_LONG}_regular-lat-lon_single-level_${DATE}${RUN}_${OFFSET}_2d_${PARAMETER2}.grib2.bz2"
+ # !! Icon-D2 needs _2d_ between OFFSET and PARAMETER2
+ URL="$BASE/$MODEL/grib/$RUN/$PARAMETER/${MODEL_LONG}_regular-lat-lon_single-level_${DATE}${RUN}_${OFFSET}_${PARAMETER2}.grib2.bz2"
BNAME=$(basename "$URL")
echo Getting "$BNAME"
( wget -q --directory-prefix=$OUTDIR "$URL" || echo FAILED: "$BNAME" ) &