Skip to content

Commit 130cc2e

Browse files
committed
add script to retrieve MG IN/CCN data
1 parent a225446 commit 130cc2e

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

contrib/get_mg_inccn_data.sh

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#!/bin/bash
2+
3+
set -ex
4+
5+
# Directory where this script is located
6+
if [[ $(uname -s) == Darwin ]]; then
7+
MYDIR=$(cd "$(dirname "$(greadlink -f -n "${BASH_SOURCE[0]}" )" )" && pwd -P)
8+
else
9+
MYDIR=$(cd "$(dirname "$(readlink -f -n "${BASH_SOURCE[0]}" )" )" && pwd -P)
10+
fi
11+
BASEDIR=$MYDIR/..
12+
13+
# Change to directory containing the physics input data, download and extract archive
14+
cd $BASEDIR/scm/data/physics_input_data/
15+
wget https://github.com/NCAR/gmtb-scm/releases/download/v5.0.0-alpha/MG_INCCN_data.tar
16+
tar -xvf MG_INCCN_data.tar
17+
rm -f MG_INCCN_data.tar

0 commit comments

Comments
 (0)