++ 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_22_174_1928 + workDir=/mnt/r5/Data/NPP/2012_06_22_174_1928 + cd /mnt/r5/Data/NPP/2012_06_22_174_1928 + /mnt/r4/Software/IDL_WORKDIR/NPPProcessing/scripts/genNPPSharp.scr -108 25 -93 37 2012_06_22_174_1928 ++ 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_22_174_1928 + workDir=/mnt/r5/Data/NPP/2012_06_22_174_1928 + cd /mnt/r5/Data/NPP/2012_06_22_174_1928 + 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_d20120622_t1930051_e1931293_b00001_c20120622200123803475_cspp_dev.h5 SVM03_npp_d20120622_t1931305_e1932547_b00001_c20120622195947557459_cspp_dev.h5 SVM03_npp_d20120622_t1932560_e1934201_b00001_c20120622195806955825_cspp_dev.h5 + /mnt/r4/Software/IDL_WORKDIR/NPPProcessing/scripts/runConcatNppSdrSub.sh -108 25 -93 37 SVM04_npp_d20120622_t1930051_e1931293_b00001_c20120622200123851532_cspp_dev.h5 SVM04_npp_d20120622_t1931305_e1932547_b00001_c20120622195947603078_cspp_dev.h5 SVM04_npp_d20120622_t1932560_e1934201_b00001_c20120622195806997723_cspp_dev.h5 + /mnt/r4/Software/IDL_WORKDIR/NPPProcessing/scripts/runConcatNppSdrSub.sh -108 25 -93 37 SVM05_npp_d20120622_t1930051_e1931293_b00001_c20120622200123900019_cspp_dev.h5 SVM05_npp_d20120622_t1931305_e1932547_b00001_c20120622195947649897_cspp_dev.h5 SVM05_npp_d20120622_t1932560_e1934201_b00001_c20120622195807039130_cspp_dev.h5 + /mnt/r4/Software/IDL_WORKDIR/NPPProcessing/scripts/runConcatNppSdrSub.sh -108 25 -93 37 SVI01_npp_d20120622_t1930051_e1931293_b00001_c20120622200123143185_cspp_dev.h5 SVI01_npp_d20120622_t1931305_e1932547_b00001_c20120622195946882438_cspp_dev.h5 SVI01_npp_d20120622_t1932560_e1934201_b00001_c20120622195806308913_cspp_dev.h5 ++ ls SVM05_npp_d20120622_t1930051_radiance.bin + svm05File=SVM05_npp_d20120622_t1930051_radiance.bin + test -z SVM05_npp_d20120622_t1930051_radiance.bin + /mnt/r4/Software/IDL_WORKDIR/NPPProcessing/scripts/projectandsharpenSDR.sh SVM05_npp_d20120622_t1930051_radiance.bin ++ tail -1 ++ ls SVM050403_npp_d20120622_t1930051_sharp.bsq + sharpBsq=SVM050403_npp_d20120622_t1930051_sharp.bsq + test -z sharpBsq ++ echo SVM050403_npp_d20120622_t1930051_sharp.bsq ++ sed s,_sharp,_texas, + texasBsq=SVM050403_npp_d20120622_t1930051_texas.bsq + mv SVM050403_npp_d20120622_t1930051_sharp.bsq SVM050403_npp_d20120622_t1930051_texas.bsq + mv SVM050403_npp_d20120622_t1930051_sharp.bsq.hdr SVM050403_npp_d20120622_t1930051_texas.bsq.hdr + /mnt/r4/Software/IDL_WORKDIR/NPPProcessing/scripts/scaleNPP.sh SVM050403_npp_d20120622_t1930051_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_d20120622_t1930051_texas.bsq ++ basename SVM050403_npp_d20120622_t1930051_texas.bsq .bsq + baseName=SVM050403_npp_d20120622_t1930051_texas ++ basename SVM050403_npp_d20120622_t1930051_texas _sharp + baseName=SVM050403_npp_d20120622_t1930051_texas ++ dirname SVM050403_npp_d20120622_t1930051_texas.bsq + dirName=. + eightBsq=./SVM050403_npp_d20120622_t1930051_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_d20120622_t1930051_texas.bsq -o ./SVM050403_npp_d20120622_t1930051_texas_8bit.bsq -b -999.70 -B 0,1,2 Band 0 Band 1 Band 2 Writing Image ./SVM050403_npp_d20120622_t1930051_texas_8bit.bsq + /mnt/r4/Software/IDL_WORKDIR/Default/scripts/run_bsq_to_tif.sh ./SVM050403_npp_d20120622_t1930051_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 Fri Jun 22 15:47:56 CDT 2012 + '[' 1 -lt 1 ']' + idl /mnt/r4/Software/IDL_WORKDIR/Default/scripts/run_bsq_to_tif.idlbatch -args ./SVM050403_npp_d20120622_t1930051_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_d20120622_t1930051_texas_8bit.bsq FileDirectory: ./ baseName: SVM050403_npp_d20120622_t1930051_texas_8bit % Loaded DLM: MAP_PE. % Restored file: ENVI_EX1. + date Fri Jun 22 15:47:57 CDT 2012 ++ sed s,bsq,tif, ++ ls ./SVM050403_npp_d20120622_t1930051_texas_8bit.bsq + eightTif=./SVM050403_npp_d20120622_t1930051_texas_8bit.tif ++ sed s,tif,png, ++ ls ./SVM050403_npp_d20120622_t1930051_texas_8bit.tif + eightPng=./SVM050403_npp_d20120622_t1930051_texas_8bit.png + convert ./SVM050403_npp_d20120622_t1930051_texas_8bit.tif ./SVM050403_npp_d20120622_t1930051_texas_8bit.png convert: ./SVM050403_npp_d20120622_t1930051_texas_8bit.tif: unknown field with tag 33550 (0x830e) encountered. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/704. convert: ./SVM050403_npp_d20120622_t1930051_texas_8bit.tif: unknown field with tag 33922 (0x8482) encountered. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/704. convert: ./SVM050403_npp_d20120622_t1930051_texas_8bit.tif: unknown field with tag 34735 (0x87af) encountered. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/704. convert: ./SVM050403_npp_d20120622_t1930051_texas_8bit.tif: unknown field with tag 34737 (0x87b1) encountered. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/704. + test -f ./SVM050403_npp_d20120622_t1930051_texas_8bit.png + echo ' PNG generated putting to irods' PNG generated putting to irods + iput ./SVM050403_npp_d20120622_t1930051_texas_8bit.tif ./SVM050403_npp_d20120622_t1930051_texas_8bit.png /tacc/Collections/CSR/Public/NPP/