++ 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_06_26_178_1813 + workDir=/mnt/r5/Data/NPP/2012_06_26_178_1813 + cd /mnt/r5/Data/NPP/2012_06_26_178_1813 + /mnt/r4/Software/IDL_WORKDIR/NPPProcessing/scripts/genNPPSharp.scr -108 25 -93 37 2012_06_26_178_1813 ++ 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_06_26_178_1813 + workDir=/mnt/r5/Data/NPP/2012_06_26_178_1813 + cd /mnt/r5/Data/NPP/2012_06_26_178_1813 + 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_npp_d20120626_t1812587_e1814230_b00001_c20120626185038580181_cspp_dev.h5 SVM03_npp_d20120626_t1814242_e1815484_b00001_c20120626184855963043_cspp_dev.h5 SVM03_npp_d20120626_t1815496_e1817138_b00001_c20120626184727830095_cspp_dev.h5 SVM03_npp_d20120626_t1817150_e1818392_b00001_c20120626184555189278_cspp_dev.h5 SVM03_npp_d20120626_t1818404_e1820046_b00001_c20120626184420359715_cspp_dev.h5 + /mnt/r4/Software/IDL_WORKDIR/NPPProcessing/scripts/runConcatNppSdrSub.sh -108 25 -93 37 SVM04_npp_d20120626_t1812587_e1814230_b00001_c20120626185038637758_cspp_dev.h5 SVM04_npp_d20120626_t1814242_e1815484_b00001_c20120626184856021729_cspp_dev.h5 SVM04_npp_d20120626_t1815496_e1817138_b00001_c20120626184727890675_cspp_dev.h5 SVM04_npp_d20120626_t1817150_e1818392_b00001_c20120626184555235459_cspp_dev.h5 SVM04_npp_d20120626_t1818404_e1820046_b00001_c20120626184420402331_cspp_dev.h5 + /mnt/r4/Software/IDL_WORKDIR/NPPProcessing/scripts/runConcatNppSdrSub.sh -108 25 -93 37 SVM05_npp_d20120626_t1812587_e1814230_b00001_c20120626185038698014_cspp_dev.h5 SVM05_npp_d20120626_t1814242_e1815484_b00001_c20120626184856078331_cspp_dev.h5 SVM05_npp_d20120626_t1815496_e1817138_b00001_c20120626184727953387_cspp_dev.h5 SVM05_npp_d20120626_t1817150_e1818392_b00001_c20120626184555281560_cspp_dev.h5 SVM05_npp_d20120626_t1818404_e1820046_b00001_c20120626184420446944_cspp_dev.h5 + /mnt/r4/Software/IDL_WORKDIR/NPPProcessing/scripts/runConcatNppSdrSub.sh -108 25 -93 37 SVI01_npp_d20120626_t1812587_e1814230_b00001_c20120626185037689751_cspp_dev.h5 SVI01_npp_d20120626_t1814242_e1815484_b00001_c20120626184855078746_cspp_dev.h5 SVI01_npp_d20120626_t1815496_e1817138_b00001_c20120626184727005153_cspp_dev.h5 SVI01_npp_d20120626_t1817150_e1818392_b00001_c20120626184554524627_cspp_dev.h5 SVI01_npp_d20120626_t1818404_e1820046_b00001_c20120626184419706261_cspp_dev.h5 ++ ls SVM05_npp_d20120626_t1812587_radiance.bin + svm05File=SVM05_npp_d20120626_t1812587_radiance.bin + test -z SVM05_npp_d20120626_t1812587_radiance.bin + /mnt/r4/Software/IDL_WORKDIR/NPPProcessing/scripts/projectandsharpenSDR.sh SVM05_npp_d20120626_t1812587_radiance.bin ++ ls SVM050403_npp_d20120626_t1812587_sharp.bsq ++ tail -1 + sharpBsq=SVM050403_npp_d20120626_t1812587_sharp.bsq + test -z sharpBsq ++ echo SVM050403_npp_d20120626_t1812587_sharp.bsq ++ sed s,_sharp,_texas, + texasBsq=SVM050403_npp_d20120626_t1812587_texas.bsq + mv SVM050403_npp_d20120626_t1812587_sharp.bsq SVM050403_npp_d20120626_t1812587_texas.bsq + mv SVM050403_npp_d20120626_t1812587_sharp.bsq.hdr SVM050403_npp_d20120626_t1812587_texas.bsq.hdr + /mnt/r4/Software/IDL_WORKDIR/NPPProcessing/scripts/scaleNPP.sh SVM050403_npp_d20120626_t1812587_texas.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_d20120626_t1812587_texas.bsq ++ basename SVM050403_npp_d20120626_t1812587_texas.bsq .bsq + baseName=SVM050403_npp_d20120626_t1812587_texas ++ basename SVM050403_npp_d20120626_t1812587_texas _sharp + baseName=SVM050403_npp_d20120626_t1812587_texas ++ dirname SVM050403_npp_d20120626_t1812587_texas.bsq + dirName=. + eightBsq=./SVM050403_npp_d20120626_t1812587_texas_8bit.bsq + /mnt/r4/Software/IDL_WORKDIR/NPPProcessing/scripts/piecelinscaleto8bitlnx -s /mnt/r4/Software/IDL_WORKDIR/NPPProcessing/scripts/npp050403_enhance.txt -i SVM050403_npp_d20120626_t1812587_texas.bsq -o ./SVM050403_npp_d20120626_t1812587_texas_8bit.bsq -b -999.70 -B 0,1,2 Band 0 Band 1 Band 2 Writing Image ./SVM050403_npp_d20120626_t1812587_texas_8bit.bsq + /mnt/r4/Software/IDL_WORKDIR/Default/scripts/run_bsq_to_tif.sh ./SVM050403_npp_d20120626_t1812587_texas_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 Jun 26 14:52:22 CDT 2012 + '[' 1 -lt 1 ']' + idl /mnt/r4/Software/IDL_WORKDIR/Default/scripts/run_bsq_to_tif.idlbatch -args ./SVM050403_npp_d20120626_t1812587_texas_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_d20120626_t1812587_texas_8bit.bsq FileDirectory: ./ baseName: SVM050403_npp_d20120626_t1812587_texas_8bit % Loaded DLM: MAP_PE. % Restored file: ENVI_EX1. + date Tue Jun 26 14:52:24 CDT 2012 ++ sed s,bsq,tif, ++ ls ./SVM050403_npp_d20120626_t1812587_texas_8bit.bsq + eightTif=./SVM050403_npp_d20120626_t1812587_texas_8bit.tif ++ ls ./SVM050403_npp_d20120626_t1812587_texas_8bit.tif ++ sed s,tif,png, + eightPng=./SVM050403_npp_d20120626_t1812587_texas_8bit.png + convert ./SVM050403_npp_d20120626_t1812587_texas_8bit.tif ./SVM050403_npp_d20120626_t1812587_texas_8bit.png convert: ./SVM050403_npp_d20120626_t1812587_texas_8bit.tif: unknown field with tag 33550 (0x830e) encountered. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/704. convert: ./SVM050403_npp_d20120626_t1812587_texas_8bit.tif: unknown field with tag 33922 (0x8482) encountered. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/704. convert: ./SVM050403_npp_d20120626_t1812587_texas_8bit.tif: unknown field with tag 34735 (0x87af) encountered. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/704. convert: ./SVM050403_npp_d20120626_t1812587_texas_8bit.tif: unknown field with tag 34737 (0x87b1) encountered. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/704. + test -f ./SVM050403_npp_d20120626_t1812587_texas_8bit.png + echo ' PNG generated putting to irods' PNG generated putting to irods + iput ./SVM050403_npp_d20120626_t1812587_texas_8bit.tif ./SVM050403_npp_d20120626_t1812587_texas_8bit.png /tacc/Collections/CSR/Public/NPP/