From d6bc274ef151c00fce760e6f69ad2fc5a0956347 Mon Sep 17 00:00:00 2001
From: Matthieu Schaller <schaller@strw.leidenuniv.nl>
Date: Mon, 6 May 2019 10:15:47 +0200
Subject: [PATCH] Added scripts to recover the cooling and yield tables in the
 EAGLE ICs main directory.

---
 examples/EAGLE_ICs/README                  | 4 ++++
 examples/EAGLE_ICs/getEagleCoolingTable.sh | 3 +++
 examples/EAGLE_ICs/getEagleYieldTable.sh   | 3 +++
 3 files changed, 10 insertions(+)
 create mode 100755 examples/EAGLE_ICs/getEagleCoolingTable.sh
 create mode 100755 examples/EAGLE_ICs/getEagleYieldTable.sh

diff --git a/examples/EAGLE_ICs/README b/examples/EAGLE_ICs/README
index 3a44c6fc97..2ea665219a 100644
--- a/examples/EAGLE_ICs/README
+++ b/examples/EAGLE_ICs/README
@@ -2,3 +2,7 @@ This directory contains initial conditions generated for
 the EAGLE suite of simulations. The cosmology, resolution
 and phases are the same as used in the original suite. The only
 difference is the file format, adapted for SWIFT.
+
+The scripts in this directory download the tables required to
+run the EAGLE model. Plotting scripts are also provided
+for basic quantities.
diff --git a/examples/EAGLE_ICs/getEagleCoolingTable.sh b/examples/EAGLE_ICs/getEagleCoolingTable.sh
new file mode 100755
index 0000000000..5cfd93ef0f
--- /dev/null
+++ b/examples/EAGLE_ICs/getEagleCoolingTable.sh
@@ -0,0 +1,3 @@
+#!/bin/bash
+wget http://virgodb.cosma.dur.ac.uk/swift-webstorage/CoolingTables/EAGLE/coolingtables.tar.gz
+tar -xf coolingtables.tar.gz 
diff --git a/examples/EAGLE_ICs/getEagleYieldTable.sh b/examples/EAGLE_ICs/getEagleYieldTable.sh
new file mode 100755
index 0000000000..26eef020ca
--- /dev/null
+++ b/examples/EAGLE_ICs/getEagleYieldTable.sh
@@ -0,0 +1,3 @@
+#!/bin/bash
+wget http://virgodb.cosma.dur.ac.uk/swift-webstorage/YieldTables/EAGLE/yieldtables.tar.gz
+tar -xf yieldtables.tar.gz
-- 
GitLab