#!/usr/bin/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 . /home/thmsoc/gaia2_test/soc_it_to_me.config # ## Generate file lists - probe # for probe in $(cat ${CONFIGDIR}/probe_id_list.txt) do for dtype in $(cat ${CONFIGDIR}/probe_summary_type_list.txt) do find ${OVERPLOTS}/*/*/*/ -name ${probe}_l2_${dtype}_\* -exec /bin/basename {} \; >> ${LOCAL}/summarylist_${probe}_${dtype}.txt mv -f ${LOCAL}/summarylist_${probe}_${dtype}.txt ${FILELISTS}/summarylist_${probe}_${dtype}.txt done done # ## Generate file lists - tohban # for dtype in $(cat ${CONFIGDIR}/tohban_summary_type_list.txt) do find ${OVERPLOTS}/*/*/*/ -name thm_tohban_${dtype}_\* -exec /bin/basename {} \; >> ${LOCAL}/summarylist_thm_${dtype}.txt mv -f ${LOCAL}/summarylist_thm_${dtype}.txt ${FILELISTS}/summarylist_thm_${dtype}.txt done # ## Generate file lists - memory # for dtype in burst survey do find ${OVERPLOTS}/*/*/*/ -name \*1days-memory-${dtype}.png -exec /bin/basename {} \; >> ${LOCAL}/summarylist_thm_${dtype}.txt mv -f ${LOCAL}/summarylist_thm_${dtype}.txt ${FILELISTS}/summarylist_thm_${dtype}.txt done exit 0