#!/usr/bin/ksh # # call_wget_lrv_gmag_backfiles.ksh - This script sets the arguments # to the script which downloads gmag data from the site LRV (Leirvogur) # This file is intended to download data from previous years # # May 04 2012 lphilpott@igpp.ucla.edu # Based heavily on: call_wget_intermagnet_gmag.ksh # # NB: it is intended that this script be run on gaia2 as the wget log file formats differ between machines # and wget_lrv_gmag relies on information within the log file. # ## Set the environment variables # if [[ -z $THMSOC ]] then THMSOC=/disks/socware/thmsoc_dp_current export THMSOC fi . ${THMSOC}/src/config/soc_it_to_me.config # ## Determine dates to check # for year in 2011 2010 2009 2008 2007 do /disks/socware/thmsoc_dp_current/src/ksh/wget_lrv_gmag.ksh $year done # ## Clean up # exit 0