++ basename /mnt/r4/Software/IDL_WORKDIR/NPPProcessing/scripts/processNPPGoM.sh + FUNC=processNPPGoM.sh ++ dirname /mnt/r4/Software/IDL_WORKDIR/NPPProcessing/scripts/processNPPGoM.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 processNPPGoM.sh /mnt/r4/Software/IDL_WORKDIR/NPPProcessing/scripts/nppBounds.list + boundLine=-98:17:-80:31=processNPPGoM.sh ++ echo -98:17:-80:31=processNPPGoM.sh ++ cut -d= -f1 + bounds=-98:17:-80:31 ++ echo -98:17:-80:31 ++ cut -d: -f1 + lon1=-98 ++ echo -98:17:-80:31 ++ cut -d: -f2 + lat1=17 ++ echo -98:17:-80:31 ++ cut -d: -f3 + lon2=-80 ++ echo -98:17:-80:31 ++ cut -d: -f4 + lat2=31 + '[' 1 -lt 1 ']' + dateDir=2012_07_17_199_1819 + workDir=/mnt/r5/Data/NPP/2012_07_17_199_1819 + cd /mnt/r5/Data/NPP/2012_07_17_199_1819 + /mnt/r4/Software/IDL_WORKDIR/NPPProcessing/scripts/genNPPmod.scr -98 17 -80 31 2012_07_17_199_1819 ++ basename /mnt/r4/Software/IDL_WORKDIR/NPPProcessing/scripts/genNPPmod.scr + FUNC=genNPPmod.scr ++ dirname /mnt/r4/Software/IDL_WORKDIR/NPPProcessing/scripts/genNPPmod.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=-98 + lon2=-80 + lat1=17 + lat2=31 + dateDir=2012_07_17_199_1819 + workDir=/mnt/r5/Data/NPP/2012_07_17_199_1819 + cd /mnt/r5/Data/NPP/2012_07_17_199_1819 + rm SVM03_npp_d20120717_t1819440_radiance.bin SVM04_npp_d20120717_t1819440_radiance.bin SVM05_npp_d20120717_t1819440_radiance.bin + /mnt/r4/Software/IDL_WORKDIR/NPPProcessing/scripts/runConcatNppSdrSub.sh -98 17 -80 31 SVM03_npp_d20120717_t1819440_e1821082_b00001_c20120717184638759876_cspp_dev.h5 SVM03_npp_d20120717_t1821005_e1822246_b00001_c20120717184329249795_cspp_dev.h5 SVM03_npp_d20120717_t1822259_e1823500_b00001_c20120717184026354142_cspp_dev.h5 SVM03_npp_d20120717_t1823513_e1825155_b00001_c20120717185001149983_cspp_dev.h5 + /mnt/r4/Software/IDL_WORKDIR/NPPProcessing/scripts/runConcatNppSdrSub.sh -98 17 -80 31 SVM04_npp_d20120717_t1819440_e1821082_b00001_c20120717184638828885_cspp_dev.h5 SVM04_npp_d20120717_t1821005_e1822246_b00001_c20120717184329308295_cspp_dev.h5 SVM04_npp_d20120717_t1822259_e1823500_b00001_c20120717184026414020_cspp_dev.h5 SVM04_npp_d20120717_t1823513_e1825155_b00001_c20120717185001218489_cspp_dev.h5 + /mnt/r4/Software/IDL_WORKDIR/NPPProcessing/scripts/runConcatNppSdrSub.sh -98 17 -80 31 SVM05_npp_d20120717_t1819440_e1821082_b00001_c20120717184638897304_cspp_dev.h5 SVM05_npp_d20120717_t1821005_e1822246_b00001_c20120717184329366920_cspp_dev.h5 SVM05_npp_d20120717_t1822259_e1823500_b00001_c20120717184026471638_cspp_dev.h5 SVM05_npp_d20120717_t1823513_e1825155_b00001_c20120717185001285020_cspp_dev.h5 ++ ls SVM05_npp_d20120717_t1819440_radiance.bin + svm05File=SVM05_npp_d20120717_t1819440_radiance.bin + test -z SVM05_npp_d20120717_t1819440_radiance.bin + /mnt/r4/Software/IDL_WORKDIR/NPPProcessing/scripts/projectSDR.sh -98 17 -80 31 SVM05_npp_d20120717_t1819440_radiance.bin ++ tail -1 ++ ls SVM050403_npp_d20120717_t1819440_reg.bsq + modBsq=SVM050403_npp_d20120717_t1819440_reg.bsq + test -z SVM050403_npp_d20120717_t1819440_reg.bsq ++ echo SVM050403_npp_d20120717_t1819440_reg.bsq ++ sed s,_reg,_gom, + gomBsq=SVM050403_npp_d20120717_t1819440_gom.bsq + mv SVM050403_npp_d20120717_t1819440_reg.bsq SVM050403_npp_d20120717_t1819440_gom.bsq + mv SVM050403_npp_d20120717_t1819440_reg.bsq.hdr SVM050403_npp_d20120717_t1819440_gom.bsq.hdr + /mnt/r4/Software/IDL_WORKDIR/NPPProcessing/scripts/scaleNPP.sh SVM050403_npp_d20120717_t1819440_gom.bsq ++ 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 + '[' 1 -lt 1 ']' + bsqFile=SVM050403_npp_d20120717_t1819440_gom.bsq ++ basename SVM050403_npp_d20120717_t1819440_gom.bsq .bsq + baseName=SVM050403_npp_d20120717_t1819440_gom ++ basename SVM050403_npp_d20120717_t1819440_gom _sharp + baseName=SVM050403_npp_d20120717_t1819440_gom ++ dirname SVM050403_npp_d20120717_t1819440_gom.bsq + dirName=. + eightBsq=./SVM050403_npp_d20120717_t1819440_gom_8bit.bsq + /mnt/r4/Software/IDL_WORKDIR/NPPProcessing/scripts/piecelinscaleto8bitlnx -s /mnt/r4/Software/IDL_WORKDIR/NPPProcessing/scripts/npp050403_enhance.txt -i SVM050403_npp_d20120717_t1819440_gom.bsq -o ./SVM050403_npp_d20120717_t1819440_gom_8bit.bsq -b -999.70 -B 0,1,2 Band 0 Band 1 Band 2 Writing Image ./SVM050403_npp_d20120717_t1819440_gom_8bit.bsq + /mnt/r4/Software/IDL_WORKDIR/Default/scripts/run_bsq_to_tif.sh ./SVM050403_npp_d20120717_t1819440_gom_8bit.bsq ++ basename /mnt/r4/Software/IDL_WORKDIR/Default/scripts/run_bsq_to_tif.sh + FUNC=run_bsq_to_tif.sh ++ dirname /mnt/r4/Software/IDL_WORKDIR/Default/scripts/run_bsq_to_tif.sh + scriptDir=/mnt/r4/Software/IDL_WORKDIR/Default/scripts ++ fullpath /mnt/r4/Software/IDL_WORKDIR/Default/scripts + scriptDir=/mnt/r4/Software/IDL_WORKDIR/Default/scripts + IDL_SOURCE_DIR=/mnt/r4/Software/IDL_WORKDIR/Default + date Tue Jul 17 14:49:58 CDT 2012 + '[' 1 -lt 1 ']' + idl /mnt/r4/Software/IDL_WORKDIR/Default/scripts/run_bsq_to_tif.idlbatch -args ./SVM050403_npp_d20120717_t1819440_gom_8bit.bsq IDL Version 8.0.1 (linux x86 m32). (c) 2010, ITT Visual Information Solutions Installation number: 92612. Licensed for use by: Lab License % Restored file: ENVI. % Restored file: ENVI_M01. % Restored file: ENVI_M02. % Restored file: ENVI_M03. % Restored file: ENVI_M04. % Restored file: ENVI_M05. % Restored file: ENVI_M06. % Restored file: ENVI_M07. % Restored file: ENVI_M08. % Restored file: ENVI_D01. % Restored file: ENVI_D02. % Restored file: ENVI_D03. % Restored file: ENVI_CW. % Restored file: ENVI_IDL. % Restored file: ENVI_IOU. % Restored file: ENVI_RV. % Compiled module: BSQ_TO_TIF. File: ./SVM050403_npp_d20120717_t1819440_gom_8bit.bsq FileDirectory: ./ baseName: SVM050403_npp_d20120717_t1819440_gom_8bit % Loaded DLM: MAP_PE. % Restored file: ENVI_EX1. + date Tue Jul 17 14:49:59 CDT 2012 ++ ls ./SVM050403_npp_d20120717_t1819440_gom_8bit.bsq ++ sed s,bsq,tif, + eightTif=./SVM050403_npp_d20120717_t1819440_gom_8bit.tif ++ ls ./SVM050403_npp_d20120717_t1819440_gom_8bit.tif ++ sed s,tif,png, + eightPng=./SVM050403_npp_d20120717_t1819440_gom_8bit.png + convert ./SVM050403_npp_d20120717_t1819440_gom_8bit.tif ./SVM050403_npp_d20120717_t1819440_gom_8bit.png convert: ./SVM050403_npp_d20120717_t1819440_gom_8bit.tif: unknown field with tag 33550 (0x830e) encountered. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/704. convert: ./SVM050403_npp_d20120717_t1819440_gom_8bit.tif: unknown field with tag 33922 (0x8482) encountered. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/704. convert: ./SVM050403_npp_d20120717_t1819440_gom_8bit.tif: unknown field with tag 34735 (0x87af) encountered. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/704. convert: ./SVM050403_npp_d20120717_t1819440_gom_8bit.tif: unknown field with tag 34737 (0x87b1) encountered. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/704. + test -f ./SVM050403_npp_d20120717_t1819440_gom_8bit.png + echo ' PNG generated putting to irods' PNG generated putting to irods + iput ./SVM050403_npp_d20120717_t1819440_gom_8bit.tif ./SVM050403_npp_d20120717_t1819440_gom_8bit.png /tacc/Collections/CSR/Public/NPP/