++ 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 + irodsDir=/corralZ/projects/CSR/Public/NPP + irodsBase=/corralZ/projects/CSR/Public/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=2019_02_05_036_1832 + year=2019 + irodsDir=/corralZ/projects/CSR/Public/NPP/2019 + workDir=/mnt/r6/Data/NPP/2019_02_05_036_1832 + cd /mnt/r6/Data/NPP/2019_02_05_036_1832 + rm -f 'CVIIRSM*_reg.*' 'CVIIRSM*bin*' + /mnt/r6/Software/IDL_WORKDIR/NPPProcessing/scripts/genNPPCreflMod.sh -98 17 -80 31 2019_02_05_036_1832 ++ 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=2019_02_05_036_1832 + workDir=/mnt/r6/Data/NPP/2019_02_05_036_1832 + cd /mnt/r6/Data/NPP/2019_02_05_036_1832 ++ 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/2019_02_05_036_1832 ++ 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/2019_02_05_036_1832 ++ hostname + hostName=magicCProc1 ++ date + echo Tue Feb 5 13:18:43 CST '2019: Starting runNPPCrefl.sh' Tue Feb 5 13:18:43 CST 2019: Starting runNPPCrefl.sh + ssh -n -l ipopp magic2850b_p bin/run-cviirs.sh /mnt/r6/Data/NPP/2019_02_05_036_1832 ssh: connect to host magic2850b_p port 22: No route to host + status=255 + '[' 255 '!=' 0 ']' + echo 'magic2850b_p run was unseccessful, attempting local run' magic2850b_p run was unseccessful, attempting local run + /mnt/r6/Software/IDL_WORKDIR/NPPProcessing/scripts/run-cviirs.sh /mnt/r6/Data/NPP/2019_02_05_036_1832 ++ basename /mnt/r6/Software/IDL_WORKDIR/NPPProcessing/scripts/run-cviirs.sh + FUNC=run-cviirs.sh ++ dirname /mnt/r6/Software/IDL_WORKDIR/NPPProcessing/scripts/run-cviirs.sh + FUNCDIR=/mnt/r6/Software/IDL_WORKDIR/NPPProcessing/scripts + DRLDIR=/mnt/r6/Software/NPP/IPOPPHOME/drl + CVIIRSDIR=/mnt/r6/Software/NPP/IPOPPHOME/drl/SPA/CVIIRS + WRAPPERCREFL=/mnt/r6/Software/NPP/IPOPPHOME/drl/SPA/CVIIRS/wrapper/CVIIRS + NPPDATADIR=/mnt/r6/Data/NPP + '[' 1 -lt 1 ']' + dateDir=/mnt/r6/Data/NPP/2019_02_05_036_1832 ++ expr /mnt/r6/Data/NPP/2019_02_05_036_1832 : / + dateDirTest=1 + '[' 1 -eq 1 ']' + INPUTHOME=/mnt/r6/Data/NPP/2019_02_05_036_1832 + OUTPUTHOME=/mnt/r6/Data/NPP/2019_02_05_036_1832 + cd /mnt/r6/Data/NPP/2019_02_05_036_1832 ++ ls '/mnt/r6/Data/NPP/2019_02_05_036_1832/SVM03_npp*h5' ls: cannot access /mnt/r6/Data/NPP/2019_02_05_036_1832/SVM03_npp*h5: No such file or directory + sdr03list= ++ date + echo Tue Feb 5 13:18:47 CST '2019: Finished runNPPCrefl.sh' Tue Feb 5 13:18:47 CST 2019: 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