#!/usr/bin/ksh
  
  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

cd ${SCRATCH}/asi_production
processdate=$(date '+%y%m%d')
ORBITS_LOGFILE=${LOGDIR}/orbits/idl_orbits_reprocess_${processdate}
idl < ~/pcruces_stuff/orbit_batchfile2 >> $ORBITS_LOGFILE 2>> $ORBITS_LOGFILE
