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