++ basename /mnt/r4/Software/IDL_WORKDIR/NPPProcessing/scripts/projectandsharpenSDR.sh
+ FUNC=projectandsharpenSDR.sh
++ dirname /mnt/r4/Software/IDL_WORKDIR/NPPProcessing/scripts/projectandsharpenSDR.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
+ sviParams=/mnt/r4/Software/IDL_WORKDIR/NPPProcessing/scripts/projectigm.svi.params
+ '[' 1 -lt 1 ']'
+ for binFile in '$@'
++ dirname SVM05_npp_d20120707_t1947496_radiance.bin
+ dataDir=.
++ fullpath .
+ dataDir=/mnt/r5/Data/NPP/2012_07_07_189_1948
++ echo SVM05_npp_d20120707_t1947496_radiance.bin
++ cut -d_ -f1
+ prefix=SVM05
++ echo SVM05
++ cut -c1-3
+ pre=SVM
++ echo SVM05_npp_d20120707_t1947496_radiance.bin
++ cut -d_ -f2-4
+ satDateTime=npp_d20120707_t1947496
++ ls /mnt/r5/Data/NPP/2012_07_07_189_1948/GMTCO_npp_d20120707_t1947496_lon.bin
+ lonMFile=/mnt/r5/Data/NPP/2012_07_07_189_1948/GMTCO_npp_d20120707_t1947496_lon.bin
++ ls /mnt/r5/Data/NPP/2012_07_07_189_1948/GMTCO_npp_d20120707_t1947496_lat.bin
+ latMFile=/mnt/r5/Data/NPP/2012_07_07_189_1948/GMTCO_npp_d20120707_t1947496_lat.bin
++ ls /mnt/r5/Data/NPP/2012_07_07_189_1948/GITCO_npp_d20120707_t1947496_lon.bin
+ lonIFile=/mnt/r5/Data/NPP/2012_07_07_189_1948/GITCO_npp_d20120707_t1947496_lon.bin
++ ls /mnt/r5/Data/NPP/2012_07_07_189_1948/GITCO_npp_d20120707_t1947496_lat.bin
+ latIFile=/mnt/r5/Data/NPP/2012_07_07_189_1948/GITCO_npp_d20120707_t1947496_lat.bin
++ tail
++ ls /mnt/r5/Data/NPP/2012_07_07_189_1948/SVM05_npp_d20120707_t1947496_radiance.bin
+ sv5File=/mnt/r5/Data/NPP/2012_07_07_189_1948/SVM05_npp_d20120707_t1947496_radiance.bin
++ tail
++ ls /mnt/r5/Data/NPP/2012_07_07_189_1948/SVM04_npp_d20120707_t1947496_radiance.bin
+ sv4File=/mnt/r5/Data/NPP/2012_07_07_189_1948/SVM04_npp_d20120707_t1947496_radiance.bin
++ tail
++ ls /mnt/r5/Data/NPP/2012_07_07_189_1948/SVM03_npp_d20120707_t1947496_radiance.bin
+ sv3File=/mnt/r5/Data/NPP/2012_07_07_189_1948/SVM03_npp_d20120707_t1947496_radiance.bin
++ tail
++ ls /mnt/r5/Data/NPP/2012_07_07_189_1948/SVI01_npp_d20120707_t1947496_radiance.bin
+ sv1File=/mnt/r5/Data/NPP/2012_07_07_189_1948/SVI01_npp_d20120707_t1947496_radiance.bin
+ out5=/mnt/r5/Data/NPP/2012_07_07_189_1948/SVM05_npp_d20120707_t1947496_reg.bin
+ out4=/mnt/r5/Data/NPP/2012_07_07_189_1948/SVM04_npp_d20120707_t1947496_reg.bin
+ out3=/mnt/r5/Data/NPP/2012_07_07_189_1948/SVM03_npp_d20120707_t1947496_reg.bin
+ out543=/mnt/r5/Data/NPP/2012_07_07_189_1948/SVM050403_npp_d20120707_t1947496_reg.bsq
+ sharp=/mnt/r5/Data/NPP/2012_07_07_189_1948/SVM050403_npp_d20120707_t1947496_sharp.bsq
+ out1=/mnt/r5/Data/NPP/2012_07_07_189_1948/SVI01_npp_d20120707_t1947496_reg.bin
+ /mnt/r4/Software/IDL_WORKDIR/NPPProcessing/scripts/projectigmsetlnx -I /mnt/r4/Software/IDL_WORKDIR/NPPProcessing/scripts/projectigm.svm.params -b /mnt/r5/Data/NPP/2012_07_07_189_1948/SVM05_npp_d20120707_t1947496_radiance.bin -lf /mnt/r5/Data/NPP/2012_07_07_189_1948/GMTCO_npp_d20120707_t1947496_lon.bin -LF /mnt/r5/Data/NPP/2012_07_07_189_1948/GMTCO_npp_d20120707_t1947496_lat.bin -o /mnt/r5/Data/NPP/2012_07_07_189_1948/SVM05_npp_d20120707_t1947496_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/2012_07_07_189_1948/SVM05_npp_d20120707_t1947496_radiance.bin
 Output File:-o:Output Filename STR = /mnt/r5/Data/NPP/2012_07_07_189_1948/SVM05_npp_d20120707_t1947496_reg.bin
 Map Bounds:-mb:Use Map units for bounds TOG = 0
 First Longitude:-f:Upper Left DBL = -107
 First Latitude:-F:Upper Left DBL = 37
 Last Longitude:-l:Lower Right DBL = -93
 Last Latitude:-L:Lower Right DBL = 25
 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_07_189_1948/GMTCO_npp_d20120707_t1947496_lon.bin
 Latitude File:-LF:latitude band file STR = /mnt/r5/Data/NPP/2012_07_07_189_1948/GMTCO_npp_d20120707_t1947496_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_07_189_1948/SVM05_npp_d20120707_t1947496_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 2091
 2: width 3200
Using User Input for Mapping of Geofields to Datafields
Datafield 0
 height 2091: 1,1,0 from input parameter
 width 3200: 2,1,0 from input parameter
Scene Bounds
 -85.218964x25.602154 -114.84362x21.140715
 -86.592918x38.936916 -120.45374x33.845268
requested llBounds
 -107 25 -93 37
Mapbounds
 -107 25 -93 37
newllbounds
 -107 25 -93 37
Swath Center Resolution 0.00810884x0.00671152 degrees or
                        0.00810884x0.00671152 map units
Requested Map Resolution 0.0078x0.0068 map units
Not using pixel coverage deltas
Output dims: 1795 pixels by 1765 lines
subbounds
 -107x37 -93x37
 -107x25 -93x25
subdims
 2063x1927 1818x545
 306x2318 0x761
dimbounds:
 0 545 2063 2318
Binning from 0x545 to 2063x2318
Mapping Pixel coordinates
 Line 0,2386: -107.003x22.9094
 Line 100,2365: -107.008x23.5985
 Line 200,2343: -107.008x24.2538
 Line 300,2320: -107.004x24.9451
 Line 400,2298: -107.002x25.6355
 Line 500,2274: -107.007x26.3239
 Line 600,2249: -107.007x26.9864
 Line 700,2222: -107.001x27.6772
 Line 800,2196: -107.004x28.3655
 Line 900,2176: -107.002x29.0542
 Line 1000,2157: -107.002x29.7218
 Line 1100,2138: -107.009x30.4091
 Line 1200,2118: -107.007x31.0973
 Line 1300,2098: -107.008x31.7843
 Line 1400,2077: -107.008x32.4573
 Line 1500,2056: -107.009x33.1444
 Line 1600,2034: -107.004x33.8322
 Line 1700,2012: -107.005x34.518
 Line 1800,1989: -107.005x35.1945
 Line 1900,1966: -107.003x35.8808
 Line 2000,1943: -107.005x36.5658
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
 grid->sdata[0].sdata[250]:-29698
Writing grid band 0 to /mnt/r5/Data/NPP/2012_07_07_189_1948/SVM05_npp_d20120707_t1947496_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 -b /mnt/r5/Data/NPP/2012_07_07_189_1948/SVM04_npp_d20120707_t1947496_radiance.bin -lf /mnt/r5/Data/NPP/2012_07_07_189_1948/GMTCO_npp_d20120707_t1947496_lon.bin -LF /mnt/r5/Data/NPP/2012_07_07_189_1948/GMTCO_npp_d20120707_t1947496_lat.bin -o /mnt/r5/Data/NPP/2012_07_07_189_1948/SVM04_npp_d20120707_t1947496_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/2012_07_07_189_1948/SVM04_npp_d20120707_t1947496_radiance.bin
 Output File:-o:Output Filename STR = /mnt/r5/Data/NPP/2012_07_07_189_1948/SVM04_npp_d20120707_t1947496_reg.bin
 Map Bounds:-mb:Use Map units for bounds TOG = 0
 First Longitude:-f:Upper Left DBL = -107
 First Latitude:-F:Upper Left DBL = 37
 Last Longitude:-l:Lower Right DBL = -93
 Last Latitude:-L:Lower Right DBL = 25
 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_07_189_1948/GMTCO_npp_d20120707_t1947496_lon.bin
 Latitude File:-LF:latitude band file STR = /mnt/r5/Data/NPP/2012_07_07_189_1948/GMTCO_npp_d20120707_t1947496_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_07_189_1948/SVM04_npp_d20120707_t1947496_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 2091
 2: width 3200
Using User Input for Mapping of Geofields to Datafields
Datafield 0
 height 2091: 1,1,0 from input parameter
 width 3200: 2,1,0 from input parameter
Scene Bounds
 -85.218964x25.602154 -114.84362x21.140715
 -86.592918x38.936916 -120.45374x33.845268
requested llBounds
 -107 25 -93 37
Mapbounds
 -107 25 -93 37
newllbounds
 -107 25 -93 37
Swath Center Resolution 0.00810884x0.00671152 degrees or
                        0.00810884x0.00671152 map units
Requested Map Resolution 0.0078x0.0068 map units
Not using pixel coverage deltas
Output dims: 1795 pixels by 1765 lines
subbounds
 -107x37 -93x37
 -107x25 -93x25
subdims
 2063x1927 1818x545
 306x2318 0x761
dimbounds:
 0 545 2063 2318
Binning from 0x545 to 2063x2318
Mapping Pixel coordinates
 Line 0,2386: -107.003x22.9094
 Line 100,2365: -107.008x23.5985
 Line 200,2343: -107.008x24.2538
 Line 300,2320: -107.004x24.9451
 Line 400,2298: -107.002x25.6355
 Line 500,2274: -107.007x26.3239
 Line 600,2249: -107.007x26.9864
 Line 700,2222: -107.001x27.6772
 Line 800,2196: -107.004x28.3655
 Line 900,2176: -107.002x29.0542
 Line 1000,2157: -107.002x29.7218
 Line 1100,2138: -107.009x30.4091
 Line 1200,2118: -107.007x31.0973
 Line 1300,2098: -107.008x31.7843
 Line 1400,2077: -107.008x32.4573
 Line 1500,2056: -107.009x33.1444
 Line 1600,2034: -107.004x33.8322
 Line 1700,2012: -107.005x34.518
 Line 1800,1989: -107.005x35.1945
 Line 1900,1966: -107.003x35.8808
 Line 2000,1943: -107.005x36.5658
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
 grid->sdata[0].sdata[250]:13485
Writing grid band 0 to /mnt/r5/Data/NPP/2012_07_07_189_1948/SVM04_npp_d20120707_t1947496_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 -b /mnt/r5/Data/NPP/2012_07_07_189_1948/SVM03_npp_d20120707_t1947496_radiance.bin -lf /mnt/r5/Data/NPP/2012_07_07_189_1948/GMTCO_npp_d20120707_t1947496_lon.bin -LF /mnt/r5/Data/NPP/2012_07_07_189_1948/GMTCO_npp_d20120707_t1947496_lat.bin -o /mnt/r5/Data/NPP/2012_07_07_189_1948/SVM03_npp_d20120707_t1947496_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/2012_07_07_189_1948/SVM03_npp_d20120707_t1947496_radiance.bin
 Output File:-o:Output Filename STR = /mnt/r5/Data/NPP/2012_07_07_189_1948/SVM03_npp_d20120707_t1947496_reg.bin
 Map Bounds:-mb:Use Map units for bounds TOG = 0
 First Longitude:-f:Upper Left DBL = -107
 First Latitude:-F:Upper Left DBL = 37
 Last Longitude:-l:Lower Right DBL = -93
 Last Latitude:-L:Lower Right DBL = 25
 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_07_189_1948/GMTCO_npp_d20120707_t1947496_lon.bin
 Latitude File:-LF:latitude band file STR = /mnt/r5/Data/NPP/2012_07_07_189_1948/GMTCO_npp_d20120707_t1947496_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_07_189_1948/SVM03_npp_d20120707_t1947496_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 2091
 2: width 3200
Using User Input for Mapping of Geofields to Datafields
Datafield 0
 height 2091: 1,1,0 from input parameter
 width 3200: 2,1,0 from input parameter
Scene Bounds
 -85.218964x25.602154 -114.84362x21.140715
 -86.592918x38.936916 -120.45374x33.845268
requested llBounds
 -107 25 -93 37
Mapbounds
 -107 25 -93 37
newllbounds
 -107 25 -93 37
Swath Center Resolution 0.00810884x0.00671152 degrees or
                        0.00810884x0.00671152 map units
Requested Map Resolution 0.0078x0.0068 map units
Not using pixel coverage deltas
Output dims: 1795 pixels by 1765 lines
subbounds
 -107x37 -93x37
 -107x25 -93x25
subdims
 2063x1927 1818x545
 306x2318 0x761
dimbounds:
 0 545 2063 2318
Binning from 0x545 to 2063x2318
Mapping Pixel coordinates
 Line 0,2386: -107.003x22.9094
 Line 100,2365: -107.008x23.5985
 Line 200,2343: -107.008x24.2538
 Line 300,2320: -107.004x24.9451
 Line 400,2298: -107.002x25.6355
 Line 500,2274: -107.007x26.3239
 Line 600,2249: -107.007x26.9864
 Line 700,2222: -107.001x27.6772
 Line 800,2196: -107.004x28.3655
 Line 900,2176: -107.002x29.0542
 Line 1000,2157: -107.002x29.7218
 Line 1100,2138: -107.009x30.4091
 Line 1200,2118: -107.007x31.0973
 Line 1300,2098: -107.008x31.7843
 Line 1400,2077: -107.008x32.4573
 Line 1500,2056: -107.009x33.1444
 Line 1600,2034: -107.004x33.8322
 Line 1700,2012: -107.005x34.518
 Line 1800,1989: -107.005x35.1945
 Line 1900,1966: -107.003x35.8808
 Line 2000,1943: -107.005x36.5658
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
 grid->sdata[0].sdata[250]:-16089
Writing grid band 0 to /mnt/r5/Data/NPP/2012_07_07_189_1948/SVM03_npp_d20120707_t1947496_reg.bin
 Now Free Stuff
Swath deconstructor
+ /mnt/r4/Software/IDL_WORKDIR/NPPProcessing/scripts/projectigmsetlnx -I /mnt/r4/Software/IDL_WORKDIR/NPPProcessing/scripts/projectigm.svi.params -b /mnt/r5/Data/NPP/2012_07_07_189_1948/SVI01_npp_d20120707_t1947496_radiance.bin -lf /mnt/r5/Data/NPP/2012_07_07_189_1948/GITCO_npp_d20120707_t1947496_lon.bin -LF /mnt/r5/Data/NPP/2012_07_07_189_1948/GITCO_npp_d20120707_t1947496_lat.bin -o /mnt/r5/Data/NPP/2012_07_07_189_1948/SVI01_npp_d20120707_t1947496_reg.bin
Read params from Input file /mnt/r4/Software/IDL_WORKDIR/NPPProcessing/scripts/projectigm.svi.params
Input parameters:
 BSQ File:-b:Input Filename STR = /mnt/r5/Data/NPP/2012_07_07_189_1948/SVI01_npp_d20120707_t1947496_radiance.bin
 Output File:-o:Output Filename STR = /mnt/r5/Data/NPP/2012_07_07_189_1948/SVI01_npp_d20120707_t1947496_reg.bin
 Map Bounds:-mb:Use Map units for bounds TOG = 0
 First Longitude:-f:Upper Left DBL = -107
 First Latitude:-F:Upper Left DBL = 37
 Last Longitude:-l:Lower Right DBL = -93
 Last Latitude:-L:Lower Right DBL = 25
 X-resolution:-x:Map Units DBL = 0.0039
 Y-resolution:-y:Map Units DBL = 0.0034
 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_07_189_1948/GITCO_npp_d20120707_t1947496_lon.bin
 Latitude File:-LF:latitude band file STR = /mnt/r5/Data/NPP/2012_07_07_189_1948/GITCO_npp_d20120707_t1947496_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_07_189_1948/SVI01_npp_d20120707_t1947496_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: SVI01radiance 
Selected BSQ Bands:
 0
 Unable to read byte order default is INTEL 0
Geofield Dimensions:
 1: height 4183
 2: width 6400
Using User Input for Mapping of Geofields to Datafields
Datafield 0
 height 4183: 1,1,0 from input parameter
 width 6400: 2,1,0 from input parameter
Scene Bounds
 -85.214272x25.591312 -114.84447x21.129087
 -86.587852x38.940594 -120.45943x33.847397
requested llBounds
 -107 25 -93 37
Mapbounds
 -107 25 -93 37
newllbounds
 -107 25 -93 37
Swath Center Resolution 0.00405379x0.00335534 degrees or
                        0.00405379x0.00335534 map units
Requested Map Resolution 0.0039x0.0034 map units
Not using pixel coverage deltas
Output dims: 3590 pixels by 3529 lines
subbounds
 -107x37 -93x37
 -107x25 -93x25
subdims
 4128x3855 3638x1090
 613x4636 0x1522
dimbounds:
 0 1090 4128 4636
Binning from 0x1090 to 4128x4636
Mapping Pixel coordinates
 Line 0,4773: -107.004x22.9023
 Line 100,4751: -107.001x23.2478
 Line 200,4730: -107.004x23.5924
 Line 300,4708: -107.004x23.937
 Line 400,4686: -107.002x24.2822
 Line 500,4663: -107.001x24.5942
 Line 600,4640: -107.001x24.9392
 Line 700,4617: -107x25.2847
 Line 800,4597: -107.003x25.6288
 Line 900,4573: -107.002x25.9741
 Line 1000,4548: -107.003x26.3182
 Line 1100,4521: -107.002x26.663
 Line 1200,4498: -107.003x27.0068
 Line 1300,4471: -107x27.3261
 Line 1400,4445: -107.001x27.6709
 Line 1500,4419: -107.002x28.0151
 Line 1600,4392: -107.001x28.36
 Line 1700,4371: -107.002x28.7037
 Line 1800,4353: -107.003x29.0478
 Line 1900,4334: -107.002x29.3917
 Line 2000,4315: -107.001x29.7359
 Line 2100,4295: -107.002x30.0606
 Line 2200,4276: -107.005x30.4039
 Line 2300,4256: -107.004x30.7484
 Line 2400,4236: -107.003x31.0922
 Line 2500,4216: -107.003x31.4362
 Line 2600,4196: -107.004x31.7792
 Line 2700,4175: -107.001x32.1234
 Line 2800,4155: -107.005x32.4657
 Line 2900,4133: -107.004x32.7958
 Line 3000,4111: -107x33.1404
 Line 3100,4090: -107.003x33.4832
 Line 3200,4069: -107.005x33.8263
 Line 3300,4047: -107.004x34.1693
 Line 3400,4024: -107.001x34.5131
 Line 3500,4002: -107.003x34.8554
 Line 3600,3979: -107.001x35.1988
 Line 3700,3956: -107.004x35.5323
 Line 3800,3933: -107.004x35.8751
 Line 3900,3910: -107.004x36.2181
 Line 4000,3886: -107.001x36.561
 Line 4100,3863: -107.004x36.9032
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
 Line 2100
 Line 2200
 Line 2300
 Line 2400
 Line 2500
 Line 2600
 Line 2700
 Line 2800
 Line 2900
 Line 3000
 Line 3100
 Line 3200
 Line 3300
 Line 3400
 Line 3500
 grid->sdata[0].sdata[250]:-31966
Writing grid band 0 to /mnt/r5/Data/NPP/2012_07_07_189_1948/SVI01_npp_d20120707_t1947496_reg.bin
 Now Free Stuff
Swath deconstructor
+ cat /mnt/r5/Data/NPP/2012_07_07_189_1948/SVM05_npp_d20120707_t1947496_reg.bin /mnt/r5/Data/NPP/2012_07_07_189_1948/SVM04_npp_d20120707_t1947496_reg.bin /mnt/r5/Data/NPP/2012_07_07_189_1948/SVM03_npp_d20120707_t1947496_reg.bin
+ sed -n '/ESRI/,/band names/p' /mnt/r5/Data/NPP/2012_07_07_189_1948/SVM05_npp_d20120707_t1947496_reg.bin.hdr
+ sed 's,bands = 1,bands = 3,'
+ sed 's,nbands 1,nbands 3,'
++ basename /mnt/r5/Data/NPP/2012_07_07_189_1948/SVM05_npp_d20120707_t1947496_reg.bin .bin
+ echo SVM05_npp_d20120707_t1947496_reg,
++ basename /mnt/r5/Data/NPP/2012_07_07_189_1948/SVM04_npp_d20120707_t1947496_reg.bin .bin
+ echo SVM04_npp_d20120707_t1947496_reg,
++ basename /mnt/r5/Data/NPP/2012_07_07_189_1948/SVM03_npp_d20120707_t1947496_reg.bin .bin
+ echo 'SVM03_npp_d20120707_t1947496_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 }'
+ /mnt/r4/Software/IDL_WORKDIR/NPPProcessing/scripts/bandsharpenlnx -h /mnt/r5/Data/NPP/2012_07_07_189_1948/SVI01_npp_d20120707_t1947496_reg.bin -l /mnt/r5/Data/NPP/2012_07_07_189_1948/SVM050403_npp_d20120707_t1947496_reg.bsq -o /mnt/r5/Data/NPP/2012_07_07_189_1948/SVM050403_npp_d20120707_t1947496_sharp.bsq