#!/usr/bin/ksh # # maccs_ascii2all.ksh # # This script generates lines for a IDL batch # file which creates gmag cdfs for MACCS data files. # # Arguments: # # $1=site ; nain, cdrt, rbay, etc. # $2=yyyymmdd ; start date # $3=yyyymmdd ; end date # # # Author: Tim Quinn # Created: April 2009 # # ## 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 . $THMSOC/src/config/setup_themis.bourne . $THMSOC/src/config/maccs_ascii2all.config x # ## ## Function Declaration ## fileSite=TEST startDate=may14 filename=${fileSite}${startDate}_l0_*sec.sec echo $filename exit 0