#!/usr/bin/ksh # # call_wget_ath_gmag.ksh - This script sets the arguments # to the script which downloads gmag data from the AUTUMN netword # # Feb 15 2017 clrussell@igpp.ucla.edu # Based heavily on: call_wget_lrv_gmag.ksh # ## 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 # year=2017 # Step through each site while read line do ucsite=$(echo $line | awk -F_ '{print $1}') site=$(echo $line | awk -F_ '{print $2}') echo $site echo $ucsite echo $year # ucla_rmd2all_atha_reprocess $ucsite $site $year done < ${CONFIGDIR}/autumn_site_list.txt # ## Clean up # exit 0