++ 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_d20120614_t2021525_radiance.bin
+ dataDir=.
++ fullpath .
+ dataDir=/mnt/r5/Data/NPP/2012_06_14_166_2021
++ echo SVM05_npp_d20120614_t2021525_radiance.bin
++ cut -d_ -f1
+ prefix=SVM05
++ echo SVM05
++ cut -c1-3
+ pre=SVM
++ cut -d_ -f2-4
++ echo SVM05_npp_d20120614_t2021525_radiance.bin
+ satDateTime=npp_d20120614_t2021525
++ ls /mnt/r5/Data/NPP/2012_06_14_166_2021/GMTCO_npp_d20120614_t2021525_lon.bin
+ lonMFile=/mnt/r5/Data/NPP/2012_06_14_166_2021/GMTCO_npp_d20120614_t2021525_lon.bin
++ ls /mnt/r5/Data/NPP/2012_06_14_166_2021/GMTCO_npp_d20120614_t2021525_lat.bin
+ latMFile=/mnt/r5/Data/NPP/2012_06_14_166_2021/GMTCO_npp_d20120614_t2021525_lat.bin
++ ls /mnt/r5/Data/NPP/2012_06_14_166_2021/GITCO_npp_d20120614_t2021525_lon.bin
+ lonIFile=/mnt/r5/Data/NPP/2012_06_14_166_2021/GITCO_npp_d20120614_t2021525_lon.bin
++ ls /mnt/r5/Data/NPP/2012_06_14_166_2021/GITCO_npp_d20120614_t2021525_lat.bin
+ latIFile=/mnt/r5/Data/NPP/2012_06_14_166_2021/GITCO_npp_d20120614_t2021525_lat.bin
++ tail
++ ls /mnt/r5/Data/NPP/2012_06_14_166_2021/SVM05_npp_d20120614_t2021525_radiance.bin /mnt/r5/Data/NPP/2012_06_14_166_2021/SVM05_npp_d20120614_t2021525_reg.bin
+ sv5File='/mnt/r5/Data/NPP/2012_06_14_166_2021/SVM05_npp_d20120614_t2021525_radiance.bin
/mnt/r5/Data/NPP/2012_06_14_166_2021/SVM05_npp_d20120614_t2021525_reg.bin'
++ tail
++ ls /mnt/r5/Data/NPP/2012_06_14_166_2021/SVM04_npp_d20120614_t2021525_radiance.bin /mnt/r5/Data/NPP/2012_06_14_166_2021/SVM04_npp_d20120614_t2021525_reg.bin
+ sv4File='/mnt/r5/Data/NPP/2012_06_14_166_2021/SVM04_npp_d20120614_t2021525_radiance.bin
/mnt/r5/Data/NPP/2012_06_14_166_2021/SVM04_npp_d20120614_t2021525_reg.bin'
++ tail
++ ls /mnt/r5/Data/NPP/2012_06_14_166_2021/SVM03_npp_d20120614_t2021525_radiance.bin /mnt/r5/Data/NPP/2012_06_14_166_2021/SVM03_npp_d20120614_t2021525_reg.bin
+ sv3File='/mnt/r5/Data/NPP/2012_06_14_166_2021/SVM03_npp_d20120614_t2021525_radiance.bin
/mnt/r5/Data/NPP/2012_06_14_166_2021/SVM03_npp_d20120614_t2021525_reg.bin'
++ tail
++ ls /mnt/r5/Data/NPP/2012_06_14_166_2021/SVI01_npp_d20120614_t2021525_radiance.bin /mnt/r5/Data/NPP/2012_06_14_166_2021/SVI01_npp_d20120614_t2021525_reg.bin
+ sv1File='/mnt/r5/Data/NPP/2012_06_14_166_2021/SVI01_npp_d20120614_t2021525_radiance.bin
/mnt/r5/Data/NPP/2012_06_14_166_2021/SVI01_npp_d20120614_t2021525_reg.bin'
+ out5=/mnt/r5/Data/NPP/2012_06_14_166_2021/SVM05_npp_d20120614_t2021525_reg.bin
+ out4=/mnt/r5/Data/NPP/2012_06_14_166_2021/SVM04_npp_d20120614_t2021525_reg.bin
+ out3=/mnt/r5/Data/NPP/2012_06_14_166_2021/SVM03_npp_d20120614_t2021525_reg.bin
+ out543=/mnt/r5/Data/NPP/2012_06_14_166_2021/SVM050403_npp_d20120614_t2021525_reg.bsq
+ sharp=/mnt/r5/Data/NPP/2012_06_14_166_2021/SVM050403_npp_d20120614_t2021525_sharp.bsq
+ out1=/mnt/r5/Data/NPP/2012_06_14_166_2021/SVI01_npp_d20120614_t2021525_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_06_14_166_2021/SVM05_npp_d20120614_t2021525_radiance.bin /mnt/r5/Data/NPP/2012_06_14_166_2021/SVM05_npp_d20120614_t2021525_reg.bin -lf /mnt/r5/Data/NPP/2012_06_14_166_2021/GMTCO_npp_d20120614_t2021525_lon.bin -LF /mnt/r5/Data/NPP/2012_06_14_166_2021/GMTCO_npp_d20120614_t2021525_lat.bin -o /mnt/r5/Data/NPP/2012_06_14_166_2021/SVM05_npp_d20120614_t2021525_reg.bin
Read params from Input file /mnt/r4/Software/IDL_WORKDIR/NPPProcessing/scripts/projectigm.svm.params
Invalid argument /mnt/r5/Data/NPP/2012_06_14_166_2021/SVM05_npp_d20120614_t2021525_reg.bin
Input parameters:
 BSQ File:-b:Input Filename STR = /mnt/r5/Data/NPP/2012_06_14_166_2021/SVM05_npp_d20120614_t2021525_radiance.bin
 Output File:-o:Output Filename STR = /mnt/r5/Data/NPP/2012_06_14_166_2021/SVM05_npp_d20120614_t2021525_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_06_14_166_2021/GMTCO_npp_d20120614_t2021525_lon.bin
 Latitude File:-LF:latitude band file STR = /mnt/r5/Data/NPP/2012_06_14_166_2021/GMTCO_npp_d20120614_t2021525_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_06_14_166_2021/SVM05_npp_d20120614_t2021525_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 1445
 2: width 3200
Using User Input for Mapping of Geofields to Datafields
Datafield 0
 height 1445: 1,1,0 from input parameter
 width 3200: 2,1,0 from input parameter
Scene Bounds
 -93.564682x28.523773 -123.86842x23.962748
 -94.482643x37.80698 -127.83692x32.791233
requested llBounds
 -107 25 -93 37
Mapbounds
 -107 25 -93 37
newllbounds
 -107 25 -93 37
Swath Center Resolution 0.00820166x0.00670937 degrees or
                        0.00820166x0.00670937 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
 1427x1100 1320x0
 0x1377 0x0
dimbounds:
 0 0 1427 1377
Binning from 0x0 to 1427x1377
Mapping Pixel coordinates
 Line 0,1338: -107.003x27.4116
 Line 100,1319: -107.001x28.0866
 Line 200,1301: -107.005x28.761
 Line 300,1283: -107.006x29.4358
 Line 400,1264: -107.002x30.1047
 Line 500,1247: -107.005x30.7786
 Line 600,1230: -107.007x31.4529
 Line 700,1213: -107.005x32.1276
 Line 800,1196: -107.005x32.7925
 Line 900,1180: -107.006x33.4663
 Line 1000,1164: -107.005x34.1404
 Line 1100,1149: -107.007x34.8143
 Line 1200,1133: -107.003x35.4751
 Line 1300,1118: -107x36.1488
 Line 1400,1104: -107.003x36.8219
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]:-11101
Writing grid band 0 to /mnt/r5/Data/NPP/2012_06_14_166_2021/SVM05_npp_d20120614_t2021525_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_06_14_166_2021/SVM04_npp_d20120614_t2021525_radiance.bin /mnt/r5/Data/NPP/2012_06_14_166_2021/SVM04_npp_d20120614_t2021525_reg.bin -lf /mnt/r5/Data/NPP/2012_06_14_166_2021/GMTCO_npp_d20120614_t2021525_lon.bin -LF /mnt/r5/Data/NPP/2012_06_14_166_2021/GMTCO_npp_d20120614_t2021525_lat.bin -o /mnt/r5/Data/NPP/2012_06_14_166_2021/SVM04_npp_d20120614_t2021525_reg.bin
Read params from Input file /mnt/r4/Software/IDL_WORKDIR/NPPProcessing/scripts/projectigm.svm.params
Invalid argument /mnt/r5/Data/NPP/2012_06_14_166_2021/SVM04_npp_d20120614_t2021525_reg.bin
Input parameters:
 BSQ File:-b:Input Filename STR = /mnt/r5/Data/NPP/2012_06_14_166_2021/SVM04_npp_d20120614_t2021525_radiance.bin
 Output File:-o:Output Filename STR = /mnt/r5/Data/NPP/2012_06_14_166_2021/SVM04_npp_d20120614_t2021525_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_06_14_166_2021/GMTCO_npp_d20120614_t2021525_lon.bin
 Latitude File:-LF:latitude band file STR = /mnt/r5/Data/NPP/2012_06_14_166_2021/GMTCO_npp_d20120614_t2021525_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_06_14_166_2021/SVM04_npp_d20120614_t2021525_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 1445
 2: width 3200
Using User Input for Mapping of Geofields to Datafields
Datafield 0
 height 1445: 1,1,0 from input parameter
 width 3200: 2,1,0 from input parameter
Scene Bounds
 -93.564682x28.523773 -123.86842x23.962748
 -94.482643x37.80698 -127.83692x32.791233
requested llBounds
 -107 25 -93 37
Mapbounds
 -107 25 -93 37
newllbounds
 -107 25 -93 37
Swath Center Resolution 0.00820166x0.00670937 degrees or
                        0.00820166x0.00670937 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
 1427x1100 1320x0
 0x1377 0x0
dimbounds:
 0 0 1427 1377
Binning from 0x0 to 1427x1377
Mapping Pixel coordinates
 Line 0,1338: -107.003x27.4116
 Line 100,1319: -107.001x28.0866
 Line 200,1301: -107.005x28.761
 Line 300,1283: -107.006x29.4358
 Line 400,1264: -107.002x30.1047
 Line 500,1247: -107.005x30.7786
 Line 600,1230: -107.007x31.4529
 Line 700,1213: -107.005x32.1276
 Line 800,1196: -107.005x32.7925
 Line 900,1180: -107.006x33.4663
 Line 1000,1164: -107.005x34.1404
 Line 1100,1149: -107.007x34.8143
 Line 1200,1133: -107.003x35.4751
 Line 1300,1118: -107x36.1488
 Line 1400,1104: -107.003x36.8219
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]:-18830
Writing grid band 0 to /mnt/r5/Data/NPP/2012_06_14_166_2021/SVM04_npp_d20120614_t2021525_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_06_14_166_2021/SVM03_npp_d20120614_t2021525_radiance.bin /mnt/r5/Data/NPP/2012_06_14_166_2021/SVM03_npp_d20120614_t2021525_reg.bin -lf /mnt/r5/Data/NPP/2012_06_14_166_2021/GMTCO_npp_d20120614_t2021525_lon.bin -LF /mnt/r5/Data/NPP/2012_06_14_166_2021/GMTCO_npp_d20120614_t2021525_lat.bin -o /mnt/r5/Data/NPP/2012_06_14_166_2021/SVM03_npp_d20120614_t2021525_reg.bin
Read params from Input file /mnt/r4/Software/IDL_WORKDIR/NPPProcessing/scripts/projectigm.svm.params
Invalid argument /mnt/r5/Data/NPP/2012_06_14_166_2021/SVM03_npp_d20120614_t2021525_reg.bin
Input parameters:
 BSQ File:-b:Input Filename STR = /mnt/r5/Data/NPP/2012_06_14_166_2021/SVM03_npp_d20120614_t2021525_radiance.bin
 Output File:-o:Output Filename STR = /mnt/r5/Data/NPP/2012_06_14_166_2021/SVM03_npp_d20120614_t2021525_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_06_14_166_2021/GMTCO_npp_d20120614_t2021525_lon.bin
 Latitude File:-LF:latitude band file STR = /mnt/r5/Data/NPP/2012_06_14_166_2021/GMTCO_npp_d20120614_t2021525_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_06_14_166_2021/SVM03_npp_d20120614_t2021525_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 1445
 2: width 3200
Using User Input for Mapping of Geofields to Datafields
Datafield 0
 height 1445: 1,1,0 from input parameter
 width 3200: 2,1,0 from input parameter
Scene Bounds
 -93.564682x28.523773 -123.86842x23.962748
 -94.482643x37.80698 -127.83692x32.791233
requested llBounds
 -107 25 -93 37
Mapbounds
 -107 25 -93 37
newllbounds
 -107 25 -93 37
Swath Center Resolution 0.00820166x0.00670937 degrees or
                        0.00820166x0.00670937 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
 1427x1100 1320x0
 0x1377 0x0
dimbounds:
 0 0 1427 1377
Binning from 0x0 to 1427x1377
Mapping Pixel coordinates
 Line 0,1338: -107.003x27.4116
 Line 100,1319: -107.001x28.0866
 Line 200,1301: -107.005x28.761
 Line 300,1283: -107.006x29.4358
 Line 400,1264: -107.002x30.1047
 Line 500,1247: -107.005x30.7786
 Line 600,1230: -107.007x31.4529
 Line 700,1213: -107.005x32.1276
 Line 800,1196: -107.005x32.7925
 Line 900,1180: -107.006x33.4663
 Line 1000,1164: -107.005x34.1404
 Line 1100,1149: -107.007x34.8143
 Line 1200,1133: -107.003x35.4751
 Line 1300,1118: -107x36.1488
 Line 1400,1104: -107.003x36.8219
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]:-22731
Writing grid band 0 to /mnt/r5/Data/NPP/2012_06_14_166_2021/SVM03_npp_d20120614_t2021525_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_06_14_166_2021/SVI01_npp_d20120614_t2021525_radiance.bin /mnt/r5/Data/NPP/2012_06_14_166_2021/SVI01_npp_d20120614_t2021525_reg.bin -lf /mnt/r5/Data/NPP/2012_06_14_166_2021/GITCO_npp_d20120614_t2021525_lon.bin -LF /mnt/r5/Data/NPP/2012_06_14_166_2021/GITCO_npp_d20120614_t2021525_lat.bin -o /mnt/r5/Data/NPP/2012_06_14_166_2021/SVI01_npp_d20120614_t2021525_reg.bin
Read params from Input file /mnt/r4/Software/IDL_WORKDIR/NPPProcessing/scripts/projectigm.svi.params
Invalid argument /mnt/r5/Data/NPP/2012_06_14_166_2021/SVI01_npp_d20120614_t2021525_reg.bin
Input parameters:
 BSQ File:-b:Input Filename STR = /mnt/r5/Data/NPP/2012_06_14_166_2021/SVI01_npp_d20120614_t2021525_radiance.bin
 Output File:-o:Output Filename STR = /mnt/r5/Data/NPP/2012_06_14_166_2021/SVI01_npp_d20120614_t2021525_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_06_14_166_2021/GITCO_npp_d20120614_t2021525_lon.bin
 Latitude File:-LF:latitude band file STR = /mnt/r5/Data/NPP/2012_06_14_166_2021/GITCO_npp_d20120614_t2021525_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_06_14_166_2021/SVI01_npp_d20120614_t2021525_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 2889
 2: width 6400
Using User Input for Mapping of Geofields to Datafields
Datafield 0
 height 2889: 1,1,0 from input parameter
 width 6400: 2,1,0 from input parameter
Scene Bounds
 -93.560257x28.520229 -123.87123x23.958155
 -94.477951x37.803303 -127.83961x32.786488
requested llBounds
 -107 25 -93 37
Mapbounds
 -107 25 -93 37
newllbounds
 -107 25 -93 37
Swath Center Resolution 0.00409394x0.00334819 degrees or
                        0.00409394x0.00334819 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
 2855x2200 2640x0
 0x2755 0x0
dimbounds:
 0 0 2855 2755
Binning from 0x0 to 2855x2755
Mapping Pixel coordinates
 Line 0,2676: -107x27.4102
 Line 100,2658: -107.004x27.7469
 Line 200,2639: -107.002x28.0846
 Line 300,2620: -107.001x28.4221
 Line 400,2602: -107.002x28.7595
 Line 500,2584: -107.004x29.0966
 Line 600,2566: -107.004x29.4343
 Line 700,2547: -107x29.7721
 Line 800,2529: -107.003x30.1026
 Line 900,2511: -107.001x30.4403
 Line 1000,2494: -107.002x30.7771
 Line 1100,2477: -107.003x31.1144
 Line 1200,2460: -107.004x31.4514
 Line 1300,2443: -107.003x31.7889
 Line 1400,2426: -107.002x32.1261
 Line 1500,2409: -107x32.4639
 Line 1600,2392: -107.003x32.791
 Line 1700,2376: -107.004x33.1276
 Line 1800,2360: -107.003x33.4648
 Line 1900,2344: -107.003x33.8016
 Line 2000,2328: -107.002x34.1389
 Line 2100,2313: -107.003x34.4756
 Line 2200,2298: -107.004x34.8128
 Line 2300,2283: -107.005x35.1494
 Line 2400,2266: -107x35.4735
 Line 2500,2252: -107.004x35.8099
 Line 2600,2237: -107.003x36.1466
 Line 2700,2223: -107.005x36.4832
 Line 2800,2209: -107.006x36.8197
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]:-27292
Writing grid band 0 to /mnt/r5/Data/NPP/2012_06_14_166_2021/SVI01_npp_d20120614_t2021525_reg.bin
 Now Free Stuff
Swath deconstructor
+ cat /mnt/r5/Data/NPP/2012_06_14_166_2021/SVM05_npp_d20120614_t2021525_reg.bin /mnt/r5/Data/NPP/2012_06_14_166_2021/SVM04_npp_d20120614_t2021525_reg.bin /mnt/r5/Data/NPP/2012_06_14_166_2021/SVM03_npp_d20120614_t2021525_reg.bin
+ sed -n '/ESRI/,/band names/p' /mnt/r5/Data/NPP/2012_06_14_166_2021/SVM05_npp_d20120614_t2021525_reg.bin.hdr
+ sed 's,bands = 1,bands = 3,'
+ sed 's,nbands 1,nbands 3,'
++ basename /mnt/r5/Data/NPP/2012_06_14_166_2021/SVM05_npp_d20120614_t2021525_reg.bin .bin
+ echo SVM05_npp_d20120614_t2021525_reg,
++ basename /mnt/r5/Data/NPP/2012_06_14_166_2021/SVM04_npp_d20120614_t2021525_reg.bin .bin
+ echo SVM04_npp_d20120614_t2021525_reg,
++ basename /mnt/r5/Data/NPP/2012_06_14_166_2021/SVM03_npp_d20120614_t2021525_reg.bin .bin
+ echo 'SVM03_npp_d20120614_t2021525_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_06_14_166_2021/SVI01_npp_d20120614_t2021525_reg.bin -l /mnt/r5/Data/NPP/2012_06_14_166_2021/SVM050403_npp_d20120614_t2021525_reg.bsq -o /mnt/r5/Data/NPP/2012_06_14_166_2021/SVM050403_npp_d20120614_t2021525_sharp.bsq