From a41ea29a491d5c1554079eb45001e2a056ec570b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Oriol=20Tint=C3=B3?= <oriol.tinto@lmu.de>
Date: Wed, 28 Jun 2023 09:44:25 +0200
Subject: [PATCH] Download icon_grid_0024_R02B06_G.nc

---
 templates/event-generator/prepare_experiment.sh | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/templates/event-generator/prepare_experiment.sh b/templates/event-generator/prepare_experiment.sh
index b2ca95e..5fc9025 100644
--- a/templates/event-generator/prepare_experiment.sh
+++ b/templates/event-generator/prepare_experiment.sh
@@ -61,6 +61,10 @@ download_file $BASEURL/${DYNAMICS_GRID_FILENAME}
 download_file $BASEURL/${RADIATION_GRID_FILE}
 download_file $BASEURL/${EXTERNAL_PARAMETERS_FILE}
 
+if [[ ${DYNAMICS_GRID_FILENAME} != "icon_grid_0024_R02B06_G.nc" ]] ; then
+  download_file $BASEURL/"icon_grid_0024_R02B06_G.nc"
+fi
+
 # In case the grfinfo files exist, we download them as well
 RADIATION_GRID_INFO_FILE=$( get_grfinfo_file ${RADIATION_GRID_FILE} )
 DYNAMICS_GRID_INFO_FILE=$( get_grfinfo_file ${DYNAMICS_GRID_FILENAME} )
-- 
GitLab