#!/bin/bash

# Download CSPP SDR v1.2
lftp -c pget ftp://ftp.ssec.wisc.edu/pub/CSPP/hidden/NPP/SDR/v1.2/CSPP_SDR_V1.2.tar.gz
lftp -c pget ftp://ftp.ssec.wisc.edu/pub/CSPP/hidden/NPP/SDR/v1.2/CSPP_SDR_V1.2_CACHE.tar.gz
lftp -c pget ftp://ftp.ssec.wisc.edu/pub/CSPP/hidden/NPP/SDR/v1.2/CSPP_SDR_V1.2_CORE.tar.gz
lftp -c pget ftp://ftp.ssec.wisc.edu/pub/CSPP/hidden/static/adlTerEcoDataLinks_v1.2.tgz

# Install CSPP SDR v1.2
tar xf CSPP_SDR_V1.2.tar.gz
tar xf CSPP_SDR_V1.2_CACHE.tar.gz
tar xf CSPP_SDR_V1.2_CORE.tar.gz
cd CSPP/static
tar xf ../../adlTerEcoDataLinks_v1.2.tgz
