#!/bin/csh -f
#

mkdir global_oce_tmp_download
cd global_oce_tmp_download

#1) from MITgcm/verification, get global_oce_cs32 and 
#     global_oce_llc90 using cvs checkout, as
cvs co MITgcm_contrib/gael/verification/global_oce_cs32
cvs co MITgcm_contrib/gael/verification/global_oce_llc90

mv MITgcm_contrib/gael/verification/global_oce_cs32 .
mv MITgcm_contrib/gael/verification/global_oce_llc90 .

#2) get the input binary files for cs32
wget http://mitgcm.org/~gforget/global_oce_input_fields.tar.gz
gunzip global_oce_input_fields.tar.gz
tar xf global_oce_input_fields.tar
\rm -f global_oce_input_fields.tar

#3) link code to code_ad (as testreport expects code_ad to exist)
cd global_oce_llc90
ln -s code code_ad
cd ..
cd global_oce_cs32
ln -s code code_ad
cd ..

cd ..

