++ basename /mnt/r6/Software/IDL_WORKDIR/NPPProcessing/scripts/processNPPCreflGoM.sh + FUNC=processNPPCreflGoM.sh ++ dirname /mnt/r6/Software/IDL_WORKDIR/NPPProcessing/scripts/processNPPCreflGoM.sh + scriptDir=/mnt/r6/Software/IDL_WORKDIR/NPPProcessing/scripts ++ fullpath /mnt/r6/Software/IDL_WORKDIR/NPPProcessing/scripts + scriptDir=/mnt/r6/Software/IDL_WORKDIR/NPPProcessing/scripts + defDir=/mnt/r6/Software/IDL_WORKDIR/Default/scripts + dataDir=/mnt/r6/Data/NPP ++ grep processNPPCreflGoM.sh /mnt/r6/Software/IDL_WORKDIR/NPPProcessing/scripts/nppBounds.list + boundLine=-98:17:-80:31:Day=processNPPCreflGoM.sh ++ echo -98:17:-80:31:Day=processNPPCreflGoM.sh ++ cut -d= -f1 + bounds=-98:17:-80:31:Day ++ echo -98:17:-80:31:Day ++ cut -d: -f1 + lon1=-98 ++ echo -98:17:-80:31:Day ++ cut -d: -f2 + lat1=17 ++ echo -98:17:-80:31:Day ++ cut -d: -f3 + lon2=-80 ++ echo -98:17:-80:31:Day ++ cut -d: -f4 + lat2=31 + '[' 1 -lt 1 ']' + dateDir=2014_07_22_203_1847 + workDir=/mnt/r6/Data/NPP/2014_07_22_203_1847 + cd /mnt/r6/Data/NPP/2014_07_22_203_1847 + rm -f CVIIRSM010403_npp_d20140722_t1849107_reg.bsq CVIIRSM010403_npp_d20140722_t1849107_reg.bsq.hdr CVIIRSM01_npp_d20140722_t1849107_reg.bin CVIIRSM01_npp_d20140722_t1849107_reg.bin.hdr CVIIRSM03_npp_d20140722_t1849107_reg.bin CVIIRSM03_npp_d20140722_t1849107_reg.bin.hdr CVIIRSM04_npp_d20140722_t1849107_reg.bin CVIIRSM04_npp_d20140722_t1849107_reg.bin.hdr CVIIRSM01_npp_d20140722_t1849107_reg.bin CVIIRSM01_npp_d20140722_t1849107_reg.bin.hdr CVIIRSM03_npp_d20140722_t1849107_reg.bin CVIIRSM03_npp_d20140722_t1849107_reg.bin.hdr CVIIRSM04_npp_d20140722_t1849107_reg.bin CVIIRSM04_npp_d20140722_t1849107_reg.bin.hdr CVIIRSM_npp_d20140722_t1849107-CorrRefl_01.bin CVIIRSM_npp_d20140722_t1849107-CorrRefl_01.bin.hdr CVIIRSM_npp_d20140722_t1849107-CorrRefl_03.bin CVIIRSM_npp_d20140722_t1849107-CorrRefl_03.bin.hdr CVIIRSM_npp_d20140722_t1849107-CorrRefl_04.bin CVIIRSM_npp_d20140722_t1849107-CorrRefl_04.bin.hdr + /mnt/r6/Software/IDL_WORKDIR/NPPProcessing/scripts/genNPPCreflMod.sh -98 17 -80 31 2014_07_22_203_1847 ++ basename /mnt/r6/Software/IDL_WORKDIR/NPPProcessing/scripts/genNPPCreflMod.sh + FUNC=genNPPCreflMod.sh ++ dirname /mnt/r6/Software/IDL_WORKDIR/NPPProcessing/scripts/genNPPCreflMod.sh + scriptDir=/mnt/r6/Software/IDL_WORKDIR/NPPProcessing/scripts ++ fullpath /mnt/r6/Software/IDL_WORKDIR/NPPProcessing/scripts + scriptDir=/mnt/r6/Software/IDL_WORKDIR/NPPProcessing/scripts + dataDir=/mnt/r6/Data/NPP + '[' 5 -lt 5 ']' + lon1=-98 + lon2=-80 + lat1=17 + lat2=31 + dateDir=2014_07_22_203_1847 + workDir=/mnt/r6/Data/NPP/2014_07_22_203_1847 + cd /mnt/r6/Data/NPP/2014_07_22_203_1847 ++ head -1 ++ ls CVIIRSM_npp_d20140722_t1847453_e1849095.hdf CVIIRSM_npp_d20140722_t1849107_e1850349.hdf CVIIRSM_npp_d20140722_t1850361_e1852003.hdf CVIIRSM_npp_d20140722_t1852015_e1853257.hdf CVIIRSM_npp_d20140722_t1853269_e1854511.hdf + CVIIRSMHdf=CVIIRSM_npp_d20140722_t1847453_e1849095.hdf + test -z CVIIRSM_npp_d20140722_t1847453_e1849095.hdf + test -z CVIIRSM_npp_d20140722_t1847453_e1849095.hdf + rm GMTCO_npp_d20140722_t1847453-Latitude.bin GMTCO_npp_d20140722_t1847453-Latitude.bin.hdr GMTCO_npp_d20140722_t1847453-Longitude.bin GMTCO_npp_d20140722_t1847453-Longitude.bin.hdr CVIIRSI_npp_d20140722_t1849107-CorrRefl_08.bin CVIIRSI_npp_d20140722_t1849107-CorrRefl_08.bin.hdr ++ head -1 ++ ls GMTCO_npp_d20140722_t1847453_e1849095_b14165_c20140722190859398242_cspp_dev.h5 GMTCO_npp_d20140722_t1849107_e1850349_b14165_c20140722190856892883_cspp_dev.h5 GMTCO_npp_d20140722_t1850361_e1852003_b14165_c20140722190909162635_cspp_dev.h5 GMTCO_npp_d20140722_t1852015_e1853257_b14165_c20140722190914319049_cspp_dev.h5 GMTCO_npp_d20140722_t1853269_e1854511_b14165_c20140722191114772128_cspp_dev.h5 GMTCO_npp_d20140722_t1854523_e1856165_b14165_c20140722191113146859_cspp_dev.h5 GMTCO_npp_d20140722_t1856177_e1857419_b14165_c20140722191123103463_cspp_dev.h5 GMTCO_npp_d20140722_t1857431_e1859073_b14165_c20140722191124841091_cspp_dev.h5 GMTCO_npp_d20140722_t1859085_e1900327_b14165_c20140722191414495262_cspp_dev.h5 + GMTCOFile=GMTCO_npp_d20140722_t1847453_e1849095_b14165_c20140722190859398242_cspp_dev.h5 + /opt/itt/idl/idl80/bin/idl /mnt/r6/Software/IDL_WORKDIR/NPPProcessing/scripts/../run_concat_npp_hdf.idlbatch -args -98 17 -80 31 CVIIRSM_npp_d20140722_t1847453_e1849095.hdf CorrRefl_01,CorrRefl_03,CorrRefl_04 GMTCO_npp_d20140722_t1847453_e1849095_b14165_c20140722190859398242_cspp_dev.h5 1 1 IDL Version 8.0.1 (linux x86_64 m64). (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: HDF_SD_LIST_DATASETS. % Compiled module: H5G_MEMBER_FULL_PATH. % Compiled module: H5G_LIST_OBJECTS. % Compiled module: DELIMITEDLIST. % Compiled module: TYPESIZE. % Compiled module: TYPENAMETOCODE. % Compiled module: VALID_NUM. % Compiled module: WRITE_ARRAY. % Compiled module: WRITE_ENVI_HDR. % Compiled module: WRITE_ARRAY. % Compiled module: WRITE_ENVI_HDR. % Compiled module: HDF_IS_HDF. % Compiled module: CLOSE_ALL_FIDS. % Compiled module: CONCAT_NPP_HDF. Bounds: -98 17 -80 31 % Loaded DLM: HDF. Using Product File CVIIRSM_npp_d20140722_t1847453_e1849095.hdf Found 5 files CVIIRSM_npp_d20140722_t1847453_e1849095.hdf CVIIRSM_npp_d20140722_t1849107_e1850349.hdf CVIIRSM_npp_d20140722_t1850361_e1852003.hdf CVIIRSM_npp_d20140722_t1852015_e1853257.hdf CVIIRSM_npp_d20140722_t1853269_e1854511.hdf % Loaded DLM: HDF5. Parsing Geo File GMTCO_npp_d20140722_t1847453_e1849095_b14165_c20140722190859398242_cspp_dev.h5 Using geoFile GMTCO_npp_d20140722_t1847453_e1849095_b14165_c20140722190859398242_cspp_dev.h5 Creating ./GMTCO_npp_d20140722_t1847453-Latitude.bin Creating ./GMTCO_npp_d20140722_t1847453-Longitude.bin Using dataset: CorrRefl_01:2:3200x768 Found gain Attribute, converting dataset to Floating Point scale 0.00010000000 offset 0.0000000 Creating ./CVIIRSM_npp_d20140722_t1847453-CorrRefl_01.bin Using dataset: CorrRefl_03:2:3200x768 Found gain Attribute, converting dataset to Floating Point scale 0.00010000000 offset 0.0000000 Creating ./CVIIRSM_npp_d20140722_t1847453-CorrRefl_03.bin Using dataset: CorrRefl_04:2:3200x768 Found gain Attribute, converting dataset to Floating Point scale 0.00010000000 offset 0.0000000 Creating ./CVIIRSM_npp_d20140722_t1847453-CorrRefl_04.bin Parsing Geo File GMTCO_npp_d20140722_t1847453_e1849095_b14165_c20140722190859398242_cspp_dev.h5 Using geoFile GMTCO_npp_d20140722_t1849107_e1850349_b14165_c20140722190856892883_cspp_dev.h5 Appending to ./GMTCO_npp_d20140722_t1847453-Latitude.bin Appending to ./GMTCO_npp_d20140722_t1847453-Longitude.bin Using dataset: CorrRefl_01:2:3200x768 Found gain Attribute, converting dataset to Floating Point scale 0.00010000000 offset 0.0000000 Appending to ./CVIIRSM_npp_d20140722_t1847453-CorrRefl_01.bin Using dataset: CorrRefl_03:2:3200x768 Found gain Attribute, converting dataset to Floating Point scale 0.00010000000 offset 0.0000000 Appending to ./CVIIRSM_npp_d20140722_t1847453-CorrRefl_03.bin Using dataset: CorrRefl_04:2:3200x768 Found gain Attribute, converting dataset to Floating Point scale 0.00010000000 offset 0.0000000 Appending to ./CVIIRSM_npp_d20140722_t1847453-CorrRefl_04.bin Parsing Geo File GMTCO_npp_d20140722_t1849107_e1850349_b14165_c20140722190856892883_cspp_dev.h5 Using geoFile GMTCO_npp_d20140722_t1850361_e1852003_b14165_c20140722190909162635_cspp_dev.h5 Appending to ./GMTCO_npp_d20140722_t1847453-Latitude.bin Appending to ./GMTCO_npp_d20140722_t1847453-Longitude.bin Using dataset: CorrRefl_01:2:3200x768 Found gain Attribute, converting dataset to Floating Point scale 0.00010000000 offset 0.0000000 Appending to ./CVIIRSM_npp_d20140722_t1847453-CorrRefl_01.bin Using dataset: CorrRefl_03:2:3200x768 Found gain Attribute, converting dataset to Floating Point scale 0.00010000000 offset 0.0000000 Appending to ./CVIIRSM_npp_d20140722_t1847453-CorrRefl_03.bin Using dataset: CorrRefl_04:2:3200x768 Found gain Attribute, converting dataset to Floating Point scale 0.00010000000 offset 0.0000000 Appending to ./CVIIRSM_npp_d20140722_t1847453-CorrRefl_04.bin Parsing Geo File GMTCO_npp_d20140722_t1850361_e1852003_b14165_c20140722190909162635_cspp_dev.h5 Using geoFile GMTCO_npp_d20140722_t1852015_e1853257_b14165_c20140722190914319049_cspp_dev.h5 GMTCO_npp_d20140722_t1852015_e1853257_b14165_c20140722190914319049_cspp_dev.h5 Does not intersect bounds: 31.000000 -98.000000 17.000000 -80.000000 Parsing Geo File GMTCO_npp_d20140722_t1852015_e1853257_b14165_c20140722190914319049_cspp_dev.h5 Using geoFile GMTCO_npp_d20140722_t1853269_e1854511_b14165_c20140722191114772128_cspp_dev.h5 GMTCO_npp_d20140722_t1853269_e1854511_b14165_c20140722191114772128_cspp_dev.h5 Does not intersect bounds: 31.000000 -98.000000 17.000000 -80.000000 ++ ls CVIIRSM_npp_d20140722_t1847453-CorrRefl_01.bin + cviirsM01File=CVIIRSM_npp_d20140722_t1847453-CorrRefl_01.bin + test -z CVIIRSM_npp_d20140722_t1847453-CorrRefl_01.bin + /mnt/r6/Software/IDL_WORKDIR/NPPProcessing/scripts/projectCVIIRSM.sh -98 17 -80 31 CVIIRSM_npp_d20140722_t1847453-CorrRefl_01.bin ++ tail -1 ++ ls CVIIRSM010403_npp_d20140722_t1847453_reg.bsq + modBsq=CVIIRSM010403_npp_d20140722_t1847453_reg.bsq + test -z CVIIRSM010403_npp_d20140722_t1847453_reg.bsq ++ echo CVIIRSM010403_npp_d20140722_t1847453_reg.bsq ++ sed s,_reg,_gom, + gomBsq=CVIIRSM010403_npp_d20140722_t1847453_gom.bsq + mv CVIIRSM010403_npp_d20140722_t1847453_reg.bsq CVIIRSM010403_npp_d20140722_t1847453_gom.bsq + mv CVIIRSM010403_npp_d20140722_t1847453_reg.bsq.hdr CVIIRSM010403_npp_d20140722_t1847453_gom.bsq.hdr + /mnt/r6/Software/IDL_WORKDIR/NPPProcessing/scripts/scaleNPPCrefl.sh CVIIRSM010403_npp_d20140722_t1847453_gom.bsq ++ basename /mnt/r6/Software/IDL_WORKDIR/NPPProcessing/scripts/scaleNPPCrefl.sh + FUNC=scaleNPPCrefl.sh + irodsDir=/corralZ/projects/CSR/Public/NPP/ ++ dirname /mnt/r6/Software/IDL_WORKDIR/NPPProcessing/scripts/scaleNPPCrefl.sh + scriptDir=/mnt/r6/Software/IDL_WORKDIR/NPPProcessing/scripts ++ fullpath /mnt/r6/Software/IDL_WORKDIR/NPPProcessing/scripts + scriptDir=/mnt/r6/Software/IDL_WORKDIR/NPPProcessing/scripts + scaleFile=/mnt/r6/Software/IDL_WORKDIR/NPPProcessing/scripts/nppCrefl010403_enhance.txt + defDir=/mnt/r6/Software/IDL_WORKDIR/Default/scripts + dataDir=/mnt/r6/Data/NPP + '[' 1 -lt 1 ']' + bsqFile=CVIIRSM010403_npp_d20140722_t1847453_gom.bsq ++ basename CVIIRSM010403_npp_d20140722_t1847453_gom.bsq .bsq + baseName=CVIIRSM010403_npp_d20140722_t1847453_gom ++ basename CVIIRSM010403_npp_d20140722_t1847453_gom _sharp + baseName=CVIIRSM010403_npp_d20140722_t1847453_gom ++ dirname CVIIRSM010403_npp_d20140722_t1847453_gom.bsq + dirName=. + eightBsq=./CVIIRSM010403_npp_d20140722_t1847453_gom_8bit.bsq + /mnt/r6/Software/IDL_WORKDIR/NPPProcessing/scripts/piecelinscaleto8bitlnx -s /mnt/r6/Software/IDL_WORKDIR/NPPProcessing/scripts/nppCrefl010403_enhance.txt -i CVIIRSM010403_npp_d20140722_t1847453_gom.bsq -o ./CVIIRSM010403_npp_d20140722_t1847453_gom_8bit.bsq -b -999.70 -B 0,1,2 Band 0 Band 1 Band 2 Writing Image ./CVIIRSM010403_npp_d20140722_t1847453_gom_8bit.bsq + /mnt/r6/Software/IDL_WORKDIR/Default/scripts/run_bsq_to_tif.sh ./CVIIRSM010403_npp_d20140722_t1847453_gom_8bit.bsq ++ basename /mnt/r6/Software/IDL_WORKDIR/Default/scripts/run_bsq_to_tif.sh + FUNC=run_bsq_to_tif.sh ++ dirname /mnt/r6/Software/IDL_WORKDIR/Default/scripts/run_bsq_to_tif.sh + scriptDir=/mnt/r6/Software/IDL_WORKDIR/Default/scripts ++ fullpath /mnt/r6/Software/IDL_WORKDIR/Default/scripts + scriptDir=/mnt/r6/Software/IDL_WORKDIR/Default/scripts + IDL_SOURCE_DIR=/mnt/r6/Software/IDL_WORKDIR/Default + date Tue Jul 22 18:21:48 CDT 2014 + '[' 1 -lt 1 ']' + /opt/itt/idl/idl80/bin/idl /mnt/r6/Software/IDL_WORKDIR/Default/scripts/run_bsq_to_tif.idlbatch -args ./CVIIRSM010403_npp_d20140722_t1847453_gom_8bit.bsq IDL Version 8.0.1 (linux x86_64 m64). (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: ./CVIIRSM010403_npp_d20140722_t1847453_gom_8bit.bsq FileDirectory: ./ baseName: CVIIRSM010403_npp_d20140722_t1847453_gom_8bit % Loaded DLM: MAP_PE. % Restored file: ENVI_EX1. + date Tue Jul 22 18:21:50 CDT 2014 ++ ls ./CVIIRSM010403_npp_d20140722_t1847453_gom_8bit.bsq ++ sed s,bsq,tif, + eightTif=./CVIIRSM010403_npp_d20140722_t1847453_gom_8bit.tif ++ ls ./CVIIRSM010403_npp_d20140722_t1847453_gom_8bit.tif ++ sed s,tif,png, + eightPng=./CVIIRSM010403_npp_d20140722_t1847453_gom_8bit.png + convert ./CVIIRSM010403_npp_d20140722_t1847453_gom_8bit.tif ./CVIIRSM010403_npp_d20140722_t1847453_gom_8bit.png convert: ./CVIIRSM010403_npp_d20140722_t1847453_gom_8bit.tif: unknown field with tag 33550 (0x830e) encountered. `TIFFReadDirectory' @ tiff.c/TIFFWarnings/546. convert: ./CVIIRSM010403_npp_d20140722_t1847453_gom_8bit.tif: unknown field with tag 33922 (0x8482) encountered. `TIFFReadDirectory' @ tiff.c/TIFFWarnings/546. convert: ./CVIIRSM010403_npp_d20140722_t1847453_gom_8bit.tif: unknown field with tag 34735 (0x87af) encountered. `TIFFReadDirectory' @ tiff.c/TIFFWarnings/546. convert: ./CVIIRSM010403_npp_d20140722_t1847453_gom_8bit.tif: unknown field with tag 34737 (0x87b1) encountered. `TIFFReadDirectory' @ tiff.c/TIFFWarnings/546. + test '!' -f ./CVIIRSM010403_npp_d20140722_t1847453_gom_8bit.png + irodsDir=/corralZ/projects/CSR/Public/NPP ++ basename CVIIRSM010403_npp_d20140722_t1847453_gom.bsq .bsq + baseName=CVIIRSM010403_npp_d20140722_t1847453_gom ++ basename CVIIRSM010403_npp_d20140722_t1847453_gom _sharp + baseName=CVIIRSM010403_npp_d20140722_t1847453_gom ++ dirname CVIIRSM010403_npp_d20140722_t1847453_gom.bsq + dirName=. ++ ls ./CVIIRSM010403_npp_d20140722_t1847453_gom_8bit.bsq + eightBsq=./CVIIRSM010403_npp_d20140722_t1847453_gom_8bit.bsq ++ ls ./CVIIRSM010403_npp_d20140722_t1847453_gom_8bit.tif + eightTif=./CVIIRSM010403_npp_d20140722_t1847453_gom_8bit.tif ++ ls ./CVIIRSM010403_npp_d20140722_t1847453_gom_8bit.png + eightPng=./CVIIRSM010403_npp_d20140722_t1847453_gom_8bit.png + test -n ./CVIIRSM010403_npp_d20140722_t1847453_gom_8bit.png + echo ' PNG generated putting to irods' PNG generated putting to irods + iput ./CVIIRSM010403_npp_d20140722_t1847453_gom_8bit.png ./CVIIRSM010403_npp_d20140722_t1847453_gom_8bit.tif /corralZ/projects/CSR/Public/NPP