++ 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_07_08_189_1851 + workDir=/mnt/r6/Data/NPP/2017_07_08_189_1851 + cd /mnt/r6/Data/NPP/2017_07_08_189_1851 + rm -f 'CVIIRSM*_reg.*' 'CVIIRSM*bin*' + /mnt/r6/Software/IDL_WORKDIR/NPPProcessing/scripts/genNPPCreflMod.sh -98 17 -80 31 2017_07_08_189_1851 ++ 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_07_08_189_1851 + workDir=/mnt/r6/Data/NPP/2017_07_08_189_1851 + cd /mnt/r6/Data/NPP/2017_07_08_189_1851 ++ 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_07_08_189_1851 ++ 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_07_08_189_1851 ++ hostname + hostName=magiCProc1 ++ date + echo Sat Jul 8 14:42:39 CDT '2017: Starting runNPPCrefl.sh' Sat Jul 8 14:42:39 CDT 2017: Starting runNPPCrefl.sh + ssh -n -l ipopp magic2850b_p bin/run-cviirs.sh /mnt/r6/Data/NPP/2017_07_08_189_1851 ++ basename bin/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 Sat Jul 8 19:42:39 UTC 2017: Starting run-cviirs.sh Using datadir: /mnt/r6/Data/NPP/2017_07_08_189_1851 + '[' 1 -lt 1 ']' ++ date + echo Sat Jul 8 19:42:39 UTC '2017: Starting run-cviirs.sh' + dateDir=/mnt/r6/Data/NPP/2017_07_08_189_1851 ++ expr /mnt/r6/Data/NPP/2017_07_08_189_1851 : / + dateDirTest=1 + '[' 1 -eq 1 ']' + INPUTHOME=/mnt/r6/Data/NPP/2017_07_08_189_1851 + test -d /mnt/r6/Data/NPP/2017_07_08_189_1851 + echo 'Using datadir: /mnt/r6/Data/NPP/2017_07_08_189_1851' Sat Jul 8 19:42:39 UTC 2017: Done run-cviirs.sh + OUTPUTHOME=/mnt/r6/Data/NPP/2017_07_08_189_1851 + TEMPDIR=/home/ipopp/drl/SPA/CVIIRS/TempDir_24230 + test -e /home/ipopp/drl/SPA/CVIIRS/TempDir_24230 + mkdir -p /home/ipopp/drl/SPA/CVIIRS/TempDir_24230 ++ pwd + startDir=/home/ipopp + cd /home/ipopp/drl/SPA/CVIIRS/TempDir_24230 ++ ls '/mnt/r6/Data/NPP/2017_07_08_189_1851/SVM03_npp*h5' ls: cannot access /mnt/r6/Data/NPP/2017_07_08_189_1851/SVM03_npp*h5: No such file or directory + sdr03list= + cd .. + cd /home/ipopp + rmdir /home/ipopp/drl/SPA/CVIIRS/TempDir_24230 ++ date + echo Sat Jul 8 19:42:39 UTC '2017: Done run-cviirs.sh' ++ date + echo Sat Jul 8 14:42:39 CDT '2017: Finished runNPPCrefl.sh' Sat Jul 8 14:42:39 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