++ 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_d20130426_t0838252_radiance.bin + dataDir=. ++ fullpath . + dataDir=/mnt/r5/Data/NPP/2013_04_26_116_0833 ++ echo SVDNB_npp_d20130426_t0838252_radiance.bin ++ cut -d_ -f1 + prefix=SVDNB ++ echo SVDNB ++ cut -c1-3 + pre=SVD ++ echo SVDNB_npp_d20130426_t0838252_radiance.bin ++ cut -d_ -f2-4 + satDateTime=npp_d20130426_t0838252 ++ ls /mnt/r5/Data/NPP/2013_04_26_116_0833/GDNBOnpp_d20130426_t0838252_lon.bin + lonMFile=/mnt/r5/Data/NPP/2013_04_26_116_0833/GDNBOnpp_d20130426_t0838252_lon.bin ++ ls /mnt/r5/Data/NPP/2013_04_26_116_0833/GDNBOnpp_d20130426_t0838252_lat.bin + latMFile=/mnt/r5/Data/NPP/2013_04_26_116_0833/GDNBOnpp_d20130426_t0838252_lat.bin ++ tail ++ ls /mnt/r5/Data/NPP/2013_04_26_116_0833/SVDNB_npp_d20130426_t0838252_radiance.bin + svdFile=/mnt/r5/Data/NPP/2013_04_26_116_0833/SVDNB_npp_d20130426_t0838252_radiance.bin + outDnb=/mnt/r5/Data/NPP/2013_04_26_116_0833/SVDNB_npp_d20130426_t0838252_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_26_116_0833/SVDNB_npp_d20130426_t0838252_radiance.bin -lf /mnt/r5/Data/NPP/2013_04_26_116_0833/GDNBOnpp_d20130426_t0838252_lon.bin -LF /mnt/r5/Data/NPP/2013_04_26_116_0833/GDNBOnpp_d20130426_t0838252_lat.bin -o /mnt/r5/Data/NPP/2013_04_26_116_0833/SVDNB_npp_d20130426_t0838252_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_26_116_0833/SVDNB_npp_d20130426_t0838252_radiance.bin Output File:-o:Output Filename STR = /mnt/r5/Data/NPP/2013_04_26_116_0833/SVDNB_npp_d20130426_t0838252_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_26_116_0833/GDNBOnpp_d20130426_t0838252_lon.bin Latitude File:-LF:latitude band file STR = /mnt/r5/Data/NPP/2013_04_26_116_0833/GDNBOnpp_d20130426_t0838252_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_26_116_0833/SVDNB_npp_d20130426_t0838252_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 1881 2: width 4064 Using User Input for Mapping of Geofields to Datafields Datafield 0 height 1881: 1,1,0 from input parameter width 4064: 2,1,0 from input parameter Scene Bounds -119.65303x40.104313 -85.276009x34.831734 -120.64986x27.994144 -90.426376x23.374151 requested llBounds -107 37 -93 25 Mapbounds -107 25 -93 37 newllbounds -107 25 -93 37 Swath Center Resolution 0.00791584x0.00666707 degrees or 0.00791584x0.00666707 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 363x1494 0x3092 1880x1820 1739x3665 dimbounds: 0 1494 1880 3665 Binning from 0x1494 to 1880x3665 Mapping Pixel coordinates Line 0,3093: -92.9925x36.9905 Line 100,3127: -92.9986x36.297 Line 200,3162: -92.9978x35.6028 Line 300,3197: -92.9977x34.9124 Line 400,3232: -92.994x34.2177 Line 500,3266: -92.9931x33.5241 Line 600,3300: -92.9955x32.833 Line 700,3334: -92.9999x32.1444 Line 800,3368: -92.9953x31.4519 Line 900,3401: -92.9977x30.7616 Line 1000,3434: -92.996x30.0703 Line 1100,3468: -92.9955x29.3849 Line 1200,3501: -92.9957x28.6965 Line 1300,3534: -92.9969x28.0079 Line 1400,3567: -92.9949x27.3207 Line 1500,3600: -92.997x26.6379 Line 1600,3633: -92.9949x25.9509 Line 1700,3664: -92.996x25.2642 Line 1800,3679: -92.9953x24.5792 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]:19694 Writing grid band 0 to /mnt/r5/Data/NPP/2013_04_26_116_0833/SVDNB_npp_d20130426_t0838252_reg.bsq Now Free Stuff Swath deconstructor