++ basename /mnt/r6/Software/IDL_WORKDIR/NPPProcessing/scripts/projectCVIIRSM.sh + FUNC=projectCVIIRSM.sh ++ dirname /mnt/r6/Software/IDL_WORKDIR/NPPProcessing/scripts/projectCVIIRSM.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 + cvmParams=/mnt/r6/Software/IDL_WORKDIR/NPPProcessing/scripts/projectigm.svm.params + '[' 5 -lt 1 ']' + lon1=-98 + shift + lat1=17 + shift + lon2=-80 + shift + lat2=31 + shift + for binFile in '$@' ++ dirname CVIIRSM_npp_d20150704_t1837583-CorrRefl_01.bin + dataDir=. ++ fullpath . + dataDir=/mnt/r6/Data/NPP/2015_07_04_185_1837 ++ echo CVIIRSM_npp_d20150704_t1837583-CorrRefl_01.bin ++ cut -d_ -f1 + prefix=CVIIRSM ++ echo CVIIRSM ++ cut -c1-3 + pre=CVI ++ echo CVIIRSM_npp_d20150704_t1837583-CorrRefl_01.bin ++ cut -d- -f1 + satDateTime=npp_d20150704_t1837583 ++ ls /mnt/r6/Data/NPP/2015_07_04_185_1837/GMTCO_npp_d20150704_t1837583-Longitude.bin + lonMFile=/mnt/r6/Data/NPP/2015_07_04_185_1837/GMTCO_npp_d20150704_t1837583-Longitude.bin ++ ls /mnt/r6/Data/NPP/2015_07_04_185_1837/GMTCO_npp_d20150704_t1837583-Latitude.bin + latMFile=/mnt/r6/Data/NPP/2015_07_04_185_1837/GMTCO_npp_d20150704_t1837583-Latitude.bin ++ tail ++ ls /mnt/r6/Data/NPP/2015_07_04_185_1837/CVIIRSM_npp_d20150704_t1837583-CorrRefl_01.bin + cv1File=/mnt/r6/Data/NPP/2015_07_04_185_1837/CVIIRSM_npp_d20150704_t1837583-CorrRefl_01.bin ++ tail ++ ls /mnt/r6/Data/NPP/2015_07_04_185_1837/CVIIRSM_npp_d20150704_t1837583-CorrRefl_04.bin + cv4File=/mnt/r6/Data/NPP/2015_07_04_185_1837/CVIIRSM_npp_d20150704_t1837583-CorrRefl_04.bin ++ tail ++ ls /mnt/r6/Data/NPP/2015_07_04_185_1837/CVIIRSM_npp_d20150704_t1837583-CorrRefl_03.bin + cv3File=/mnt/r6/Data/NPP/2015_07_04_185_1837/CVIIRSM_npp_d20150704_t1837583-CorrRefl_03.bin + out1=/mnt/r6/Data/NPP/2015_07_04_185_1837/CVIIRSM01_npp_d20150704_t1837583_reg.bin + out4=/mnt/r6/Data/NPP/2015_07_04_185_1837/CVIIRSM04_npp_d20150704_t1837583_reg.bin + out3=/mnt/r6/Data/NPP/2015_07_04_185_1837/CVIIRSM03_npp_d20150704_t1837583_reg.bin + out143=/mnt/r6/Data/NPP/2015_07_04_185_1837/CVIIRSM010403_npp_d20150704_t1837583_reg.bsq + /mnt/r6/Software/IDL_WORKDIR/NPPProcessing/scripts/projectigmsetlnx -I /mnt/r6/Software/IDL_WORKDIR/NPPProcessing/scripts/projectigm.svm.params -f -98 -F 17 -l -80 -L 31 -b /mnt/r6/Data/NPP/2015_07_04_185_1837/CVIIRSM_npp_d20150704_t1837583-CorrRefl_01.bin -lf /mnt/r6/Data/NPP/2015_07_04_185_1837/GMTCO_npp_d20150704_t1837583-Longitude.bin -LF /mnt/r6/Data/NPP/2015_07_04_185_1837/GMTCO_npp_d20150704_t1837583-Latitude.bin -o /mnt/r6/Data/NPP/2015_07_04_185_1837/CVIIRSM01_npp_d20150704_t1837583_reg.bin Read params from Input file /mnt/r6/Software/IDL_WORKDIR/NPPProcessing/scripts/projectigm.svm.params Input parameters: BSQ File:-b:Input Filename STR = /mnt/r6/Data/NPP/2015_07_04_185_1837/CVIIRSM_npp_d20150704_t1837583-CorrRefl_01.bin Output File:-o:Output Filename STR = /mnt/r6/Data/NPP/2015_07_04_185_1837/CVIIRSM01_npp_d20150704_t1837583_reg.bin Map Bounds:-mb:Use Map units for bounds TOG = 0 First Longitude:-f:Upper Left DBL = -98 First Latitude:-F:Upper Left DBL = 17 Last Longitude:-l:Lower Right DBL = -80 Last Latitude:-L:Lower Right DBL = 31 X-resolution:-x:Map Units DBL = 0.0078 Y-resolution:-y:Map Units DBL = 0.0068 Map Proj:-m:GEO,UTM,TCMS/LC,TCMS/AEA,Texas_Ortho,Texas_Stereo,CUSTOM STR = geo UTM Zone:-uz:Requested Zone for UTM INT = -1 Datum:-d:Datum of Projection STR = WGS-84 Longitude File:-lf:longitude band file STR = /mnt/r6/Data/NPP/2015_07_04_185_1837/GMTCO_npp_d20150704_t1837583-Longitude.bin Latitude File:-LF:latitude band file STR = /mnt/r6/Data/NPP/2015_07_04_185_1837/GMTCO_npp_d20150704_t1837583-Latitude.bin Lon,Lat Bands:-lb:band numbers of lon/lat in file(s) STR = 0,0 Fill Flag:-ff:Fill empty pix:0-no 1-nn 2-wavg 3-sqwavg; <0-interp. all pixels INT = -1 Box Size:-bs:Maximum Fillbox Size INT = 5 Map Coverage:-mc:Use pixel coverage mapping: >0=if nint(in_res/out_res) > ud) 0=no <0=yes INT = 2 Bad Value:-bv:default bad value DBL = -999.7 Data Selection:-ds:comma seperated band number list STR = 0 Dimension Mappings:-dm:use : for dim separator STR = 1,1,0:2,1,0 Geocentric Input:-gc:Map Units TOG = 0 BSQ File = /mnt/r6/Data/NPP/2015_07_04_185_1837/CVIIRSM_npp_d20150704_t1837583-CorrRefl_01.bin Unable to read byte order default is INTEL 0 list not set Unable to read byte order default is INTEL 0 Unable to read byte order default is INTEL 0 Unable to read byte order default is INTEL 0 Unable to read byte order default is INTEL 0 Unable to read byte order default is INTEL 0 Available Datafields: 0: CVIIRSM_CorrRefl_01 Selected BSQ Bands: 0 Unable to read byte order default is INTEL 0 Geofield Dimensions: 1: height 2232 2: width 3200 Using User Input for Mapping of Geofields to Datafields Datafield 0 height 2232: 1,1,0 from input parameter width 3200: 2,1,0 from input parameter Scene Bounds -65.667412x20.978416 -94.373947x16.656876 -67.386887x35.345627 -99.796211x30.475132 requested llBounds -98 31 -80 17 Mapbounds -98 17 -80 31 newllbounds -98 17 -80 31 Swath Center Resolution 0.00778911x0.00670529 degrees or 0.00778911x0.00670529 map units Requested Map Resolution 0.0078x0.0068 map units Not using pixel coverage deltas Output dims: 2308 pixels by 2059 lines subbounds -98x31 -80x31 -98x17 -80x17 subdims 2224x3073 1705x1231 180x3199 0x1617 dimbounds: 0 1231 2224 3199 Binning from 0x1231 to 2224x3199 Mapping Pixel coordinates Line 0,3200: -94.3739x16.6569 Line 100,3200: -94.5902x17.3144 Line 200,3200: -94.8072x17.9718 Line 300,3200: -95.0244x18.6347 Line 400,3200: -95.2228x19.1647 Line 500,3200: -95.4484x19.8178 Line 600,3200: -95.674x20.471 Line 700,3200: -95.9065x21.1227 Line 800,3200: -96.1131x21.6451 Line 900,3200: -96.353x22.2954 Line 1000,3200: -96.5954x22.9449 Line 1100,3200: -96.8399x23.5944 Line 1200,3200: -97.0622x24.1143 Line 1300,3200: -97.312x24.7625 Line 1400,3200: -97.5713x25.4087 Line 1500,3200: -97.8358x26.0534 Line 1600,3195: -98.0049x26.5883 Line 1700,3178: -98.0104x27.3065 Line 1800,3160: -98.0107x28.0257 Line 1900,3141: -98.0117x28.7441 Line 2000,3123: -98.0046x29.3425 Line 2100,3102: -98.0019x30.064 Line 2200,3081: -98.0123x30.7811 list not set Gridding Datafield 0.0 to Band 0 Unable to read byte order default is INTEL 0 Unable to read byte order default is INTEL 0 Line 0 Line 100 Line 200 Line 300 Line 400 Line 500 Line 600 Line 700 Line 800 Line 900 Line 1000 Line 1100 Line 1200 Line 1300 Line 1400 Line 1500 Line 1600 Line 1700 Line 1800 Line 1900 Line 2000 grid->sdata[0].sdata[250]:-19608 Writing grid band 0 to /mnt/r6/Data/NPP/2015_07_04_185_1837/CVIIRSM01_npp_d20150704_t1837583_reg.bin Now Free Stuff Swath deconstructor + /mnt/r6/Software/IDL_WORKDIR/NPPProcessing/scripts/projectigmsetlnx -I /mnt/r6/Software/IDL_WORKDIR/NPPProcessing/scripts/projectigm.svm.params -f -98 -F 17 -l -80 -L 31 -b /mnt/r6/Data/NPP/2015_07_04_185_1837/CVIIRSM_npp_d20150704_t1837583-CorrRefl_04.bin -lf /mnt/r6/Data/NPP/2015_07_04_185_1837/GMTCO_npp_d20150704_t1837583-Longitude.bin -LF /mnt/r6/Data/NPP/2015_07_04_185_1837/GMTCO_npp_d20150704_t1837583-Latitude.bin -o /mnt/r6/Data/NPP/2015_07_04_185_1837/CVIIRSM04_npp_d20150704_t1837583_reg.bin Read params from Input file /mnt/r6/Software/IDL_WORKDIR/NPPProcessing/scripts/projectigm.svm.params Input parameters: BSQ File:-b:Input Filename STR = /mnt/r6/Data/NPP/2015_07_04_185_1837/CVIIRSM_npp_d20150704_t1837583-CorrRefl_04.bin Output File:-o:Output Filename STR = /mnt/r6/Data/NPP/2015_07_04_185_1837/CVIIRSM04_npp_d20150704_t1837583_reg.bin Map Bounds:-mb:Use Map units for bounds TOG = 0 First Longitude:-f:Upper Left DBL = -98 First Latitude:-F:Upper Left DBL = 17 Last Longitude:-l:Lower Right DBL = -80 Last Latitude:-L:Lower Right DBL = 31 X-resolution:-x:Map Units DBL = 0.0078 Y-resolution:-y:Map Units DBL = 0.0068 Map Proj:-m:GEO,UTM,TCMS/LC,TCMS/AEA,Texas_Ortho,Texas_Stereo,CUSTOM STR = geo UTM Zone:-uz:Requested Zone for UTM INT = -1 Datum:-d:Datum of Projection STR = WGS-84 Longitude File:-lf:longitude band file STR = /mnt/r6/Data/NPP/2015_07_04_185_1837/GMTCO_npp_d20150704_t1837583-Longitude.bin Latitude File:-LF:latitude band file STR = /mnt/r6/Data/NPP/2015_07_04_185_1837/GMTCO_npp_d20150704_t1837583-Latitude.bin Lon,Lat Bands:-lb:band numbers of lon/lat in file(s) STR = 0,0 Fill Flag:-ff:Fill empty pix:0-no 1-nn 2-wavg 3-sqwavg; <0-interp. all pixels INT = -1 Box Size:-bs:Maximum Fillbox Size INT = 5 Map Coverage:-mc:Use pixel coverage mapping: >0=if nint(in_res/out_res) > ud) 0=no <0=yes INT = 2 Bad Value:-bv:default bad value DBL = -999.7 Data Selection:-ds:comma seperated band number list STR = 0 Dimension Mappings:-dm:use : for dim separator STR = 1,1,0:2,1,0 Geocentric Input:-gc:Map Units TOG = 0 BSQ File = /mnt/r6/Data/NPP/2015_07_04_185_1837/CVIIRSM_npp_d20150704_t1837583-CorrRefl_04.bin Unable to read byte order default is INTEL 0 list not set Unable to read byte order default is INTEL 0 Unable to read byte order default is INTEL 0 Unable to read byte order default is INTEL 0 Unable to read byte order default is INTEL 0 Unable to read byte order default is INTEL 0 Available Datafields: 0: CVIIRSM_CorrRefl_04 Selected BSQ Bands: 0 Unable to read byte order default is INTEL 0 Geofield Dimensions: 1: height 2232 2: width 3200 Using User Input for Mapping of Geofields to Datafields Datafield 0 height 2232: 1,1,0 from input parameter width 3200: 2,1,0 from input parameter Scene Bounds -65.667412x20.978416 -94.373947x16.656876 -67.386887x35.345627 -99.796211x30.475132 requested llBounds -98 31 -80 17 Mapbounds -98 17 -80 31 newllbounds -98 17 -80 31 Swath Center Resolution 0.00778911x0.00670529 degrees or 0.00778911x0.00670529 map units Requested Map Resolution 0.0078x0.0068 map units Not using pixel coverage deltas Output dims: 2308 pixels by 2059 lines subbounds -98x31 -80x31 -98x17 -80x17 subdims 2224x3073 1705x1231 180x3199 0x1617 dimbounds: 0 1231 2224 3199 Binning from 0x1231 to 2224x3199 Mapping Pixel coordinates Line 0,3200: -94.3739x16.6569 Line 100,3200: -94.5902x17.3144 Line 200,3200: -94.8072x17.9718 Line 300,3200: -95.0244x18.6347 Line 400,3200: -95.2228x19.1647 Line 500,3200: -95.4484x19.8178 Line 600,3200: -95.674x20.471 Line 700,3200: -95.9065x21.1227 Line 800,3200: -96.1131x21.6451 Line 900,3200: -96.353x22.2954 Line 1000,3200: -96.5954x22.9449 Line 1100,3200: -96.8399x23.5944 Line 1200,3200: -97.0622x24.1143 Line 1300,3200: -97.312x24.7625 Line 1400,3200: -97.5713x25.4087 Line 1500,3200: -97.8358x26.0534 Line 1600,3195: -98.0049x26.5883 Line 1700,3178: -98.0104x27.3065 Line 1800,3160: -98.0107x28.0257 Line 1900,3141: -98.0117x28.7441 Line 2000,3123: -98.0046x29.3425 Line 2100,3102: -98.0019x30.064 Line 2200,3081: -98.0123x30.7811 list not set Gridding Datafield 0.0 to Band 0 Unable to read byte order default is INTEL 0 Unable to read byte order default is INTEL 0 Line 0 Line 100 Line 200 Line 300 Line 400 Line 500 Line 600 Line 700 Line 800 Line 900 Line 1000 Line 1100 Line 1200 Line 1300 Line 1400 Line 1500 Line 1600 Line 1700 Line 1800 Line 1900 Line 2000 grid->sdata[0].sdata[250]:-16148 Writing grid band 0 to /mnt/r6/Data/NPP/2015_07_04_185_1837/CVIIRSM04_npp_d20150704_t1837583_reg.bin Now Free Stuff Swath deconstructor + /mnt/r6/Software/IDL_WORKDIR/NPPProcessing/scripts/projectigmsetlnx -I /mnt/r6/Software/IDL_WORKDIR/NPPProcessing/scripts/projectigm.svm.params -f -98 -F 17 -l -80 -L 31 -b /mnt/r6/Data/NPP/2015_07_04_185_1837/CVIIRSM_npp_d20150704_t1837583-CorrRefl_03.bin -lf /mnt/r6/Data/NPP/2015_07_04_185_1837/GMTCO_npp_d20150704_t1837583-Longitude.bin -LF /mnt/r6/Data/NPP/2015_07_04_185_1837/GMTCO_npp_d20150704_t1837583-Latitude.bin -o /mnt/r6/Data/NPP/2015_07_04_185_1837/CVIIRSM03_npp_d20150704_t1837583_reg.bin Read params from Input file /mnt/r6/Software/IDL_WORKDIR/NPPProcessing/scripts/projectigm.svm.params Input parameters: BSQ File:-b:Input Filename STR = /mnt/r6/Data/NPP/2015_07_04_185_1837/CVIIRSM_npp_d20150704_t1837583-CorrRefl_03.bin Output File:-o:Output Filename STR = /mnt/r6/Data/NPP/2015_07_04_185_1837/CVIIRSM03_npp_d20150704_t1837583_reg.bin Map Bounds:-mb:Use Map units for bounds TOG = 0 First Longitude:-f:Upper Left DBL = -98 First Latitude:-F:Upper Left DBL = 17 Last Longitude:-l:Lower Right DBL = -80 Last Latitude:-L:Lower Right DBL = 31 X-resolution:-x:Map Units DBL = 0.0078 Y-resolution:-y:Map Units DBL = 0.0068 Map Proj:-m:GEO,UTM,TCMS/LC,TCMS/AEA,Texas_Ortho,Texas_Stereo,CUSTOM STR = geo UTM Zone:-uz:Requested Zone for UTM INT = -1 Datum:-d:Datum of Projection STR = WGS-84 Longitude File:-lf:longitude band file STR = /mnt/r6/Data/NPP/2015_07_04_185_1837/GMTCO_npp_d20150704_t1837583-Longitude.bin Latitude File:-LF:latitude band file STR = /mnt/r6/Data/NPP/2015_07_04_185_1837/GMTCO_npp_d20150704_t1837583-Latitude.bin Lon,Lat Bands:-lb:band numbers of lon/lat in file(s) STR = 0,0 Fill Flag:-ff:Fill empty pix:0-no 1-nn 2-wavg 3-sqwavg; <0-interp. all pixels INT = -1 Box Size:-bs:Maximum Fillbox Size INT = 5 Map Coverage:-mc:Use pixel coverage mapping: >0=if nint(in_res/out_res) > ud) 0=no <0=yes INT = 2 Bad Value:-bv:default bad value DBL = -999.7 Data Selection:-ds:comma seperated band number list STR = 0 Dimension Mappings:-dm:use : for dim separator STR = 1,1,0:2,1,0 Geocentric Input:-gc:Map Units TOG = 0 BSQ File = /mnt/r6/Data/NPP/2015_07_04_185_1837/CVIIRSM_npp_d20150704_t1837583-CorrRefl_03.bin Unable to read byte order default is INTEL 0 list not set Unable to read byte order default is INTEL 0 Unable to read byte order default is INTEL 0 Unable to read byte order default is INTEL 0 Unable to read byte order default is INTEL 0 Unable to read byte order default is INTEL 0 Available Datafields: 0: CVIIRSM_CorrRefl_03 Selected BSQ Bands: 0 Unable to read byte order default is INTEL 0 Geofield Dimensions: 1: height 2232 2: width 3200 Using User Input for Mapping of Geofields to Datafields Datafield 0 height 2232: 1,1,0 from input parameter width 3200: 2,1,0 from input parameter Scene Bounds -65.667412x20.978416 -94.373947x16.656876 -67.386887x35.345627 -99.796211x30.475132 requested llBounds -98 31 -80 17 Mapbounds -98 17 -80 31 newllbounds -98 17 -80 31 Swath Center Resolution 0.00778911x0.00670529 degrees or 0.00778911x0.00670529 map units Requested Map Resolution 0.0078x0.0068 map units Not using pixel coverage deltas Output dims: 2308 pixels by 2059 lines subbounds -98x31 -80x31 -98x17 -80x17 subdims 2224x3073 1705x1231 180x3199 0x1617 dimbounds: 0 1231 2224 3199 Binning from 0x1231 to 2224x3199 Mapping Pixel coordinates Line 0,3200: -94.3739x16.6569 Line 100,3200: -94.5902x17.3144 Line 200,3200: -94.8072x17.9718 Line 300,3200: -95.0244x18.6347 Line 400,3200: -95.2228x19.1647 Line 500,3200: -95.4484x19.8178 Line 600,3200: -95.674x20.471 Line 700,3200: -95.9065x21.1227 Line 800,3200: -96.1131x21.6451 Line 900,3200: -96.353x22.2954 Line 1000,3200: -96.5954x22.9449 Line 1100,3200: -96.8399x23.5944 Line 1200,3200: -97.0622x24.1143 Line 1300,3200: -97.312x24.7625 Line 1400,3200: -97.5713x25.4087 Line 1500,3200: -97.8358x26.0534 Line 1600,3195: -98.0049x26.5883 Line 1700,3178: -98.0104x27.3065 Line 1800,3160: -98.0107x28.0257 Line 1900,3141: -98.0117x28.7441 Line 2000,3123: -98.0046x29.3425 Line 2100,3102: -98.0019x30.064 Line 2200,3081: -98.0123x30.7811 list not set Gridding Datafield 0.0 to Band 0 Unable to read byte order default is INTEL 0 Unable to read byte order default is INTEL 0 Line 0 Line 100 Line 200 Line 300 Line 400 Line 500 Line 600 Line 700 Line 800 Line 900 Line 1000 Line 1100 Line 1200 Line 1300 Line 1400 Line 1500 Line 1600 Line 1700 Line 1800 Line 1900 Line 2000 grid->sdata[0].sdata[250]:-31457 Writing grid band 0 to /mnt/r6/Data/NPP/2015_07_04_185_1837/CVIIRSM03_npp_d20150704_t1837583_reg.bin Now Free Stuff Swath deconstructor + cat /mnt/r6/Data/NPP/2015_07_04_185_1837/CVIIRSM01_npp_d20150704_t1837583_reg.bin /mnt/r6/Data/NPP/2015_07_04_185_1837/CVIIRSM04_npp_d20150704_t1837583_reg.bin /mnt/r6/Data/NPP/2015_07_04_185_1837/CVIIRSM03_npp_d20150704_t1837583_reg.bin + sed -n '/ESRI/,/band names/p' /mnt/r6/Data/NPP/2015_07_04_185_1837/CVIIRSM01_npp_d20150704_t1837583_reg.bin.hdr + sed 's,bands = 1,bands = 3,' ++ basename /mnt/r6/Data/NPP/2015_07_04_185_1837/CVIIRSM01_npp_d20150704_t1837583_reg.bin .bin + echo CVIIRSM01_npp_d20150704_t1837583_reg, ++ basename /mnt/r6/Data/NPP/2015_07_04_185_1837/CVIIRSM04_npp_d20150704_t1837583_reg.bin .bin + echo CVIIRSM04_npp_d20150704_t1837583_reg, ++ basename /mnt/r6/Data/NPP/2015_07_04_185_1837/CVIIRSM03_npp_d20150704_t1837583_reg.bin .bin + echo 'CVIIRSM03_npp_d20150704_t1837583_reg}' + echo 'data gain values= { 1, 1, 1 }' + echo 'data offset values= { 0, 0, 0 }' + echo 'data minimum values= { -1e+100, -1e+100, -1e+100 }' + echo 'data maximum values= { 1e+100, 1e+100, 1e+100 }' + echo 'data ignore value= { -999.7, -999.7, -999.7 }'