#!/usr/bin/ksh # # slp_reprocess # # This script rebuilds the solar lunar and planetary ephemeris # # Created by Patrick Cruce(pcruce@igpp.ucla.edu), # Based almost entirely on make_asi_orbits.ksh by Tim Quinn # Created: Dec 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 . /home/thmsoc/pcruces_stuff/slp_processing/idl_setup.bash # ## Start IDL Process # idl < /home/thmsoc/pcruces_stuff/slp_processing/slp_batchfile idlcheck=$? if (( $idlcheck != 0 )) then printf "%s\n" "script: $0" \ "Warning: SLP Production Problem" | mailx -s "THEMIS SLP Production Problem" $SOC_EMAIL fi # ## Cleanup # exit 0