#!/bin/bash
#modelE  downloaded from the gis repository of the GISS (Goddard Institute for Space Studies)
#at  http://www.giss.nasa.gov/tools/modelE/

#Some cleanup
rm -rf src install  modelE_AR5_branch
mkdir src

#Untar 
tar -zxvf  modelE_AR5_branch.2012.03.13_10.12.21.tgz

#Move modelE into install directory
mv modelE_AR5_branch/* src
rm -rf modelE_AR5_branch

#Apply patches
cd src 
