+ echo date
date
+ echo '/mnt/r6/Software/IDL_WORKDIR/NPPProcessing/scripts/projectandsharpenCVIIRS.sh -107 25 -93 37 CVIIRSM_npp_d20180625_t1854096-CorrRefl_01.bin'
/mnt/r6/Software/IDL_WORKDIR/NPPProcessing/scripts/projectandsharpenCVIIRS.sh -107 25 -93 37 CVIIRSM_npp_d20180625_t1854096-CorrRefl_01.bin
++ basename /mnt/r6/Software/IDL_WORKDIR/NPPProcessing/scripts/projectandsharpenCVIIRS.sh
+ FUNC=projectandsharpenCVIIRS.sh
++ dirname /mnt/r6/Software/IDL_WORKDIR/NPPProcessing/scripts/projectandsharpenCVIIRS.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
+ svmParams=/mnt/r6/Software/IDL_WORKDIR/NPPProcessing/scripts/projectigm.svm.params
+ sviParams=/mnt/r6/Software/IDL_WORKDIR/NPPProcessing/scripts/projectigm.svi.params
+ '[' 5 -lt 5 ']'
+ Lon1=-107
+ shift
+ Lat1=25
+ shift
+ Lon2=-93
+ shift
+ Lat2=37
+ shift
+ for binFile in '$@'
++ dirname CVIIRSM_npp_d20180625_t1854096-CorrRefl_01.bin
+ dataDir=.
++ fullpath .
+ dataDir=/mnt/r6/Data/NPP/2018_06_25_176_1851
++ echo CVIIRSM_npp_d20180625_t1854096-CorrRefl_01.bin
++ cut -d_ -f1
+ prefix=CVIIRSM
++ echo CVIIRSM
++ cut -c1-3
+ pre=CVI
++ echo CVIIRSM_npp_d20180625_t1854096-CorrRefl_01.bin
++ cut -d- -f1
+ satDateTime=npp_d20180625_t1854096
++ head -1
++ ls /mnt/r6/Data/NPP/2018_06_25_176_1851/GMTCO_npp_d20180625_t1851203-Longitude.bin
+ lonMFile=/mnt/r6/Data/NPP/2018_06_25_176_1851/GMTCO_npp_d20180625_t1851203-Longitude.bin
++ head -1
++ ls /mnt/r6/Data/NPP/2018_06_25_176_1851/GMTCO_npp_d20180625_t1851203-Latitude.bin
+ latMFile=/mnt/r6/Data/NPP/2018_06_25_176_1851/GMTCO_npp_d20180625_t1851203-Latitude.bin
+ test -z /mnt/r6/Data/NPP/2018_06_25_176_1851/GMTCO_npp_d20180625_t1851203-Longitude.bin
+ test -z /mnt/r6/Data/NPP/2018_06_25_176_1851/GMTCO_npp_d20180625_t1851203-Latitude.bin
++ head -1
++ ls /mnt/r6/Data/NPP/2018_06_25_176_1851/GITCO_npp_d20180625_t1854096-Longitude.bin
+ lonIFile=/mnt/r6/Data/NPP/2018_06_25_176_1851/GITCO_npp_d20180625_t1854096-Longitude.bin
++ head -1
++ ls /mnt/r6/Data/NPP/2018_06_25_176_1851/GITCO_npp_d20180625_t1854096-Latitude.bin
+ latIFile=/mnt/r6/Data/NPP/2018_06_25_176_1851/GITCO_npp_d20180625_t1854096-Latitude.bin
+ test -z /mnt/r6/Data/NPP/2018_06_25_176_1851/GITCO_npp_d20180625_t1854096-Longitude.bin
+ test -z /mnt/r6/Data/NPP/2018_06_25_176_1851/GITCO_npp_d20180625_t1854096-Latitude.bin
++ tail -1
++ ls /mnt/r6/Data/NPP/2018_06_25_176_1851/CVIIRSM_npp_d20180625_t1854096-CorrRefl_01.bin
+ cvm1File=/mnt/r6/Data/NPP/2018_06_25_176_1851/CVIIRSM_npp_d20180625_t1854096-CorrRefl_01.bin
++ tail -1
++ ls /mnt/r6/Data/NPP/2018_06_25_176_1851/CVIIRSM_npp_d20180625_t1854096-CorrRefl_04.bin
+ cvm4File=/mnt/r6/Data/NPP/2018_06_25_176_1851/CVIIRSM_npp_d20180625_t1854096-CorrRefl_04.bin
++ tail -1
++ ls /mnt/r6/Data/NPP/2018_06_25_176_1851/CVIIRSM_npp_d20180625_t1854096-CorrRefl_03.bin
+ cvm3File=/mnt/r6/Data/NPP/2018_06_25_176_1851/CVIIRSM_npp_d20180625_t1854096-CorrRefl_03.bin
++ tail -1
++ ls /mnt/r6/Data/NPP/2018_06_25_176_1851/CVIIRSI_npp_d20180625_t1854096-CorrRefl_08.bin
+ cvi1File=/mnt/r6/Data/NPP/2018_06_25_176_1851/CVIIRSI_npp_d20180625_t1854096-CorrRefl_08.bin
+ outm1=/mnt/r6/Data/NPP/2018_06_25_176_1851/CVIIRSM01_npp_d20180625_t1854096_reg.bin
+ outm4=/mnt/r6/Data/NPP/2018_06_25_176_1851/CVIIRSM04_npp_d20180625_t1854096_reg.bin
+ outm3=/mnt/r6/Data/NPP/2018_06_25_176_1851/CVIIRSM03_npp_d20180625_t1854096_reg.bin
+ outm143=/mnt/r6/Data/NPP/2018_06_25_176_1851/CVIIRSM010403_npp_d20180625_t1854096_reg.bsq
+ sharp=/mnt/r6/Data/NPP/2018_06_25_176_1851/CVIIRSM010403_npp_d20180625_t1854096_sharp.bsq
+ outi1=/mnt/r6/Data/NPP/2018_06_25_176_1851/CVIIRSI01_npp_d20180625_t1854096_reg.bin
+ /mnt/r6/Software/IDL_WORKDIR/NPPProcessing/scripts/projectigmsetlnx -I /mnt/r6/Software/IDL_WORKDIR/NPPProcessing/scripts/projectigm.svm.params -f -107 -F 25 -l -93 -L 37 -b /mnt/r6/Data/NPP/2018_06_25_176_1851/CVIIRSM_npp_d20180625_t1854096-CorrRefl_01.bin -lf /mnt/r6/Data/NPP/2018_06_25_176_1851/GMTCO_npp_d20180625_t1851203-Longitude.bin -LF /mnt/r6/Data/NPP/2018_06_25_176_1851/GMTCO_npp_d20180625_t1851203-Latitude.bin -o /mnt/r6/Data/NPP/2018_06_25_176_1851/CVIIRSM01_npp_d20180625_t1854096_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/2018_06_25_176_1851/CVIIRSM_npp_d20180625_t1854096-CorrRefl_01.bin
 Output File:-o:Output Filename STR = /mnt/r6/Data/NPP/2018_06_25_176_1851/CVIIRSM01_npp_d20180625_t1854096_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 = 25
 Last Longitude:-l:Lower Right DBL = -93
 Last Latitude:-L:Lower Right DBL = 37
 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/2018_06_25_176_1851/GMTCO_npp_d20180625_t1851203-Longitude.bin
 Latitude File:-LF:latitude band file STR = /mnt/r6/Data/NPP/2018_06_25_176_1851/GMTCO_npp_d20180625_t1851203-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/2018_06_25_176_1851/CVIIRSM_npp_d20180625_t1854096-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 680
 2: width 3200
Using User Input for Mapping of Geofields to Datafields
Datafield 0
 height 680: 1,1,0 from input parameter
 width 3200: 2,1,0 from input parameter
Scene Bounds
 -71.226555x27.630407 -101.28674x23.091564
 -71.725281x32.037926 -103.03878x27.3081
requested llBounds
 -107 37 -93 25
Mapbounds
 -107 25 -93 37
newllbounds
 -107 25 -93 37
Swath Center Resolution 0.00790189x0.00671494 degrees or
                        0.00790189x0.00671494 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
 679x3199 679x2012
 310x3199 0x2345
dimbounds:
 0 2012 679 3199
Binning from 0x2012 to 679x3199
Mapping Pixel coordinates
 Line 0,3200: -101.287x23.0916
 Line 100,3200: -101.536x23.7395
 Line 200,3200: -101.765x24.2581
 Line 300,3200: -102.03x24.9021
 Line 400,3200: -102.292x25.5471
 Line 500,3200: -102.556x26.192
 Line 600,3200: -102.785x26.7096
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]:-4915
Writing grid band 0 to /mnt/r6/Data/NPP/2018_06_25_176_1851/CVIIRSM01_npp_d20180625_t1854096_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 -107 -F 25 -l -93 -L 37 -b /mnt/r6/Data/NPP/2018_06_25_176_1851/CVIIRSM_npp_d20180625_t1854096-CorrRefl_04.bin -lf /mnt/r6/Data/NPP/2018_06_25_176_1851/GMTCO_npp_d20180625_t1851203-Longitude.bin -LF /mnt/r6/Data/NPP/2018_06_25_176_1851/GMTCO_npp_d20180625_t1851203-Latitude.bin -o /mnt/r6/Data/NPP/2018_06_25_176_1851/CVIIRSM04_npp_d20180625_t1854096_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/2018_06_25_176_1851/CVIIRSM_npp_d20180625_t1854096-CorrRefl_04.bin
 Output File:-o:Output Filename STR = /mnt/r6/Data/NPP/2018_06_25_176_1851/CVIIRSM04_npp_d20180625_t1854096_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 = 25
 Last Longitude:-l:Lower Right DBL = -93
 Last Latitude:-L:Lower Right DBL = 37
 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/2018_06_25_176_1851/GMTCO_npp_d20180625_t1851203-Longitude.bin
 Latitude File:-LF:latitude band file STR = /mnt/r6/Data/NPP/2018_06_25_176_1851/GMTCO_npp_d20180625_t1851203-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/2018_06_25_176_1851/CVIIRSM_npp_d20180625_t1854096-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 680
 2: width 3200
Using User Input for Mapping of Geofields to Datafields
Datafield 0
 height 680: 1,1,0 from input parameter
 width 3200: 2,1,0 from input parameter
Scene Bounds
 -71.226555x27.630407 -101.28674x23.091564
 -71.725281x32.037926 -103.03878x27.3081
requested llBounds
 -107 37 -93 25
Mapbounds
 -107 25 -93 37
newllbounds
 -107 25 -93 37
Swath Center Resolution 0.00790189x0.00671494 degrees or
                        0.00790189x0.00671494 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
 679x3199 679x2012
 310x3199 0x2345
dimbounds:
 0 2012 679 3199
Binning from 0x2012 to 679x3199
Mapping Pixel coordinates
 Line 0,3200: -101.287x23.0916
 Line 100,3200: -101.536x23.7395
 Line 200,3200: -101.765x24.2581
 Line 300,3200: -102.03x24.9021
 Line 400,3200: -102.292x25.5471
 Line 500,3200: -102.556x26.192
 Line 600,3200: -102.785x26.7096
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]:-4915
Writing grid band 0 to /mnt/r6/Data/NPP/2018_06_25_176_1851/CVIIRSM04_npp_d20180625_t1854096_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 -107 -F 25 -l -93 -L 37 -b /mnt/r6/Data/NPP/2018_06_25_176_1851/CVIIRSM_npp_d20180625_t1854096-CorrRefl_03.bin -lf /mnt/r6/Data/NPP/2018_06_25_176_1851/GMTCO_npp_d20180625_t1851203-Longitude.bin -LF /mnt/r6/Data/NPP/2018_06_25_176_1851/GMTCO_npp_d20180625_t1851203-Latitude.bin -o /mnt/r6/Data/NPP/2018_06_25_176_1851/CVIIRSM03_npp_d20180625_t1854096_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/2018_06_25_176_1851/CVIIRSM_npp_d20180625_t1854096-CorrRefl_03.bin
 Output File:-o:Output Filename STR = /mnt/r6/Data/NPP/2018_06_25_176_1851/CVIIRSM03_npp_d20180625_t1854096_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 = 25
 Last Longitude:-l:Lower Right DBL = -93
 Last Latitude:-L:Lower Right DBL = 37
 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/2018_06_25_176_1851/GMTCO_npp_d20180625_t1851203-Longitude.bin
 Latitude File:-LF:latitude band file STR = /mnt/r6/Data/NPP/2018_06_25_176_1851/GMTCO_npp_d20180625_t1851203-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/2018_06_25_176_1851/CVIIRSM_npp_d20180625_t1854096-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 680
 2: width 3200
Using User Input for Mapping of Geofields to Datafields
Datafield 0
 height 680: 1,1,0 from input parameter
 width 3200: 2,1,0 from input parameter
Scene Bounds
 -71.226555x27.630407 -101.28674x23.091564
 -71.725281x32.037926 -103.03878x27.3081
requested llBounds
 -107 37 -93 25
Mapbounds
 -107 25 -93 37
newllbounds
 -107 25 -93 37
Swath Center Resolution 0.00790189x0.00671494 degrees or
                        0.00790189x0.00671494 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
 679x3199 679x2012
 310x3199 0x2345
dimbounds:
 0 2012 679 3199
Binning from 0x2012 to 679x3199
Mapping Pixel coordinates
 Line 0,3200: -101.287x23.0916
 Line 100,3200: -101.536x23.7395
 Line 200,3200: -101.765x24.2581
 Line 300,3200: -102.03x24.9021
 Line 400,3200: -102.292x25.5471
 Line 500,3200: -102.556x26.192
 Line 600,3200: -102.785x26.7096
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]:-4915
Writing grid band 0 to /mnt/r6/Data/NPP/2018_06_25_176_1851/CVIIRSM03_npp_d20180625_t1854096_reg.bin
 Now Free Stuff
Swath deconstructor
+ /mnt/r6/Software/IDL_WORKDIR/NPPProcessing/scripts/projectigmsetlnx -I /mnt/r6/Software/IDL_WORKDIR/NPPProcessing/scripts/projectigm.svi.params -f -107 -F 25 -l -93 -L 37 -b /mnt/r6/Data/NPP/2018_06_25_176_1851/CVIIRSI_npp_d20180625_t1854096-CorrRefl_08.bin -lf /mnt/r6/Data/NPP/2018_06_25_176_1851/GITCO_npp_d20180625_t1854096-Longitude.bin -LF /mnt/r6/Data/NPP/2018_06_25_176_1851/GITCO_npp_d20180625_t1854096-Latitude.bin -o /mnt/r6/Data/NPP/2018_06_25_176_1851/CVIIRSI01_npp_d20180625_t1854096_reg.bin
Read params from Input file /mnt/r6/Software/IDL_WORKDIR/NPPProcessing/scripts/projectigm.svi.params
Input parameters:
 BSQ File:-b:Input Filename STR = /mnt/r6/Data/NPP/2018_06_25_176_1851/CVIIRSI_npp_d20180625_t1854096-CorrRefl_08.bin
 Output File:-o:Output Filename STR = /mnt/r6/Data/NPP/2018_06_25_176_1851/CVIIRSI01_npp_d20180625_t1854096_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 = 25
 Last Longitude:-l:Lower Right DBL = -93
 Last Latitude:-L:Lower Right DBL = 37
 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/r6/Data/NPP/2018_06_25_176_1851/GITCO_npp_d20180625_t1854096-Longitude.bin
 Latitude File:-LF:latitude band file STR = /mnt/r6/Data/NPP/2018_06_25_176_1851/GITCO_npp_d20180625_t1854096-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 = 17
 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/2018_06_25_176_1851/CVIIRSI_npp_d20180625_t1854096-CorrRefl_08.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: CVIIRSI_CorrRefl_08 
Selected BSQ Bands:
 0
 Unable to read byte order default is INTEL 0
Geofield Dimensions:
 1: height 1360
 2: width 6400
Using User Input for Mapping of Geofields to Datafields
Datafield 0
 height 1360: 1,1,0 from input parameter
 width 6400: 2,1,0 from input parameter
Scene Bounds
 -71.222183x27.626905 -101.28976x23.086956
 -71.720917x32.041756 -103.04388x27.310543
requested llBounds
 -107 37 -93 25
Mapbounds
 -107 25 -93 37
newllbounds
 -107 25 -93 37
Swath Center Resolution 0.00395094x0.00335448 degrees or
                        0.00395094x0.00335448 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
 1359x6399 1359x4026
 618x6399 0x4690
dimbounds:
 0 4026 1359 6399
Binning from 0x4026 to 1359x6399
Mapping Pixel coordinates
 Line 0,6400: -101.29x23.087
 Line 100,6400: -101.414x23.4113
 Line 200,6400: -101.538x23.735
 Line 300,6400: -101.67x24.0577
 Line 400,6400: -101.767x24.2535
 Line 500,6400: -101.899x24.5753
 Line 600,6400: -102.032x24.8976
 Line 700,6400: -102.168x25.2184
 Line 800,6400: -102.294x25.5426
 Line 900,6400: -102.435x25.8623
 Line 1000,6400: -102.559x26.1873
 Line 1100,6400: -102.7x26.5067
 Line 1200,6400: -102.789x26.7048
 Line 1300,6400: -102.933x27.0244
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]:-4915
Writing grid band 0 to /mnt/r6/Data/NPP/2018_06_25_176_1851/CVIIRSI01_npp_d20180625_t1854096_reg.bin
 Now Free Stuff
Swath deconstructor
+ cat /mnt/r6/Data/NPP/2018_06_25_176_1851/CVIIRSM01_npp_d20180625_t1854096_reg.bin /mnt/r6/Data/NPP/2018_06_25_176_1851/CVIIRSM04_npp_d20180625_t1854096_reg.bin /mnt/r6/Data/NPP/2018_06_25_176_1851/CVIIRSM03_npp_d20180625_t1854096_reg.bin
+ sed -n '/ESRI/,/band names/p' /mnt/r6/Data/NPP/2018_06_25_176_1851/CVIIRSM01_npp_d20180625_t1854096_reg.bin.hdr
+ sed 's,bands = 1,bands = 3,'
++ basename /mnt/r6/Data/NPP/2018_06_25_176_1851/CVIIRSM01_npp_d20180625_t1854096_reg.bin .bin
+ echo CVIIRSM01_npp_d20180625_t1854096_reg,
++ basename /mnt/r6/Data/NPP/2018_06_25_176_1851/CVIIRSM04_npp_d20180625_t1854096_reg.bin .bin
+ echo CVIIRSM04_npp_d20180625_t1854096_reg,
++ basename /mnt/r6/Data/NPP/2018_06_25_176_1851/CVIIRSM03_npp_d20180625_t1854096_reg.bin .bin
+ echo 'CVIIRSM03_npp_d20180625_t1854096_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/r6/Software/IDL_WORKDIR/NPPProcessing/scripts/bandsharpenlnx -h /mnt/r6/Data/NPP/2018_06_25_176_1851/CVIIRSI01_npp_d20180625_t1854096_reg.bin -l /mnt/r6/Data/NPP/2018_06_25_176_1851/CVIIRSM010403_npp_d20180625_t1854096_reg.bsq -o /mnt/r6/Data/NPP/2018_06_25_176_1851/CVIIRSM010403_npp_d20180625_t1854096_sharp.bsq