++ basename /mnt/r6/Software/IDL_WORKDIR/NPPProcessing/scripts/processNPPCreflTexas.sh + FUNC=processNPPCreflTexas.sh ++ dirname /mnt/r6/Software/IDL_WORKDIR/NPPProcessing/scripts/processNPPCreflTexas.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 ++ grep processNPPCreflTexas.sh /mnt/r6/Software/IDL_WORKDIR/NPPProcessing/scripts/nppBounds.list + boundLine=-107:25:-93:37:Day=processNPPCreflTexas.sh ++ echo -107:25:-93:37:Day=processNPPCreflTexas.sh ++ cut -d= -f1 + bounds=-107:25:-93:37:Day ++ echo -107:25:-93:37:Day ++ cut -d: -f1 + lon1=-107 ++ echo -107:25:-93:37:Day ++ cut -d: -f2 + lat1=25 ++ echo -107:25:-93:37:Day ++ cut -d: -f3 + lon2=-93 ++ echo -107:25:-93:37:Day ++ cut -d: -f4 + lat2=37 + '[' 1 -lt 1 ']' + dateDir=2014_10_31_304_1901 + workDir=/mnt/r6/Data/NPP/2014_10_31_304_1901 + cd /mnt/r6/Data/NPP/2014_10_31_304_1901 + /mnt/r6/Software/IDL_WORKDIR/NPPProcessing/scripts/genNPPCreflSharp.sh -107 25 -93 37 2014_10_31_304_1901 ++ basename /mnt/r6/Software/IDL_WORKDIR/NPPProcessing/scripts/genNPPCreflSharp.sh + FUNC=genNPPCreflSharp.sh ++ dirname /mnt/r6/Software/IDL_WORKDIR/NPPProcessing/scripts/genNPPCreflSharp.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 + . /mnt/r6/Software/IDL_WORKDIR/NPPProcessing/scripts/setPath.bash ++ myPath=/mnt/r6/Software/IDL_WORKDIR/NPPProcessing/scripts ++ expr /mnt/r6/Software/IDL_WORKDIR/NPPProcessing/scripts:.:/home/eosdis/bin:/usr/lib64/qt-3.3/bin:/usr/local/iRODS/bin:/usr/bin:/bin:/opt/itt/idl/idl/products/envi/bin:/opt/itt/idl/idl/bin: : '.*/mnt/r6/Software/IDL_WORKDIR/NPPProcessing/scripts:' + dataDir=/mnt/r6/Data/NPP + '[' 5 -lt 5 ']' + lon1=-107 + lon2=-93 + lat1=25 + lat2=37 + dateDir=2014_10_31_304_1901 + workDir=/mnt/r6/Data/NPP/2014_10_31_304_1901 + cd /mnt/r6/Data/NPP/2014_10_31_304_1901 + rm -f 'CVIIRSM*CorrRefl*.bin' + rm -f 'CVIIRSI*CorrRefl*.bin' ++ head -1 ++ ls 'CVIIRSM*hdf' ls: cannot access CVIIRSM*hdf: No such file or directory + CVIIRSMHdf= + test -z '' + runNPPCrefl.sh /mnt/r6/Data/NPP/2014_10_31_304_1901 ++ 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.tacc.utexas.edu + remUser=ipopp + '[' 1 -ne 1 ']' + dirPath=/mnt/r6/Data/NPP/2014_10_31_304_1901 ++ hostname + hostName=tcb4600a ++ date + echo Fri Oct 31 14:56:35 CDT '2014: Starting runNPPCrefl.sh' Fri Oct 31 14:56:35 CDT 2014: Starting runNPPCrefl.sh + ssh -n -l ipopp magic2850b.tacc.utexas.edu bin/run-cviirs.sh /mnt/r6/Data/NPP/2014_10_31_304_1901 ++ basename bin/run-cviirs.sh Fri Oct 31 19:56:43 UTC 2014: Starting run-cviirs.sh Using datadir: /mnt/r6/Data/NPP/2014_10_31_304_1901 + 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 Fri Oct 31 19:56:43 UTC '2014: Starting run-cviirs.sh' + dateDir=/mnt/r6/Data/NPP/2014_10_31_304_1901 ++ expr /mnt/r6/Data/NPP/2014_10_31_304_1901 : / + dateDirTest=1 + '[' 1 -eq 1 ']' + INPUTHOME=/mnt/r6/Data/NPP/2014_10_31_304_1901 + test -d /mnt/r6/Data/NPP/2014_10_31_304_1901 + echo 'Using datadir: /mnt/r6/Data/NPP/2014_10_31_304_1901' + OUTPUTHOME=/mnt/r6/Data/NPP/2014_10_31_304_1901 + TEMPDIR=/home/ipopp/drl/SPA/CVIIRS/TempDir_19908 + test -e /home/ipopp/drl/SPA/CVIIRS/TempDir_19908 + mkdir -p /home/ipopp/drl/SPA/CVIIRS/TempDir_19908 ++ pwd + startDir=/home/ipopp + cd /home/ipopp/drl/SPA/CVIIRS/TempDir_19908 ++ ls '/mnt/r6/Data/NPP/2014_10_31_304_1901/SVM03_npp*h5' ls: cannot access /mnt/r6/Data/NPP/2014_10_31_304_1901/SVM03_npp*h5: No such file or directory + sdr03list= + cd .. + cd /home/ipopp + rmdir /home/ipopp/drl/SPA/CVIIRS/TempDir_19908 ++ date + echo Fri Oct 31 19:56:43 UTC '2014: Done run-cviirs.sh' Fri Oct 31 19:56:43 UTC 2014: Done run-cviirs.sh ++ date + echo Fri Oct 31 14:56:35 CDT '2014: Finished runNPPCrefl.sh' Fri Oct 31 14:56:35 CDT 2014: Finished runNPPCrefl.sh ++ head -1 ++ ls 'CVIIRSM*hdf' ls: cannot access CVIIRSM*hdf: No such file or directory + CVIIRSMHdf= + test -z '' + echo 'No CVIIRSM*hdf file' No CVIIRSM*hdf file + exit -1 ++ tail -1 ++ ls 'CVIIRSM010403*_sharp.bsq' ls: cannot access CVIIRSM010403*_sharp.bsq: No such file or directory + sharpBsq= + test -z sharpBsq ++ echo ++ sed s,_sharp,_texas, + texasBsq= + mv mv: missing file operand Try `mv --help' for more information. + mv .hdr .hdr mv: cannot stat `.hdr': No such file or directory + /mnt/r6/Software/IDL_WORKDIR/NPPProcessing/scripts/scaleNPPCrefl.sh ++ basename /mnt/r6/Software/IDL_WORKDIR/NPPProcessing/scripts/scaleNPPCrefl.sh + FUNC=scaleNPPCrefl.sh + irodsDir=/corralZ/projects/CSR/Public/NPP/ ++ dirname /mnt/r6/Software/IDL_WORKDIR/NPPProcessing/scripts/scaleNPPCrefl.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 + scaleFile=/mnt/r6/Software/IDL_WORKDIR/NPPProcessing/scripts/nppCrefl010403_enhance.txt + defDir=/mnt/r6/Software/IDL_WORKDIR/Default/scripts + dataDir=/mnt/r6/Data/NPP + '[' 0 -lt 1 ']' + echo 'Usage:scaleNPPCrefl.sh NPP_file.bsq' Usage:scaleNPPCrefl.sh NPP_file.bsq + exit 1 ++ basename .bsq + baseName=.bsq ++ basename .bsq _sharp + baseName=.bsq ++ dirname dirname: missing operand Try `dirname --help' for more information. + dirName= ++ ls /.bsq_8bit.bsq ls: cannot access /.bsq_8bit.bsq: No such file or directory + eightBsq= ++ ls /.bsq_8bit.tif ls: cannot access /.bsq_8bit.tif: No such file or directory + eightTif= ++ ls /.bsq_8bit.png ls: cannot access /.bsq_8bit.png: No such file or directory + eightPng= + test -n '' + echo ' PNG not generated' PNG not generated + exit -1