++ 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=2015_01_24_024_1904 + workDir=/mnt/r6/Data/NPP/2015_01_24_024_1904 + cd /mnt/r6/Data/NPP/2015_01_24_024_1904 + /mnt/r6/Software/IDL_WORKDIR/NPPProcessing/scripts/genNPPCreflSharp.sh -107 25 -93 37 2015_01_24_024_1904 ++ 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=2015_01_24_024_1904 + workDir=/mnt/r6/Data/NPP/2015_01_24_024_1904 + cd /mnt/r6/Data/NPP/2015_01_24_024_1904 + 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/2015_01_24_024_1904 ++ 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/2015_01_24_024_1904 ++ hostname + hostName=tcb4600a ++ date + echo Sat Jan 24 13:20:39 CST '2015: Starting runNPPCrefl.sh' Sat Jan 24 13:20:39 CST 2015: Starting runNPPCrefl.sh + ssh -n -l ipopp magic2850b.tacc.utexas.edu bin/run-cviirs.sh /mnt/r6/Data/NPP/2015_01_24_024_1904 ++ 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 Jan 24 19:20:40 UTC 2015: Starting run-cviirs.sh Unable to locate input directory /mnt/r6/Data/NPP/2015_01_24_024_1904 + '[' 1 -lt 1 ']' ++ date + echo Sat Jan 24 19:20:40 UTC '2015: Starting run-cviirs.sh' + dateDir=/mnt/r6/Data/NPP/2015_01_24_024_1904 ++ expr /mnt/r6/Data/NPP/2015_01_24_024_1904 : / + dateDirTest=1 + '[' 1 -eq 1 ']' + INPUTHOME=/mnt/r6/Data/NPP/2015_01_24_024_1904 + test -d /mnt/r6/Data/NPP/2015_01_24_024_1904 + echo 'Unable to locate input directory /mnt/r6/Data/NPP/2015_01_24_024_1904' + exit -1 ++ date + echo Sat Jan 24 13:20:40 CST '2015: Finished runNPPCrefl.sh' Sat Jan 24 13:20:40 CST 2015: 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