-
Notifications
You must be signed in to change notification settings - Fork 0
/
getAndExtractFiles.sh
executable file
·19 lines (19 loc) · 1.66 KB
/
getAndExtractFiles.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/bash
# Get tarballs
# This is a huge file. Can take ~10 hours
wget http://www2.mmm.ucar.edu/projects/mpas/benchmark/v5.2/MPAS-A_benchmark_10km_L56_v5.2.tar.gz
wget http://www2.mmm.ucar.edu/projects/mpas/benchmark/v5.2/MPAS-A_benchmark_15km_L56_v5.2.tar.gz
wget http://www2.mmm.ucar.edu/projects/mpas/benchmark/v5.2/MPAS-A_benchmark_30km_L56_v5.2.tar.gz
wget http://www2.mmm.ucar.edu/projects/mpas/benchmark/v5.2/MPAS-A_benchmark_60km_L56_v5.2.tar.gz
wget http://www2.mmm.ucar.edu/projects/mpas/benchmark/v5.2/MPAS-A_benchmark_120km_L56_v5.2.tar.gz
# Unpack tarballs
echo "mkdir -p benchmark120k && tar -xvf MPAS-A_benchmark_120km_L56_v5.2.tar.gz -C benchmark120k --strip-components=1"
mkdir -p benchmark120k && tar -xvf MPAS-A_benchmark_120km_L56_v5.2.tar.gz -C benchmark120k --strip-components=1
echo "mkdir -p benchmark60k && tar -xvf MPAS-A_benchmark_60km_L56_v5.2.tar.gz -C benchmark60k --strip-components=1"
mkdir -p benchmark60k && tar -xvf MPAS-A_benchmark_60km_L56_v5.2.tar.gz -C benchmark60k --strip-components=1
echo "mkdir -p benchmark30k && tar -xvf MPAS-A_benchmark_30km_L56_v5.2.tar.gz -C benchmark30k --strip-components=1"
mkdir -p benchmark30k && tar -xvf MPAS-A_benchmark_30km_L56_v5.2.tar.gz -C benchmark30k --strip-components=1
echo "mkdir -p benchmark15k && tar -xvf MPAS-A_benchmark_15km_L56_v5.2.tar.gz -C benchmark15k --strip-components=1"
mkdir -p benchmark15k && tar -xvf MPAS-A_benchmark_15km_L56_v5.2.tar.gz -C benchmark15k --strip-components=1
echo "mkdir -p benchmark10k && tar -xvf MPAS-A_benchmark_10km_L56_v5.2.tar.gz -C benchmark10k --strip-components=1"
mkdir -p benchmark10k && tar -xvf MPAS-A_benchmark_10km_L56_v5.2.tar.gz -C benchmark10k --strip-components=1