#!/usr/bin/ksh # # call_wget_antarctic_gmag_backfiles.ksh - This script sets the arguments # to the script which downloads Antarctic gmag data. This script runs the production # version of the wget_antarctic_gmag script, but simply passes it set dates. # # March 2012 lphilpott@igpp.ucla.edu # Based heavily on: call_wget_green_gmag.ksh, call_wget_maccs_gmag.ksh, epo_ucla_rmd_mirror_batch.ksh # # NB: it is intended that this script be run on gaia2 as the wget log file formats differ between machines # and wget_antarctic_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 # setYear=2011 for year in $setYear do for site in pg1 pg2 do ${THMSOC}/src/ksh/wget_antarctic_gmag.ksh $site $year done done ## Clean up # exit 0