#!/usr/bin/ksh # ## list_probe_l1.ksh ## ## Make file lists of probe l1 files. ## ## 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 ## Process sites # for probe in $(cat ${CONFIGDIR}/probe_list.txt) do for dtype in $(cat ${CONFIGDIR}/probe_l1_list.txt) do find /disks/themisdata/${probe}/l1/${dtype}/20* -name ${probe}_l1_${dtype}_\*cdf -exec /bin/basename {} \; |sort >> ${LOCAL}/${probe}_l1_list_${dtype}.txt mv -f ${LOCAL}/${probe}_l1_list_${dtype}.txt ${FILELISTS}/${probe}_l1_list_${dtype}.txt done done exit 0