++ basename /mnt/r6/Software/IDL_WORKDIR/NPPProcessing/scripts/processNPPCreflGoM.sh + FUNC=processNPPCreflGoM.sh ++ dirname /mnt/r6/Software/IDL_WORKDIR/NPPProcessing/scripts/processNPPCreflGoM.sh + scriptDir=/mnt/r6/Software/IDL_WORKDIR/NPPProcessing/scripts ++ fullpath /mnt/r6/Software/IDL_WORKDIR/NPPProcessing/scripts + scriptDir=/mnt/r6/Software/IDL_WORKDIR/NPPProcessing/scripts + defDir=/mnt/r6/Software/IDL_WORKDIR/Default/scripts + dataDir=/mnt/r6/Data/NPP ++ grep processNPPCreflGoM.sh /mnt/r6/Software/IDL_WORKDIR/NPPProcessing/scripts/nppBounds.list + boundLine=-98:17:-80:31:Day=processNPPCreflGoM.sh ++ echo -98:17:-80:31:Day=processNPPCreflGoM.sh ++ cut -d= -f1 + bounds=-98:17:-80:31:Day ++ echo -98:17:-80:31:Day ++ cut -d: -f1 + lon1=-98 ++ echo -98:17:-80:31:Day ++ cut -d: -f2 + lat1=17 ++ echo -98:17:-80:31:Day ++ cut -d: -f3 + lon2=-80 ++ echo -98:17:-80:31:Day ++ cut -d: -f4 + lat2=31 + '[' 1 -lt 1 ']' + dateDir=2017_06_17_168_2029 + workDir=/mnt/r6/Data/NPP/2017_06_17_168_2029 + cd /mnt/r6/Data/NPP/2017_06_17_168_2029 + rm -f 'CVIIRSM*_reg.*' 'CVIIRSM*bin*' + /mnt/r6/Software/IDL_WORKDIR/NPPProcessing/scripts/genNPPCreflMod.sh -98 17 -80 31 2017_06_17_168_2029 ++ basename /mnt/r6/Software/IDL_WORKDIR/NPPProcessing/scripts/genNPPCreflMod.sh + FUNC=genNPPCreflMod.sh ++ dirname /mnt/r6/Software/IDL_WORKDIR/NPPProcessing/scripts/genNPPCreflMod.sh + scriptDir=/mnt/r6/Software/IDL_WORKDIR/NPPProcessing/scripts ++ fullpath /mnt/r6/Software/IDL_WORKDIR/NPPProcessing/scripts + scriptDir=/mnt/r6/Software/IDL_WORKDIR/NPPProcessing/scripts + dataDir=/mnt/r6/Data/NPP + '[' 5 -lt 5 ']' + lon1=-98 + lon2=-80 + lat1=17 + lat2=31 + dateDir=2017_06_17_168_2029 + workDir=/mnt/r6/Data/NPP/2017_06_17_168_2029 + cd /mnt/r6/Data/NPP/2017_06_17_168_2029 ++ head -1 ++ ls 'CVIIRSM*hdf' ls: cannot access CVIIRSM*hdf: No such file or directory + CVIIRSMHdf= + test -z '' + /mnt/r6/Software/IDL_WORKDIR/NPPProcessing/scripts/runNPPCrefl.sh /mnt/r6/Data/NPP/2017_06_17_168_2029 ++ basename /mnt/r6/Software/IDL_WORKDIR/NPPProcessing/scripts/runNPPCrefl.sh + FUNC=runNPPCrefl.sh ++ dirname /mnt/r6/Software/IDL_WORKDIR/NPPProcessing/scripts/runNPPCrefl.sh + FuncDir=/mnt/r6/Software/IDL_WORKDIR/NPPProcessing/scripts + remHost=magic2850b_p + remUser=ipopp + '[' 1 -ne 1 ']' + dirPath=/mnt/r6/Data/NPP/2017_06_17_168_2029 ++ hostname + hostName=magiCProc1 ++ date + echo Sat Jun 17 17:34:40 CDT '2017: Starting runNPPCrefl.sh' Sat Jun 17 17:34:40 CDT 2017: Starting runNPPCrefl.sh + ssh -n -l ipopp magic2850b_p bin/run-cviirs.sh /mnt/r6/Data/NPP/2017_06_17_168_2029 ++ basename bin/run-cviirs.sh Sat Jun 17 22:34:40 UTC 2017: Starting run-cviirs.sh Using datadir: /mnt/r6/Data/NPP/2017_06_17_168_2029 Sat Jun 17 22:34:40 UTC 2017: Done run-cviirs.sh + FUNC=run-cviirs.sh ++ dirname bin/run-cviirs.sh + FUNCDIR=bin + DRLDIR=/home/ipopp/drl + CVIIRSDIR=/home/ipopp/drl/SPA/CVIIRS + TEMPDIR=/home/ipopp/drl/SPA/CVIIRS/TempDir + WRAPPERCREFL=/home/ipopp/drl/SPA/CVIIRS/wrapper/CVIIRS + DEFDATADIR=/mnt/r6/Data/NPP + ALTDATADIR=/mnt/r5/Data/NPP + '[' 1 -lt 1 ']' ++ date + echo Sat Jun 17 22:34:40 UTC '2017: Starting run-cviirs.sh' + dateDir=/mnt/r6/Data/NPP/2017_06_17_168_2029 ++ expr /mnt/r6/Data/NPP/2017_06_17_168_2029 : / + dateDirTest=1 + '[' 1 -eq 1 ']' + INPUTHOME=/mnt/r6/Data/NPP/2017_06_17_168_2029 + test -d /mnt/r6/Data/NPP/2017_06_17_168_2029 + echo 'Using datadir: /mnt/r6/Data/NPP/2017_06_17_168_2029' + OUTPUTHOME=/mnt/r6/Data/NPP/2017_06_17_168_2029 + TEMPDIR=/home/ipopp/drl/SPA/CVIIRS/TempDir_15661 + test -e /home/ipopp/drl/SPA/CVIIRS/TempDir_15661 + mkdir -p /home/ipopp/drl/SPA/CVIIRS/TempDir_15661 ++ pwd + startDir=/home/ipopp + cd /home/ipopp/drl/SPA/CVIIRS/TempDir_15661 ++ ls '/mnt/r6/Data/NPP/2017_06_17_168_2029/SVM03_npp*h5' ls: cannot access /mnt/r6/Data/NPP/2017_06_17_168_2029/SVM03_npp*h5: No such file or directory + sdr03list= + cd .. + cd /home/ipopp + rmdir /home/ipopp/drl/SPA/CVIIRS/TempDir_15661 ++ date + echo Sat Jun 17 22:34:40 UTC '2017: Done run-cviirs.sh' ++ date + echo Sat Jun 17 17:34:40 CDT '2017: Finished runNPPCrefl.sh' Sat Jun 17 17:34:40 CDT 2017: Finished runNPPCrefl.sh ++ head -1 ++ ls 'CVIIRSM*hdf' ls: cannot access CVIIRSM*hdf: No such file or directory + CVIIRSMHdf= + test -z '' + echo 'Unable to generate Crefl HDF files' Unable to generate Crefl HDF files + exit -1 ++ tail -1 ++ ls 'CVIIRSM010403*_reg.bsq' ls: cannot access CVIIRSM010403*_reg.bsq: No such file or directory + modBsq= + test -z '' + echo ' No _reg.bsq file found' No _reg.bsq file found + exit