++ basename /mnt/r4/Software/IDL_WORKDIR/NPPProcessing/scripts/projectSDR.sh + FUNC=projectSDR.sh ++ dirname /mnt/r4/Software/IDL_WORKDIR/NPPProcessing/scripts/projectSDR.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 + svmParams=/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 SVM05_npp_d20120711_t1832089_radiance.bin + dataDir=. ++ fullpath . + dataDir=/mnt/r5/Data/NPP/2012_07_11_193_1832 ++ echo SVM05_npp_d20120711_t1832089_radiance.bin ++ cut -d_ -f1 + prefix=SVM05 ++ echo SVM05 ++ cut -c1-3 + pre=SVM ++ echo SVM05_npp_d20120711_t1832089_radiance.bin ++ cut -d_ -f2-4 + satDateTime=npp_d20120711_t1832089 ++ ls /mnt/r5/Data/NPP/2012_07_11_193_1832/GMTCO_npp_d20120711_t1832089_lon.bin + lonMFile=/mnt/r5/Data/NPP/2012_07_11_193_1832/GMTCO_npp_d20120711_t1832089_lon.bin ++ ls /mnt/r5/Data/NPP/2012_07_11_193_1832/GMTCO_npp_d20120711_t1832089_lat.bin + latMFile=/mnt/r5/Data/NPP/2012_07_11_193_1832/GMTCO_npp_d20120711_t1832089_lat.bin ++ ls /mnt/r5/Data/NPP/2012_07_11_193_1832/GITCO_npp_d20120711_t1832089_lon.bin + lonIFile=/mnt/r5/Data/NPP/2012_07_11_193_1832/GITCO_npp_d20120711_t1832089_lon.bin ++ ls /mnt/r5/Data/NPP/2012_07_11_193_1832/GITCO_npp_d20120711_t1832089_lat.bin + latIFile=/mnt/r5/Data/NPP/2012_07_11_193_1832/GITCO_npp_d20120711_t1832089_lat.bin ++ tail ++ ls /mnt/r5/Data/NPP/2012_07_11_193_1832/SVM05_npp_d20120711_t1832089_radiance.bin /mnt/r5/Data/NPP/2012_07_11_193_1832/SVM05_npp_d20120711_t1832089_reg.bin + sv5File='/mnt/r5/Data/NPP/2012_07_11_193_1832/SVM05_npp_d20120711_t1832089_radiance.bin /mnt/r5/Data/NPP/2012_07_11_193_1832/SVM05_npp_d20120711_t1832089_reg.bin' ++ tail ++ ls /mnt/r5/Data/NPP/2012_07_11_193_1832/SVM04_npp_d20120711_t1832089_radiance.bin /mnt/r5/Data/NPP/2012_07_11_193_1832/SVM04_npp_d20120711_t1832089_reg.bin + sv4File='/mnt/r5/Data/NPP/2012_07_11_193_1832/SVM04_npp_d20120711_t1832089_radiance.bin /mnt/r5/Data/NPP/2012_07_11_193_1832/SVM04_npp_d20120711_t1832089_reg.bin' ++ tail ++ ls /mnt/r5/Data/NPP/2012_07_11_193_1832/SVM03_npp_d20120711_t1832089_radiance.bin /mnt/r5/Data/NPP/2012_07_11_193_1832/SVM03_npp_d20120711_t1832089_reg.bin + sv3File='/mnt/r5/Data/NPP/2012_07_11_193_1832/SVM03_npp_d20120711_t1832089_radiance.bin /mnt/r5/Data/NPP/2012_07_11_193_1832/SVM03_npp_d20120711_t1832089_reg.bin' + out5=/mnt/r5/Data/NPP/2012_07_11_193_1832/SVM05_npp_d20120711_t1832089_reg.bin + out4=/mnt/r5/Data/NPP/2012_07_11_193_1832/SVM04_npp_d20120711_t1832089_reg.bin + out3=/mnt/r5/Data/NPP/2012_07_11_193_1832/SVM03_npp_d20120711_t1832089_reg.bin + out543=/mnt/r5/Data/NPP/2012_07_11_193_1832/SVM050403_npp_d20120711_t1832089_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/2012_07_11_193_1832/SVM05_npp_d20120711_t1832089_radiance.bin /mnt/r5/Data/NPP/2012_07_11_193_1832/SVM05_npp_d20120711_t1832089_reg.bin -lf /mnt/r5/Data/NPP/2012_07_11_193_1832/GMTCO_npp_d20120711_t1832089_lon.bin -LF /mnt/r5/Data/NPP/2012_07_11_193_1832/GMTCO_npp_d20120711_t1832089_lat.bin -o /mnt/r5/Data/NPP/2012_07_11_193_1832/SVM05_npp_d20120711_t1832089_reg.bin Read params from Input file /mnt/r4/Software/IDL_WORKDIR/NPPProcessing/scripts/projectigm.svm.params Invalid argument /mnt/r5/Data/NPP/2012_07_11_193_1832/SVM05_npp_d20120711_t1832089_reg.bin Input parameters: BSQ File:-b:Input Filename STR = /mnt/r5/Data/NPP/2012_07_11_193_1832/SVM05_npp_d20120711_t1832089_radiance.bin Output File:-o:Output Filename STR = /mnt/r5/Data/NPP/2012_07_11_193_1832/SVM05_npp_d20120711_t1832089_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/2012_07_11_193_1832/GMTCO_npp_d20120711_t1832089_lon.bin Latitude File:-LF:latitude band file STR = /mnt/r5/Data/NPP/2012_07_11_193_1832/GMTCO_npp_d20120711_t1832089_lat.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/2012_07_11_193_1832/SVM05_npp_d20120711_t1832089_radiance.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: SVM05radiance Selected BSQ Bands: 0 Unable to read byte order default is INTEL 0 Geofield Dimensions: 1: height 1976 2: width 3200 Using User Input for Mapping of Geofields to Datafields Datafield 0 height 1976: 1,1,0 from input parameter width 3200: 2,1,0 from input parameter Scene Bounds -65.813507x22.767443 -94.842445x18.396309 -67.2696x35.372326 -99.723213x30.493298 requested llBounds -98 31 -80 17 Mapbounds -98 17 -80 31 newllbounds -98 17 -80 31 Swath Center Resolution 0.00785425x0.00671326 degrees or 0.00785425x0.00671326 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 1968x3079 1447x1239 0x3199 0x1638 dimbounds: 0 1239 1968 3199 Binning from 0x1239 to 1968x3199 Mapping Pixel coordinates Line 0,3200: -94.8424x18.3963 Line 100,3200: -95.0829x19.0455 Line 200,3200: -95.3075x19.6988 Line 300,3200: -95.5359x20.3512 Line 400,3200: -95.7398x20.8745 Line 500,3200: -95.9737x21.5258 Line 600,3200: -96.2118x22.1762 Line 700,3200: -96.454x22.8259 Line 800,3200: -96.6317x23.2482 Line 900,3200: -96.8799x23.8965 Line 1000,3200: -97.1325x24.5439 Line 1100,3200: -97.3888x25.1905 Line 1200,3200: -97.6174x25.7091 Line 1300,3200: -97.8828x26.3538 Line 1400,3190: -98.0082x27.0376 Line 1500,3172: -98.0059x27.7568 Line 1600,3156: -98.0114x28.3447 Line 1700,3136: -98.0009x29.0685 Line 1800,3116: -98.0049x29.7873 Line 1900,3095: -98.006x30.5064 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]:-15072 Writing grid band 0 to /mnt/r5/Data/NPP/2012_07_11_193_1832/SVM05_npp_d20120711_t1832089_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/2012_07_11_193_1832/SVM04_npp_d20120711_t1832089_radiance.bin /mnt/r5/Data/NPP/2012_07_11_193_1832/SVM04_npp_d20120711_t1832089_reg.bin -lf /mnt/r5/Data/NPP/2012_07_11_193_1832/GMTCO_npp_d20120711_t1832089_lon.bin -LF /mnt/r5/Data/NPP/2012_07_11_193_1832/GMTCO_npp_d20120711_t1832089_lat.bin -o /mnt/r5/Data/NPP/2012_07_11_193_1832/SVM04_npp_d20120711_t1832089_reg.bin Read params from Input file /mnt/r4/Software/IDL_WORKDIR/NPPProcessing/scripts/projectigm.svm.params Invalid argument /mnt/r5/Data/NPP/2012_07_11_193_1832/SVM04_npp_d20120711_t1832089_reg.bin Input parameters: BSQ File:-b:Input Filename STR = /mnt/r5/Data/NPP/2012_07_11_193_1832/SVM04_npp_d20120711_t1832089_radiance.bin Output File:-o:Output Filename STR = /mnt/r5/Data/NPP/2012_07_11_193_1832/SVM04_npp_d20120711_t1832089_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/2012_07_11_193_1832/GMTCO_npp_d20120711_t1832089_lon.bin Latitude File:-LF:latitude band file STR = /mnt/r5/Data/NPP/2012_07_11_193_1832/GMTCO_npp_d20120711_t1832089_lat.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/2012_07_11_193_1832/SVM04_npp_d20120711_t1832089_radiance.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: SVM04radiance Selected BSQ Bands: 0 Unable to read byte order default is INTEL 0 Geofield Dimensions: 1: height 1976 2: width 3200 Using User Input for Mapping of Geofields to Datafields Datafield 0 height 1976: 1,1,0 from input parameter width 3200: 2,1,0 from input parameter Scene Bounds -65.813507x22.767443 -94.842445x18.396309 -67.2696x35.372326 -99.723213x30.493298 requested llBounds -98 31 -80 17 Mapbounds -98 17 -80 31 newllbounds -98 17 -80 31 Swath Center Resolution 0.00785425x0.00671326 degrees or 0.00785425x0.00671326 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 1968x3079 1447x1239 0x3199 0x1638 dimbounds: 0 1239 1968 3199 Binning from 0x1239 to 1968x3199 Mapping Pixel coordinates Line 0,3200: -94.8424x18.3963 Line 100,3200: -95.0829x19.0455 Line 200,3200: -95.3075x19.6988 Line 300,3200: -95.5359x20.3512 Line 400,3200: -95.7398x20.8745 Line 500,3200: -95.9737x21.5258 Line 600,3200: -96.2118x22.1762 Line 700,3200: -96.454x22.8259 Line 800,3200: -96.6317x23.2482 Line 900,3200: -96.8799x23.8965 Line 1000,3200: -97.1325x24.5439 Line 1100,3200: -97.3888x25.1905 Line 1200,3200: -97.6174x25.7091 Line 1300,3200: -97.8828x26.3538 Line 1400,3190: -98.0082x27.0376 Line 1500,3172: -98.0059x27.7568 Line 1600,3156: -98.0114x28.3447 Line 1700,3136: -98.0009x29.0685 Line 1800,3116: -98.0049x29.7873 Line 1900,3095: -98.006x30.5064 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]:-25333 Writing grid band 0 to /mnt/r5/Data/NPP/2012_07_11_193_1832/SVM04_npp_d20120711_t1832089_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/2012_07_11_193_1832/SVM03_npp_d20120711_t1832089_radiance.bin /mnt/r5/Data/NPP/2012_07_11_193_1832/SVM03_npp_d20120711_t1832089_reg.bin -lf /mnt/r5/Data/NPP/2012_07_11_193_1832/GMTCO_npp_d20120711_t1832089_lon.bin -LF /mnt/r5/Data/NPP/2012_07_11_193_1832/GMTCO_npp_d20120711_t1832089_lat.bin -o /mnt/r5/Data/NPP/2012_07_11_193_1832/SVM03_npp_d20120711_t1832089_reg.bin Read params from Input file /mnt/r4/Software/IDL_WORKDIR/NPPProcessing/scripts/projectigm.svm.params Invalid argument /mnt/r5/Data/NPP/2012_07_11_193_1832/SVM03_npp_d20120711_t1832089_reg.bin Input parameters: BSQ File:-b:Input Filename STR = /mnt/r5/Data/NPP/2012_07_11_193_1832/SVM03_npp_d20120711_t1832089_radiance.bin Output File:-o:Output Filename STR = /mnt/r5/Data/NPP/2012_07_11_193_1832/SVM03_npp_d20120711_t1832089_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/2012_07_11_193_1832/GMTCO_npp_d20120711_t1832089_lon.bin Latitude File:-LF:latitude band file STR = /mnt/r5/Data/NPP/2012_07_11_193_1832/GMTCO_npp_d20120711_t1832089_lat.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/2012_07_11_193_1832/SVM03_npp_d20120711_t1832089_radiance.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: SVM03radiance Selected BSQ Bands: 0 Unable to read byte order default is INTEL 0 Geofield Dimensions: 1: height 1976 2: width 3200 Using User Input for Mapping of Geofields to Datafields Datafield 0 height 1976: 1,1,0 from input parameter width 3200: 2,1,0 from input parameter Scene Bounds -65.813507x22.767443 -94.842445x18.396309 -67.2696x35.372326 -99.723213x30.493298 requested llBounds -98 31 -80 17 Mapbounds -98 17 -80 31 newllbounds -98 17 -80 31 Swath Center Resolution 0.00785425x0.00671326 degrees or 0.00785425x0.00671326 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 1968x3079 1447x1239 0x3199 0x1638 dimbounds: 0 1239 1968 3199 Binning from 0x1239 to 1968x3199 Mapping Pixel coordinates Line 0,3200: -94.8424x18.3963 Line 100,3200: -95.0829x19.0455 Line 200,3200: -95.3075x19.6988 Line 300,3200: -95.5359x20.3512 Line 400,3200: -95.7398x20.8745 Line 500,3200: -95.9737x21.5258 Line 600,3200: -96.2118x22.1762 Line 700,3200: -96.454x22.8259 Line 800,3200: -96.6317x23.2482 Line 900,3200: -96.8799x23.8965 Line 1000,3200: -97.1325x24.5439 Line 1100,3200: -97.3888x25.1905 Line 1200,3200: -97.6174x25.7091 Line 1300,3200: -97.8828x26.3538 Line 1400,3190: -98.0082x27.0376 Line 1500,3172: -98.0059x27.7568 Line 1600,3156: -98.0114x28.3447 Line 1700,3136: -98.0009x29.0685 Line 1800,3116: -98.0049x29.7873 Line 1900,3095: -98.006x30.5064 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]:-3914 Writing grid band 0 to /mnt/r5/Data/NPP/2012_07_11_193_1832/SVM03_npp_d20120711_t1832089_reg.bin Now Free Stuff Swath deconstructor + cat /mnt/r5/Data/NPP/2012_07_11_193_1832/SVM05_npp_d20120711_t1832089_reg.bin /mnt/r5/Data/NPP/2012_07_11_193_1832/SVM04_npp_d20120711_t1832089_reg.bin /mnt/r5/Data/NPP/2012_07_11_193_1832/SVM03_npp_d20120711_t1832089_reg.bin + sed -n '/ESRI/,/band names/p' /mnt/r5/Data/NPP/2012_07_11_193_1832/SVM05_npp_d20120711_t1832089_reg.bin.hdr + sed 's,nbands 1,nbands 3,' + sed 's,bands = 1,bands = 3,' ++ basename /mnt/r5/Data/NPP/2012_07_11_193_1832/SVM05_npp_d20120711_t1832089_reg.bin .bin + echo SVM05_npp_d20120711_t1832089_reg, ++ basename /mnt/r5/Data/NPP/2012_07_11_193_1832/SVM04_npp_d20120711_t1832089_reg.bin .bin + echo SVM04_npp_d20120711_t1832089_reg, ++ basename /mnt/r5/Data/NPP/2012_07_11_193_1832/SVM03_npp_d20120711_t1832089_reg.bin .bin + echo 'SVM03_npp_d20120711_t1832089_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 }'