++ basename /mnt/r4/Software/IDL_WORKDIR/NPPProcessing/scripts/projectSDRdnb.sh + FUNC=projectSDRdnb.sh ++ dirname /mnt/r4/Software/IDL_WORKDIR/NPPProcessing/scripts/projectSDRdnb.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.svd.params + '[' 5 -lt 1 ']' + lon1=-107 + shift + lat1=25 + shift + lon2=-93 + shift + lat2=37 + shift + for binFile in '$@' ++ dirname SVDNB_npp_d20130425_t0857209_radiance.bin + dataDir=. ++ fullpath . + dataDir=/mnt/r5/Data/NPP/2013_04_25_115_0850 ++ cut -d_ -f1 ++ echo SVDNB_npp_d20130425_t0857209_radiance.bin + prefix=SVDNB ++ cut -c1-3 ++ echo SVDNB + pre=SVD ++ cut -d_ -f2-4 ++ echo SVDNB_npp_d20130425_t0857209_radiance.bin + satDateTime=npp_d20130425_t0857209 ++ ls /mnt/r5/Data/NPP/2013_04_25_115_0850/GDNBOnpp_d20130425_t0857209_lon.bin + lonMFile=/mnt/r5/Data/NPP/2013_04_25_115_0850/GDNBOnpp_d20130425_t0857209_lon.bin ++ ls /mnt/r5/Data/NPP/2013_04_25_115_0850/GDNBOnpp_d20130425_t0857209_lat.bin + latMFile=/mnt/r5/Data/NPP/2013_04_25_115_0850/GDNBOnpp_d20130425_t0857209_lat.bin ++ tail ++ ls /mnt/r5/Data/NPP/2013_04_25_115_0850/SVDNB_npp_d20130425_t0857209_radiance.bin + svdFile=/mnt/r5/Data/NPP/2013_04_25_115_0850/SVDNB_npp_d20130425_t0857209_radiance.bin + outDnb=/mnt/r5/Data/NPP/2013_04_25_115_0850/SVDNB_npp_d20130425_t0857209_reg.bsq + /mnt/r4/Software/IDL_WORKDIR/NPPProcessing/scripts/projectigmsetlnx -I /mnt/r4/Software/IDL_WORKDIR/NPPProcessing/scripts/projectigm.svd.params -f -107 -F 25 -l -93 -L 37 -b /mnt/r5/Data/NPP/2013_04_25_115_0850/SVDNB_npp_d20130425_t0857209_radiance.bin -lf /mnt/r5/Data/NPP/2013_04_25_115_0850/GDNBOnpp_d20130425_t0857209_lon.bin -LF /mnt/r5/Data/NPP/2013_04_25_115_0850/GDNBOnpp_d20130425_t0857209_lat.bin -o /mnt/r5/Data/NPP/2013_04_25_115_0850/SVDNB_npp_d20130425_t0857209_reg.bsq Read params from Input file /mnt/r4/Software/IDL_WORKDIR/NPPProcessing/scripts/projectigm.svd.params Input parameters: BSQ File:-b:Input Filename STR = /mnt/r5/Data/NPP/2013_04_25_115_0850/SVDNB_npp_d20130425_t0857209_radiance.bin Output File:-o:Output Filename STR = /mnt/r5/Data/NPP/2013_04_25_115_0850/SVDNB_npp_d20130425_t0857209_reg.bsq 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/r5/Data/NPP/2013_04_25_115_0850/GDNBOnpp_d20130425_t0857209_lon.bin Latitude File:-LF:latitude band file STR = /mnt/r5/Data/NPP/2013_04_25_115_0850/GDNBOnpp_d20130425_t0857209_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/2013_04_25_115_0850/SVDNB_npp_d20130425_t0857209_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: SVDNBradiance Selected BSQ Bands: 0 Unable to read byte order default is INTEL 0 Geofield Dimensions: 1: height 1995 2: width 4064 Using User Input for Mapping of Geofields to Datafields Datafield 0 height 1995: 1,1,0 from input parameter width 4064: 2,1,0 from input parameter Scene Bounds -124.34398x41.258717 -89.429657x35.906643 -125.48564x28.487131 -95.162247x23.817215 requested llBounds -107 37 -93 25 Mapbounds -107 25 -93 37 newllbounds -107 25 -93 37 Swath Center Resolution 0.00798754x0.00666918 degrees or 0.00798754x0.00666918 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 446x2042 0x3613 1994x2465 1720x4063 dimbounds: 0 2042 1994 4063 Binning from 0x2042 to 1994x4063 Mapping Pixel coordinates Line 0,3614: -92.9936x36.9965 Line 100,3653: -92.9989x36.2956 Line 200,3694: -92.9922x35.5922 Line 300,3733: -92.9945x34.8979 Line 400,3772: -92.9942x34.1972 Line 500,3811: -92.9956x33.4993 Line 600,3849: -92.9965x32.8033 Line 700,3889: -92.9928x32.11 Line 800,3927: -92.9968x31.4165 Line 900,3966: -92.9923x30.7204 Line 1000,4003: -92.9981x30.0297 Line 1100,4042: -92.9957x29.342 Line 1200,4064: -93.1106x28.6845 Line 1300,4064: -93.3821x28.073 Line 1400,4064: -93.6526x27.4615 Line 1500,4064: -93.9181x26.8564 Line 1600,4064: -94.1793x26.2428 Line 1700,4064: -94.4331x25.6273 Line 1800,4064: -94.6833x25.0112 Line 1900,4064: -94.9368x24.4025 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]:-26198 Writing grid band 0 to /mnt/r5/Data/NPP/2013_04_25_115_0850/SVDNB_npp_d20130425_t0857209_reg.bsq Now Free Stuff Swath deconstructor