++ basename /mnt/r4/Software/IDL_WORKDIR/NPPProcessing/scripts/projectCVIIRSM.sh + FUNC=projectCVIIRSM.sh ++ dirname /mnt/r4/Software/IDL_WORKDIR/NPPProcessing/scripts/projectCVIIRSM.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 + cvmParams=/mnt/r4/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_d20130424_t1852224-CorrRefl_01.bin + dataDir=. ++ fullpath . + dataDir=/mnt/r5/Data/NPP/2013_04_24_114_1852 ++ echo CVIIRSM_npp_d20130424_t1852224-CorrRefl_01.bin ++ cut -d_ -f1 + prefix=CVIIRSM ++ echo CVIIRSM ++ cut -c1-3 + pre=CVI ++ echo CVIIRSM_npp_d20130424_t1852224-CorrRefl_01.bin ++ cut -d- -f1 ++ cut -d_ -f2-4 + satDateTime=npp_d20130424_t1852224 ++ ls /mnt/r5/Data/NPP/2013_04_24_114_1852/GMTCO_npp_d20130424_t1852224-Longitude.bin + lonMFile=/mnt/r5/Data/NPP/2013_04_24_114_1852/GMTCO_npp_d20130424_t1852224-Longitude.bin ++ ls /mnt/r5/Data/NPP/2013_04_24_114_1852/GMTCO_npp_d20130424_t1852224-Latitude.bin + latMFile=/mnt/r5/Data/NPP/2013_04_24_114_1852/GMTCO_npp_d20130424_t1852224-Latitude.bin ++ tail ++ ls /mnt/r5/Data/NPP/2013_04_24_114_1852/CVIIRSM_npp_d20130424_t1852224-CorrRefl_01.bin + cv1File=/mnt/r5/Data/NPP/2013_04_24_114_1852/CVIIRSM_npp_d20130424_t1852224-CorrRefl_01.bin ++ tail ++ ls /mnt/r5/Data/NPP/2013_04_24_114_1852/CVIIRSM_npp_d20130424_t1852224-CorrRefl_04.bin + cv4File=/mnt/r5/Data/NPP/2013_04_24_114_1852/CVIIRSM_npp_d20130424_t1852224-CorrRefl_04.bin ++ tail ++ ls /mnt/r5/Data/NPP/2013_04_24_114_1852/CVIIRSM_npp_d20130424_t1852224-CorrRefl_03.bin + cv3File=/mnt/r5/Data/NPP/2013_04_24_114_1852/CVIIRSM_npp_d20130424_t1852224-CorrRefl_03.bin + out1=/mnt/r5/Data/NPP/2013_04_24_114_1852/CVIIRSM01_npp_d20130424_t1852224_reg.bin + out4=/mnt/r5/Data/NPP/2013_04_24_114_1852/CVIIRSM04_npp_d20130424_t1852224_reg.bin + out3=/mnt/r5/Data/NPP/2013_04_24_114_1852/CVIIRSM03_npp_d20130424_t1852224_reg.bin + out143=/mnt/r5/Data/NPP/2013_04_24_114_1852/CVIIRSM010403_npp_d20130424_t1852224_reg.bsq + /mnt/r4/Software/IDL_WORKDIR/NPPProcessing/scripts/projectigmsetlnx -I /mnt/r4/Software/IDL_WORKDIR/NPPProcessing/scripts/projectigm.svm.params -f -98 -F 17 -l -80 -L 31 -b /mnt/r5/Data/NPP/2013_04_24_114_1852/CVIIRSM_npp_d20130424_t1852224-CorrRefl_01.bin -lf /mnt/r5/Data/NPP/2013_04_24_114_1852/GMTCO_npp_d20130424_t1852224-Longitude.bin -LF /mnt/r5/Data/NPP/2013_04_24_114_1852/GMTCO_npp_d20130424_t1852224-Latitude.bin -o /mnt/r5/Data/NPP/2013_04_24_114_1852/CVIIRSM01_npp_d20130424_t1852224_reg.bin Read params from Input file /mnt/r4/Software/IDL_WORKDIR/NPPProcessing/scripts/projectigm.svm.params Input parameters: BSQ File:-b:Input Filename STR = /mnt/r5/Data/NPP/2013_04_24_114_1852/CVIIRSM_npp_d20130424_t1852224-CorrRefl_01.bin Output File:-o:Output Filename STR = /mnt/r5/Data/NPP/2013_04_24_114_1852/CVIIRSM01_npp_d20130424_t1852224_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/r5/Data/NPP/2013_04_24_114_1852/GMTCO_npp_d20130424_t1852224-Longitude.bin Latitude File:-LF:latitude band file STR = /mnt/r5/Data/NPP/2013_04_24_114_1852/GMTCO_npp_d20130424_t1852224-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/r5/Data/NPP/2013_04_24_114_1852/CVIIRSM_npp_d20130424_t1852224-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 1898 2: width 3200 Using User Input for Mapping of Geofields to Datafields Datafield 0 height 1898: 1,1,0 from input parameter width 3200: 2,1,0 from input parameter Scene Bounds -70.687981x21.982086 -99.577255x17.61132 -72.168716x34.203506 -104.20814x29.36133 requested llBounds -98 31 -80 17 Mapbounds -98 17 -80 31 newllbounds -98 17 -80 31 Swath Center Resolution 0.00779033x0.00671789 degrees or 0.00779033x0.00671789 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 1897x2583 1476x748 0x3104 0x1033 dimbounds: 0 748 1897 3104 Binning from 0x748 to 1897x3104 Mapping Pixel coordinates Line 0,3081: -98.0073x17.9879 Line 100,3063: -98.0112x18.6911 Line 200,3046: -98.0116x19.3946 Line 300,3024: -98.0032x20.0995 Line 400,3003: -98.0069x20.7003 Line 500,2981: -98.003x21.4059 Line 600,2959: -98.0061x22.1092 Line 700,2936: -98.005x22.8129 Line 800,2914: -98.0083x23.4244 Line 900,2889: -98.0057x24.13 Line 1000,2863: -98.006x24.8342 Line 1100,2836: -98.0059x25.5377 Line 1200,2810: -98.008x26.1613 Line 1300,2780: -98.0014x26.8678 Line 1400,2750: -98.0014x27.5719 Line 1500,2719: -98.0058x28.2742 Line 1600,2688: -98.0047x28.9085 Line 1700,2654: -98.0044x29.613 Line 1800,2619: -98.005x30.3165 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]:18140 Writing grid band 0 to /mnt/r5/Data/NPP/2013_04_24_114_1852/CVIIRSM01_npp_d20130424_t1852224_reg.bin Now Free Stuff Swath deconstructor + /mnt/r4/Software/IDL_WORKDIR/NPPProcessing/scripts/projectigmsetlnx -I /mnt/r4/Software/IDL_WORKDIR/NPPProcessing/scripts/projectigm.svm.params -f -98 -F 17 -l -80 -L 31 -b /mnt/r5/Data/NPP/2013_04_24_114_1852/CVIIRSM_npp_d20130424_t1852224-CorrRefl_04.bin -lf /mnt/r5/Data/NPP/2013_04_24_114_1852/GMTCO_npp_d20130424_t1852224-Longitude.bin -LF /mnt/r5/Data/NPP/2013_04_24_114_1852/GMTCO_npp_d20130424_t1852224-Latitude.bin -o /mnt/r5/Data/NPP/2013_04_24_114_1852/CVIIRSM04_npp_d20130424_t1852224_reg.bin Read params from Input file /mnt/r4/Software/IDL_WORKDIR/NPPProcessing/scripts/projectigm.svm.params Input parameters: BSQ File:-b:Input Filename STR = /mnt/r5/Data/NPP/2013_04_24_114_1852/CVIIRSM_npp_d20130424_t1852224-CorrRefl_04.bin Output File:-o:Output Filename STR = /mnt/r5/Data/NPP/2013_04_24_114_1852/CVIIRSM04_npp_d20130424_t1852224_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/r5/Data/NPP/2013_04_24_114_1852/GMTCO_npp_d20130424_t1852224-Longitude.bin Latitude File:-LF:latitude band file STR = /mnt/r5/Data/NPP/2013_04_24_114_1852/GMTCO_npp_d20130424_t1852224-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/r5/Data/NPP/2013_04_24_114_1852/CVIIRSM_npp_d20130424_t1852224-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 1898 2: width 3200 Using User Input for Mapping of Geofields to Datafields Datafield 0 height 1898: 1,1,0 from input parameter width 3200: 2,1,0 from input parameter Scene Bounds -70.687981x21.982086 -99.577255x17.61132 -72.168716x34.203506 -104.20814x29.36133 requested llBounds -98 31 -80 17 Mapbounds -98 17 -80 31 newllbounds -98 17 -80 31 Swath Center Resolution 0.00779033x0.00671789 degrees or 0.00779033x0.00671789 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 1897x2583 1476x748 0x3104 0x1033 dimbounds: 0 748 1897 3104 Binning from 0x748 to 1897x3104 Mapping Pixel coordinates Line 0,3081: -98.0073x17.9879 Line 100,3063: -98.0112x18.6911 Line 200,3046: -98.0116x19.3946 Line 300,3024: -98.0032x20.0995 Line 400,3003: -98.0069x20.7003 Line 500,2981: -98.003x21.4059 Line 600,2959: -98.0061x22.1092 Line 700,2936: -98.005x22.8129 Line 800,2914: -98.0083x23.4244 Line 900,2889: -98.0057x24.13 Line 1000,2863: -98.006x24.8342 Line 1100,2836: -98.0059x25.5377 Line 1200,2810: -98.008x26.1613 Line 1300,2780: -98.0014x26.8678 Line 1400,2750: -98.0014x27.5719 Line 1500,2719: -98.0058x28.2742 Line 1600,2688: -98.0047x28.9085 Line 1700,2654: -98.0044x29.613 Line 1800,2619: -98.005x30.3165 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]:-19923 Writing grid band 0 to /mnt/r5/Data/NPP/2013_04_24_114_1852/CVIIRSM04_npp_d20130424_t1852224_reg.bin Now Free Stuff Swath deconstructor + /mnt/r4/Software/IDL_WORKDIR/NPPProcessing/scripts/projectigmsetlnx -I /mnt/r4/Software/IDL_WORKDIR/NPPProcessing/scripts/projectigm.svm.params -f -98 -F 17 -l -80 -L 31 -b /mnt/r5/Data/NPP/2013_04_24_114_1852/CVIIRSM_npp_d20130424_t1852224-CorrRefl_03.bin -lf /mnt/r5/Data/NPP/2013_04_24_114_1852/GMTCO_npp_d20130424_t1852224-Longitude.bin -LF /mnt/r5/Data/NPP/2013_04_24_114_1852/GMTCO_npp_d20130424_t1852224-Latitude.bin -o /mnt/r5/Data/NPP/2013_04_24_114_1852/CVIIRSM03_npp_d20130424_t1852224_reg.bin Read params from Input file /mnt/r4/Software/IDL_WORKDIR/NPPProcessing/scripts/projectigm.svm.params Input parameters: BSQ File:-b:Input Filename STR = /mnt/r5/Data/NPP/2013_04_24_114_1852/CVIIRSM_npp_d20130424_t1852224-CorrRefl_03.bin Output File:-o:Output Filename STR = /mnt/r5/Data/NPP/2013_04_24_114_1852/CVIIRSM03_npp_d20130424_t1852224_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/r5/Data/NPP/2013_04_24_114_1852/GMTCO_npp_d20130424_t1852224-Longitude.bin Latitude File:-LF:latitude band file STR = /mnt/r5/Data/NPP/2013_04_24_114_1852/GMTCO_npp_d20130424_t1852224-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/r5/Data/NPP/2013_04_24_114_1852/CVIIRSM_npp_d20130424_t1852224-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 1898 2: width 3200 Using User Input for Mapping of Geofields to Datafields Datafield 0 height 1898: 1,1,0 from input parameter width 3200: 2,1,0 from input parameter Scene Bounds -70.687981x21.982086 -99.577255x17.61132 -72.168716x34.203506 -104.20814x29.36133 requested llBounds -98 31 -80 17 Mapbounds -98 17 -80 31 newllbounds -98 17 -80 31 Swath Center Resolution 0.00779033x0.00671789 degrees or 0.00779033x0.00671789 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 1897x2583 1476x748 0x3104 0x1033 dimbounds: 0 748 1897 3104 Binning from 0x748 to 1897x3104 Mapping Pixel coordinates Line 0,3081: -98.0073x17.9879 Line 100,3063: -98.0112x18.6911 Line 200,3046: -98.0116x19.3946 Line 300,3024: -98.0032x20.0995 Line 400,3003: -98.0069x20.7003 Line 500,2981: -98.003x21.4059 Line 600,2959: -98.0061x22.1092 Line 700,2936: -98.005x22.8129 Line 800,2914: -98.0083x23.4244 Line 900,2889: -98.0057x24.13 Line 1000,2863: -98.006x24.8342 Line 1100,2836: -98.0059x25.5377 Line 1200,2810: -98.008x26.1613 Line 1300,2780: -98.0014x26.8678 Line 1400,2750: -98.0014x27.5719 Line 1500,2719: -98.0058x28.2742 Line 1600,2688: -98.0047x28.9085 Line 1700,2654: -98.0044x29.613 Line 1800,2619: -98.005x30.3165 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]:944 Writing grid band 0 to /mnt/r5/Data/NPP/2013_04_24_114_1852/CVIIRSM03_npp_d20130424_t1852224_reg.bin Now Free Stuff Swath deconstructor + cat /mnt/r5/Data/NPP/2013_04_24_114_1852/CVIIRSM01_npp_d20130424_t1852224_reg.bin /mnt/r5/Data/NPP/2013_04_24_114_1852/CVIIRSM04_npp_d20130424_t1852224_reg.bin /mnt/r5/Data/NPP/2013_04_24_114_1852/CVIIRSM03_npp_d20130424_t1852224_reg.bin + sed -n '/ESRI/,/band names/p' /mnt/r5/Data/NPP/2013_04_24_114_1852/CVIIRSM01_npp_d20130424_t1852224_reg.bin.hdr + sed 's,nbands 1,nbands 3,' + sed 's,bands = 1,bands = 3,' ++ basename /mnt/r5/Data/NPP/2013_04_24_114_1852/CVIIRSM01_npp_d20130424_t1852224_reg.bin .bin + echo CVIIRSM01_npp_d20130424_t1852224_reg, ++ basename /mnt/r5/Data/NPP/2013_04_24_114_1852/CVIIRSM04_npp_d20130424_t1852224_reg.bin .bin + echo CVIIRSM04_npp_d20130424_t1852224_reg, ++ basename /mnt/r5/Data/NPP/2013_04_24_114_1852/CVIIRSM03_npp_d20130424_t1852224_reg.bin .bin + echo 'CVIIRSM03_npp_d20130424_t1852224_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 }'