++ basename /mnt/r6/Software/IDL_WORKDIR/NPPProcessing/scripts/projectSDRdnb.sh + FUNC=projectSDRdnb.sh ++ dirname /mnt/r6/Software/IDL_WORKDIR/NPPProcessing/scripts/projectSDRdnb.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.svd.params + '[' 5 -lt 1 ']' + lon1=-107 + shift + lat1=25 + shift + lon2=-93 + shift + lat2=37 + shift + for binFile in '$@' ++ dirname SVDNB_npp_d20141013_t0816036_radiance.bin + dataDir=. ++ fullpath . + dataDir=/mnt/r6/Data/NPP/2014_10_13_286_0808 ++ echo SVDNB_npp_d20141013_t0816036_radiance.bin ++ cut -d_ -f1 + prefix=SVDNB ++ echo SVDNB ++ cut -c1-3 + pre=SVD ++ echo SVDNB_npp_d20141013_t0816036_radiance.bin ++ cut -d_ -f2-4 + satDateTime=npp_d20141013_t0816036 ++ ls /mnt/r6/Data/NPP/2014_10_13_286_0808/GDNBOnpp_d20141013_t0816036_lon.bin + lonMFile=/mnt/r6/Data/NPP/2014_10_13_286_0808/GDNBOnpp_d20141013_t0816036_lon.bin ++ ls /mnt/r6/Data/NPP/2014_10_13_286_0808/GDNBOnpp_d20141013_t0816036_lat.bin + latMFile=/mnt/r6/Data/NPP/2014_10_13_286_0808/GDNBOnpp_d20141013_t0816036_lat.bin ++ tail ++ ls /mnt/r6/Data/NPP/2014_10_13_286_0808/SVDNB_npp_d20141013_t0816036_radiance.bin + svdFile=/mnt/r6/Data/NPP/2014_10_13_286_0808/SVDNB_npp_d20141013_t0816036_radiance.bin + outDnb=/mnt/r6/Data/NPP/2014_10_13_286_0808/SVDNB_npp_d20141013_t0816036_reg.bsq + /mnt/r6/Software/IDL_WORKDIR/NPPProcessing/scripts/projectigmsetlnx -I /mnt/r6/Software/IDL_WORKDIR/NPPProcessing/scripts/projectigm.svd.params -f -107 -F 25 -l -93 -L 37 -b /mnt/r6/Data/NPP/2014_10_13_286_0808/SVDNB_npp_d20141013_t0816036_radiance.bin -lf /mnt/r6/Data/NPP/2014_10_13_286_0808/GDNBOnpp_d20141013_t0816036_lon.bin -LF /mnt/r6/Data/NPP/2014_10_13_286_0808/GDNBOnpp_d20141013_t0816036_lat.bin -o /mnt/r6/Data/NPP/2014_10_13_286_0808/SVDNB_npp_d20141013_t0816036_reg.bsq Read params from Input file /mnt/r6/Software/IDL_WORKDIR/NPPProcessing/scripts/projectigm.svd.params Input parameters: BSQ File:-b:Input Filename STR = /mnt/r6/Data/NPP/2014_10_13_286_0808/SVDNB_npp_d20141013_t0816036_radiance.bin Output File:-o:Output Filename STR = /mnt/r6/Data/NPP/2014_10_13_286_0808/SVDNB_npp_d20141013_t0816036_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/r6/Data/NPP/2014_10_13_286_0808/GDNBOnpp_d20141013_t0816036_lon.bin Latitude File:-LF:latitude band file STR = /mnt/r6/Data/NPP/2014_10_13_286_0808/GDNBOnpp_d20141013_t0816036_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/r6/Data/NPP/2014_10_13_286_0808/SVDNB_npp_d20141013_t0816036_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 4513 2: width 4064 Using User Input for Mapping of Geofields to Datafields Datafield 0 height 4513: 1,1,0 from input parameter width 4064: 2,1,0 from input parameter Scene Bounds -111.76463x38.588097 -78.047081x33.413631 -113.12586x25.445721 -83.518898x20.881304 requested llBounds -107 37 -93 25 Mapbounds -107 25 -93 37 newllbounds -107 25 -93 37 Swath Center Resolution 0.00789945x0.00667082 degrees or 0.00789945x0.00667082 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 54x550 0x2186 2820x806 2526x2648 dimbounds: 0 550 2820 2648 Binning from 0x550 to 2820x2648 Mapping Pixel coordinates Line 0,2186: -92.9994x36.9948 Line 100,2412: -92.9951x31.0724 Line 200,2438: -92.9989x30.3919 Line 300,2465: -92.995x29.7079 Line 400,2491: -92.9994x29.0261 Line 500,2517: -92.9999x28.343 Line 600,2545: -92.9949x27.6613 Line 700,2571: -92.998x26.9795 Line 800,2597: -92.9977x26.2968 Line 900,2420: -92.9973x30.8543 Line 1000,2447: -92.993x30.1726 Line 1100,2473: -92.9995x29.4904 Line 1200,2500: -92.995x28.8068 Line 1300,2526: -92.9952x28.1237 Line 1400,2553: -92.9991x27.4439 Line 1500,2580: -92.9939x26.7605 Line 1600,2203: -92.9941x36.5576 Line 1700,2228: -92.9998x35.8761 Line 1800,2255: -92.9965x35.1949 Line 1900,2281: -92.9943x34.5119 Line 2000,2307: -92.9942x33.8291 Line 2100,2333: -92.9935x33.1462 Line 2200,2359: -92.997x32.4664 Line 2300,2385: -92.9947x31.7826 Line 2400,2614: -92.9983x25.8605 Line 2500,2641: -92.9946x25.1772 Line 2600,2668: -92.9934x24.4959 Line 2700,2694: -92.9992x23.8154 Line 2800,2720: -92.9991x23.1333 Line 2900,2624: -92.9978x25.6007 Line 3000,2651: -92.9976x24.9199 Line 3100,2678: -92.9936x24.2368 Line 3200,2704: -92.9968x23.5552 Line 3300,2405: -92.9969x31.2646 Line 3400,2431: -92.9959x30.5818 Line 3500,2457: -92.996x29.899 Line 3600,2484: -92.994x29.2159 Line 3700,2511: -92.9946x28.5352 Line 3800,2537: -92.9959x27.8522 Line 3900,2564: -92.9939x27.1694 Line 4000,2590: -92.9938x26.4863 Line 4100,2617: -92.9962x25.8059 Line 4200,2643: -92.9984x25.1243 Line 4300,2669: -92.9984x24.4421 Line 4400,2696: -92.9968x23.7596 Line 4500,2723: -92.995x23.0798 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]:2685 Writing grid band 0 to /mnt/r6/Data/NPP/2014_10_13_286_0808/SVDNB_npp_d20141013_t0816036_reg.bsq Now Free Stuff Swath deconstructor