++ 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_05_187_1844 + workDir=/mnt/r5/Data/NPP/2012_07_05_187_1844 + cd /mnt/r5/Data/NPP/2012_07_05_187_1844 + /mnt/r4/Software/IDL_WORKDIR/NPPProcessing/scripts/genNPPSharp.scr -108 25 -93 37 2012_07_05_187_1844 ++ 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_05_187_1844 + workDir=/mnt/r5/Data/NPP/2012_07_05_187_1844 + cd /mnt/r5/Data/NPP/2012_07_05_187_1844 + 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_d20120705_t1844409_e1846051_b00001_c20120705191138009975_cspp_dev.h5 SVM03_npp_d20120705_t1846045_e1847287_b00001_c20120705192016114589_cspp_dev.h5 SVM03_npp_d20120705_t1847299_e1848541_b00001_c20120705190828897344_cspp_dev.h5 SVM03_npp_d20120705_t1848553_e1850195_b00001_c20120705191837942487_cspp_dev.h5 SVM03_npp_d20120705_t1850207_e1851449_b00001_c20120705191505993019_cspp_dev.h5 + /mnt/r4/Software/IDL_WORKDIR/NPPProcessing/scripts/runConcatNppSdrSub.sh -108 25 -93 37 SVM04_npp_d20120705_t1844409_e1846051_b00001_c20120705191138066685_cspp_dev.h5 SVM04_npp_d20120705_t1846045_e1847287_b00001_c20120705192016172811_cspp_dev.h5 SVM04_npp_d20120705_t1847299_e1848541_b00001_c20120705190828963371_cspp_dev.h5 SVM04_npp_d20120705_t1848553_e1850195_b00001_c20120705191838001504_cspp_dev.h5 SVM04_npp_d20120705_t1850207_e1851449_b00001_c20120705191506047640_cspp_dev.h5 + /mnt/r4/Software/IDL_WORKDIR/NPPProcessing/scripts/runConcatNppSdrSub.sh -108 25 -93 37 SVM05_npp_d20120705_t1844409_e1846051_b00001_c20120705191138123874_cspp_dev.h5 SVM05_npp_d20120705_t1846045_e1847287_b00001_c20120705192016230770_cspp_dev.h5 SVM05_npp_d20120705_t1847299_e1848541_b00001_c20120705190829030048_cspp_dev.h5 SVM05_npp_d20120705_t1848553_e1850195_b00001_c20120705191838060970_cspp_dev.h5 SVM05_npp_d20120705_t1850207_e1851449_b00001_c20120705191506101983_cspp_dev.h5 + /mnt/r4/Software/IDL_WORKDIR/NPPProcessing/scripts/runConcatNppSdrSub.sh -108 25 -93 37 SVI01_npp_d20120705_t1844409_e1846051_b00001_c20120705191137154618_cspp_dev.h5 SVI01_npp_d20120705_t1846045_e1847287_b00001_c20120705192015231913_cspp_dev.h5 SVI01_npp_d20120705_t1847299_e1848541_b00001_c20120705190828003445_cspp_dev.h5 SVI01_npp_d20120705_t1848553_e1850195_b00001_c20120705191837023412_cspp_dev.h5 SVI01_npp_d20120705_t1850207_e1851449_b00001_c20120705191505214996_cspp_dev.h5 ++ ls SVM05_npp_d20120705_t1844409_radiance.bin + svm05File=SVM05_npp_d20120705_t1844409_radiance.bin + test -z SVM05_npp_d20120705_t1844409_radiance.bin + /mnt/r4/Software/IDL_WORKDIR/NPPProcessing/scripts/projectandsharpenSDR.sh SVM05_npp_d20120705_t1844409_radiance.bin ++ tail -1 ++ ls SVM050403_npp_d20120705_t1844409_sharp.bsq + sharpBsq=SVM050403_npp_d20120705_t1844409_sharp.bsq + test -z sharpBsq ++ echo SVM050403_npp_d20120705_t1844409_sharp.bsq ++ sed s,_sharp,_texas, + texasBsq=SVM050403_npp_d20120705_t1844409_texas.bsq + mv SVM050403_npp_d20120705_t1844409_sharp.bsq SVM050403_npp_d20120705_t1844409_texas.bsq + mv SVM050403_npp_d20120705_t1844409_sharp.bsq.hdr SVM050403_npp_d20120705_t1844409_texas.bsq.hdr + /mnt/r4/Software/IDL_WORKDIR/NPPProcessing/scripts/scaleNPP.sh SVM050403_npp_d20120705_t1844409_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_d20120705_t1844409_texas.bsq ++ basename SVM050403_npp_d20120705_t1844409_texas.bsq .bsq + baseName=SVM050403_npp_d20120705_t1844409_texas ++ basename SVM050403_npp_d20120705_t1844409_texas _sharp + baseName=SVM050403_npp_d20120705_t1844409_texas ++ dirname SVM050403_npp_d20120705_t1844409_texas.bsq + dirName=. + eightBsq=./SVM050403_npp_d20120705_t1844409_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_d20120705_t1844409_texas.bsq -o ./SVM050403_npp_d20120705_t1844409_texas_8bit.bsq -b -999.70 -B 0,1,2 Band 0 Band 1 Band 2 Writing Image ./SVM050403_npp_d20120705_t1844409_texas_8bit.bsq + /mnt/r4/Software/IDL_WORKDIR/Default/scripts/run_bsq_to_tif.sh ./SVM050403_npp_d20120705_t1844409_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 Thu Jul 5 15:41:27 CDT 2012 + '[' 1 -lt 1 ']' + idl /mnt/r4/Software/IDL_WORKDIR/Default/scripts/run_bsq_to_tif.idlbatch -args ./SVM050403_npp_d20120705_t1844409_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_d20120705_t1844409_texas_8bit.bsq FileDirectory: ./ baseName: SVM050403_npp_d20120705_t1844409_texas_8bit % Loaded DLM: MAP_PE. % Restored file: ENVI_EX1. + date Thu Jul 5 15:41:29 CDT 2012 ++ sed s,bsq,tif, ++ ls ./SVM050403_npp_d20120705_t1844409_texas_8bit.bsq + eightTif=./SVM050403_npp_d20120705_t1844409_texas_8bit.tif ++ sed s,tif,png, ++ ls ./SVM050403_npp_d20120705_t1844409_texas_8bit.tif + eightPng=./SVM050403_npp_d20120705_t1844409_texas_8bit.png + convert ./SVM050403_npp_d20120705_t1844409_texas_8bit.tif ./SVM050403_npp_d20120705_t1844409_texas_8bit.png convert: ./SVM050403_npp_d20120705_t1844409_texas_8bit.tif: unknown field with tag 33550 (0x830e) encountered. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/704. convert: ./SVM050403_npp_d20120705_t1844409_texas_8bit.tif: unknown field with tag 33922 (0x8482) encountered. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/704. convert: ./SVM050403_npp_d20120705_t1844409_texas_8bit.tif: unknown field with tag 34735 (0x87af) encountered. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/704. convert: ./SVM050403_npp_d20120705_t1844409_texas_8bit.tif: unknown field with tag 34737 (0x87b1) encountered. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/704. + test -f ./SVM050403_npp_d20120705_t1844409_texas_8bit.png + echo ' PNG generated putting to irods' PNG generated putting to irods + iput ./SVM050403_npp_d20120705_t1844409_texas_8bit.tif ./SVM050403_npp_d20120705_t1844409_texas_8bit.png /tacc/Collections/CSR/Public/NPP/