++ basename /mnt/r4/Software/IDL_WORKDIR/NPPProcessing/scripts/processNPPTexas.sh + FUNC=processNPPTexas.sh ++ dirname /mnt/r4/Software/IDL_WORKDIR/NPPProcessing/scripts/processNPPTexas.sh + scriptDir=/mnt/r4/Software/IDL_WORKDIR/NPPProcessing/scripts ++ fullpath /mnt/r4/Software/IDL_WORKDIR/NPPProcessing/scripts + scriptDir=/mnt/r4/Software/IDL_WORKDIR/NPPProcessing/scripts + defDir=/mnt/r4/Software/IDL_WORKDIR/Default/scripts + dataDir=/mnt/r5/Data/NPP ++ grep processNPPTexas.sh /mnt/r4/Software/IDL_WORKDIR/NPPProcessing/scripts/nppBounds.list + boundLine=-108:25:-93:37=processNPPTexas.sh ++ echo -108:25:-93:37=processNPPTexas.sh ++ cut -d= -f1 + bounds=-108:25:-93:37 ++ echo -108:25:-93:37 ++ cut -d: -f1 + lon1=-108 ++ echo -108:25:-93:37 ++ cut -d: -f2 + lat1=25 ++ echo -108:25:-93:37 ++ cut -d: -f3 + lon2=-93 ++ echo -108:25:-93:37 ++ cut -d: -f4 + lat2=37 + '[' 1 -lt 1 ']' + dateDir=2012_07_09_191_1909 + workDir=/mnt/r5/Data/NPP/2012_07_09_191_1909 + cd /mnt/r5/Data/NPP/2012_07_09_191_1909 + /mnt/r4/Software/IDL_WORKDIR/NPPProcessing/scripts/genNPPSharp.scr -108 25 -93 37 2012_07_09_191_1909 ++ basename /mnt/r4/Software/IDL_WORKDIR/NPPProcessing/scripts/genNPPSharp.scr + FUNC=genNPPSharp.scr ++ dirname /mnt/r4/Software/IDL_WORKDIR/NPPProcessing/scripts/genNPPSharp.scr + scriptDir=/mnt/r4/Software/IDL_WORKDIR/NPPProcessing/scripts ++ fullpath /mnt/r4/Software/IDL_WORKDIR/NPPProcessing/scripts + scriptDir=/mnt/r4/Software/IDL_WORKDIR/NPPProcessing/scripts + dataDir=/mnt/r5/Data/NPP + '[' 5 -lt 5 ']' + lon1=-108 + lon2=-93 + lat1=25 + lat2=37 + dateDir=2012_07_09_191_1909 + workDir=/mnt/r5/Data/NPP/2012_07_09_191_1909 + cd /mnt/r5/Data/NPP/2012_07_09_191_1909 + rm -f 'SVM0[3,4,5]*radiance.bin' + rm -f 'SVI01*radiance.bin' + /mnt/r4/Software/IDL_WORKDIR/NPPProcessing/scripts/runConcatNppSdrSub.sh -108 25 -93 37 'SVM03*h5' + /mnt/r4/Software/IDL_WORKDIR/NPPProcessing/scripts/runConcatNppSdrSub.sh -108 25 -93 37 'SVM04*h5' + /mnt/r4/Software/IDL_WORKDIR/NPPProcessing/scripts/runConcatNppSdrSub.sh -108 25 -93 37 'SVM05*h5' + /mnt/r4/Software/IDL_WORKDIR/NPPProcessing/scripts/runConcatNppSdrSub.sh -108 25 -93 37 'SVI01*h5' ++ ls 'SVM05*radiance.bin' ls: cannot access SVM05*radiance.bin: No such file or directory + svm05File= + test -z '' + echo ' No SVM05*radiance.bin file found' No SVM05*radiance.bin file found + exit -1 ++ ls 'SVM050403*_sharp.bsq' ++ tail -1 ls: cannot access SVM050403*_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/r4/Software/IDL_WORKDIR/NPPProcessing/scripts/scaleNPP.sh ++ basename /mnt/r4/Software/IDL_WORKDIR/NPPProcessing/scripts/scaleNPP.sh + FUNC=scaleNPP.sh + irodsDir=/tacc/Collections/CSR/Public/NPP/ ++ dirname /mnt/r4/Software/IDL_WORKDIR/NPPProcessing/scripts/scaleNPP.sh + scriptDir=/mnt/r4/Software/IDL_WORKDIR/NPPProcessing/scripts ++ fullpath /mnt/r4/Software/IDL_WORKDIR/NPPProcessing/scripts + scriptDir=/mnt/r4/Software/IDL_WORKDIR/NPPProcessing/scripts + scaleFile=/mnt/r4/Software/IDL_WORKDIR/NPPProcessing/scripts/npp050403_enhance.txt + defDir=/mnt/r4/Software/IDL_WORKDIR/Default/scripts + dataDir=/mnt/r5/Data/NPP + '[' 0 -lt 1 ']' + echo 'Usage:scaleNPP.sh scaleNPP.sh NPP_file.bsq' Usage:scaleNPP.sh scaleNPP.sh NPP_file.bsq + exit 1