++ 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_16_198_1838 + workDir=/mnt/r5/Data/NPP/2012_07_16_198_1838 + cd /mnt/r5/Data/NPP/2012_07_16_198_1838 + /mnt/r4/Software/IDL_WORKDIR/NPPProcessing/scripts/genNPPSharp.scr -108 25 -93 37 2012_07_16_198_1838 ++ 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_16_198_1838 + workDir=/mnt/r5/Data/NPP/2012_07_16_198_1838 + cd /mnt/r5/Data/NPP/2012_07_16_198_1838 + 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_d20120716_t1838307_e1839549_b00001_c20120716190634656694_cspp_dev.h5 SVM03_npp_d20120716_t1839561_e1841203_b00001_c20120716190506983330_cspp_dev.h5 SVM03_npp_d20120716_t1841215_e1842457_b00001_c20120716191533822247_cspp_dev.h5 SVM03_npp_d20120716_t1842469_e1844111_b00001_c20120716190338347099_cspp_dev.h5 + /mnt/r4/Software/IDL_WORKDIR/NPPProcessing/scripts/runConcatNppSdrSub.sh -108 25 -93 37 SVM04_npp_d20120716_t1838307_e1839549_b00001_c20120716190634724876_cspp_dev.h5 SVM04_npp_d20120716_t1839561_e1841203_b00001_c20120716190507039522_cspp_dev.h5 SVM04_npp_d20120716_t1841215_e1842457_b00001_c20120716191533886235_cspp_dev.h5 SVM04_npp_d20120716_t1842469_e1844111_b00001_c20120716190338404516_cspp_dev.h5 + /mnt/r4/Software/IDL_WORKDIR/NPPProcessing/scripts/runConcatNppSdrSub.sh -108 25 -93 37 SVM05_npp_d20120716_t1838307_e1839549_b00001_c20120716190634793045_cspp_dev.h5 SVM05_npp_d20120716_t1839561_e1841203_b00001_c20120716190507095523_cspp_dev.h5 SVM05_npp_d20120716_t1841215_e1842457_b00001_c20120716191533948349_cspp_dev.h5 SVM05_npp_d20120716_t1842469_e1844111_b00001_c20120716190338459539_cspp_dev.h5 + /mnt/r4/Software/IDL_WORKDIR/NPPProcessing/scripts/runConcatNppSdrSub.sh -108 25 -93 37 SVI01_npp_d20120716_t1838307_e1839549_b00001_c20120716190633678014_cspp_dev.h5 SVI01_npp_d20120716_t1839561_e1841203_b00001_c20120716190506125810_cspp_dev.h5 SVI01_npp_d20120716_t1841215_e1842457_b00001_c20120716191532934342_cspp_dev.h5 SVI01_npp_d20120716_t1842469_e1844111_b00001_c20120716190337529220_cspp_dev.h5 ++ ls SVM05_npp_d20120716_t1838307_radiance.bin + svm05File=SVM05_npp_d20120716_t1838307_radiance.bin + test -z SVM05_npp_d20120716_t1838307_radiance.bin + /mnt/r4/Software/IDL_WORKDIR/NPPProcessing/scripts/projectandsharpenSDR.sh SVM05_npp_d20120716_t1838307_radiance.bin ++ tail -1 ++ ls SVM050403_npp_d20120716_t1838307_sharp.bsq + sharpBsq=SVM050403_npp_d20120716_t1838307_sharp.bsq + test -z sharpBsq ++ echo SVM050403_npp_d20120716_t1838307_sharp.bsq ++ sed s,_sharp,_texas, + texasBsq=SVM050403_npp_d20120716_t1838307_texas.bsq + mv SVM050403_npp_d20120716_t1838307_sharp.bsq SVM050403_npp_d20120716_t1838307_texas.bsq + mv SVM050403_npp_d20120716_t1838307_sharp.bsq.hdr SVM050403_npp_d20120716_t1838307_texas.bsq.hdr + /mnt/r4/Software/IDL_WORKDIR/NPPProcessing/scripts/scaleNPP.sh SVM050403_npp_d20120716_t1838307_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_d20120716_t1838307_texas.bsq ++ basename SVM050403_npp_d20120716_t1838307_texas.bsq .bsq + baseName=SVM050403_npp_d20120716_t1838307_texas ++ basename SVM050403_npp_d20120716_t1838307_texas _sharp + baseName=SVM050403_npp_d20120716_t1838307_texas ++ dirname SVM050403_npp_d20120716_t1838307_texas.bsq + dirName=. + eightBsq=./SVM050403_npp_d20120716_t1838307_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_d20120716_t1838307_texas.bsq -o ./SVM050403_npp_d20120716_t1838307_texas_8bit.bsq -b -999.70 -B 0,1,2 Band 0 Band 1 Band 2 Writing Image ./SVM050403_npp_d20120716_t1838307_texas_8bit.bsq + /mnt/r4/Software/IDL_WORKDIR/Default/scripts/run_bsq_to_tif.sh ./SVM050403_npp_d20120716_t1838307_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 Mon Jul 16 15:14:40 CDT 2012 + '[' 1 -lt 1 ']' + idl /mnt/r4/Software/IDL_WORKDIR/Default/scripts/run_bsq_to_tif.idlbatch -args ./SVM050403_npp_d20120716_t1838307_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_d20120716_t1838307_texas_8bit.bsq FileDirectory: ./ baseName: SVM050403_npp_d20120716_t1838307_texas_8bit % Loaded DLM: MAP_PE. % Restored file: ENVI_EX1. + date Mon Jul 16 15:14:41 CDT 2012 ++ ls ./SVM050403_npp_d20120716_t1838307_texas_8bit.bsq ++ sed s,bsq,tif, + eightTif=./SVM050403_npp_d20120716_t1838307_texas_8bit.tif ++ ls ./SVM050403_npp_d20120716_t1838307_texas_8bit.tif ++ sed s,tif,png, + eightPng=./SVM050403_npp_d20120716_t1838307_texas_8bit.png + convert ./SVM050403_npp_d20120716_t1838307_texas_8bit.tif ./SVM050403_npp_d20120716_t1838307_texas_8bit.png convert: ./SVM050403_npp_d20120716_t1838307_texas_8bit.tif: unknown field with tag 33550 (0x830e) encountered. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/704. convert: ./SVM050403_npp_d20120716_t1838307_texas_8bit.tif: unknown field with tag 33922 (0x8482) encountered. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/704. convert: ./SVM050403_npp_d20120716_t1838307_texas_8bit.tif: unknown field with tag 34735 (0x87af) encountered. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/704. convert: ./SVM050403_npp_d20120716_t1838307_texas_8bit.tif: unknown field with tag 34737 (0x87b1) encountered. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/704. + test -f ./SVM050403_npp_d20120716_t1838307_texas_8bit.png + echo ' PNG generated putting to irods' PNG generated putting to irods + iput ./SVM050403_npp_d20120716_t1838307_texas_8bit.tif ./SVM050403_npp_d20120716_t1838307_texas_8bit.png /tacc/Collections/CSR/Public/NPP/