Last active
January 27, 2021 06:08
-
-
Save robkooper/ff3e8c6fab0e9586f062d79c24763647 to your computer and use it in GitHub Desktop.
First use setup.sh to download and setup the folders/files, secondly run ed.sh to run ED on a specific input file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
docker run -ti --rm \ | |
--volume ${PWD}:/data \ | |
--env OMP_NUM_THREADS=1 \ | |
pecan/ed \ | |
/usr/local/bin/ed -s -f "$@" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
if [ ! -d "common" ]; then | |
wget "https://github.com/ashiklom/edts-datasets/releases/download/common/common.tar.gz" | |
tar xf common.tar.gz | |
rm common.tar.gz | |
fi | |
for SITE in umbs tonzi; do | |
if [ ! -d "$SITE" ]; then | |
echo "Downloading data for site $SITE" | |
wget "https://github.com/ashiklom/edts-datasets/releases/download/$SITE/$SITE.tar.gz" | |
tar -xf "$SITE.tar.gz" | |
rm $SITE.tar.gz | |
fi | |
done | |
for SITE in umbs.bg tonzi tonzi.harvest; do | |
wget -O ED2IN-$SITE https://raw.githubusercontent.com/EDmodel/ED2/master/EDTS/Templates/ED2IN-$SITE | |
mkdir -p test-outputs/$SITE | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment