***** Running polar regions subsetting at Fri Jan 14 02:17:42 CST 2011 ***** Working on year and julian day (yyddd): 11013 (2011 Jan 13) command line args: ephemfile: /Users/jkey/nav/ephemeris northlimit: 60.000000 southlimit: -60.000000 data is type: G sds-type is: H region is: O SDS GAC data selected. year: 2011 day: 13 miilsecs: 2929578 before md doy: 13 year: 2011 **julianday: 10970 year: 2011 day: 13 miilsecs: 2929578 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 year: 2011 day: 13 miilsecs: 2930078 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 year: 2011 day: 13 miilsecs: 2930578 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 taos: 2929578 satid: 16 julian day: 10970 nlines: 13630 GOING INTO initorb4 satnum: 16 navsatid: 26536 calling readephem taos: 10970.033907 opening ephemeris after opening ephemeris size: 76 *******ephemeris elements ************ satid: 26536 orbit: 65195 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 ecc: 0.001062 argper: 0.364140 ascnode: 0.799605 inclin: 0.275446 ephoc: 110105000000 **************************** ******ephemnot structure follows*******: satid: 26536 orbit: 65195 size: 76 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 eccen: 0.001062 argper: 0.364140 ascenode: 0.799605 inclin: 0.275446 earadius: 6378137.000000 oblat: 0.001083 ***************************************************************** YEAR HERE: 11 *********epheminit structure follows******* timnot: 10962.000000 smajaxis: 1.132905 decay: -0.000000 eccen: 0.001062 inclin: 1.730681 argper: 2.287962 perrate: -0.000551 longan: 5.024068 nodrate: 0.000201 ,meananom: 1.717550 meanmot: 0.828813 meanmotrate: 0.000000 grav constant: 398598005011040.375000 ***************************************************************** ******** current elements follow******** taos: 10970.033907 time: 10970.033907 smajaxis: 7225817.166688 eccentricity: 0.001062 inclin: 1.730681 argper: 1.894841 longan: -1.467141 meananom: 714.774302 trueanom: 714.772182 altitude: 7225350.062212 ********************************************** ******** current elements follow******** taos: 10970.033907 time: 10970.033907 smajaxis: 7225817.166688 eccentricity: 0.001062 inclin: 1.730681 argper: 1.894841 longan: -1.467141 meananom: 714.774302 trueanom: 714.772182 altitude: 7225350.062212 ********************************************** SPECIFIC DATA: bytesperline: 4608 scanspersec: 2.000000 line : 0 10970.033907 21.833652 -87.721307 7227557.699103 line : 100 10970.034486 24.744472 -88.483752 7226665.797922 line : 200 10970.035065 27.651964 -89.272481 7225775.158047 line : 300 10970.035643 30.555588 -90.092588 7224889.089135 line : 400 10970.036222 33.454753 -90.950056 7224010.960202 line : 500 10970.036801 36.348788 -91.852010 7223144.179902 line : 600 10970.037379 39.236924 -92.807041 7222292.176054 line : 700 10970.037958 42.118251 -93.825648 7221458.374578 line : 800 10970.038537 44.991672 -94.920834 7220646.178020 line : 900 10970.039115 47.855831 -96.108935 7219858.943869 line : 1000 10970.039694 50.709016 -97.410783 7219099.962836 line : 1100 10970.040273 53.549010 -98.853375 7218372.437311 line : 1200 10970.040852 56.372881 -100.472319 7217679.460173 line : 1300 10970.041430 59.176651 -102.315480 7217023.994166 Opening data.NORTH1 and writing header line: 1330 line : 1400 10970.042009 61.954786 -104.448553 7216408.852003 line : 1500 10970.042588 64.699376 -106.963764 7215836.677403 line : 1600 10970.043166 67.398769 -109.993706 7215309.927231 line : 1700 10970.043745 70.035220 -113.733632 7214830.854890 line : 1800 10970.044324 72.580750 -118.477042 7214401.495143 line : 1900 10970.044903 74.989658 -124.668991 7214023.650487 line : 2000 10970.045481 77.185279 -132.967561 7213698.879214 line : 2100 10970.046060 79.039243 -144.233408 7213428.485264 line : 2200 10970.046639 80.352968 -159.157827 7213213.509970 line : 2300 10970.047217 80.889922 -177.138996 7213054.725762 line : 2400 10970.047796 80.517252 164.562635 7212952.631894 line : 2500 10970.048375 79.329686 148.963708 7212907.452221 line : 2600 10970.048953 77.558129 137.053823 7212919.135055 line : 2700 10970.049532 75.413447 128.274223 7212987.355084 line : 2800 10970.050111 73.036137 121.748853 7213111.517342 line : 2900 10970.050690 70.510668 116.776262 7213290.763176 line : 3000 10970.051268 67.887260 112.876259 7213523.978154 line : 3100 10970.051847 65.196477 109.731841 7213809.801832 line : 3200 10970.052426 62.457576 107.132732 7214146.639282 line : 3300 10970.053004 59.683124 104.936736 7214532.674253 line : 3400 10970.053583 56.881605 103.045393 7214965.883857 line : 3500 10970.054162 54.058922 101.388870 7215444.054607 line : 3600 10970.054740 51.219300 99.916492 7215964.799674 line : 3700 10970.055319 48.365845 98.590703 7216525.577176 line : 3800 10970.055898 45.500892 97.383122 7217123.709325 line : 3900 10970.056477 42.626241 96.271919 7217756.402262 line : 4000 10970.057055 39.743313 95.240025 7218420.766367 line : 4100 10970.057634 36.853256 94.273889 7219113.836862 line : 4200 10970.058213 33.957016 93.362597 7219832.594525 line : 4300 10970.058791 31.055397 92.497241 7220573.986295 line : 4400 10970.059370 28.149093 91.670450 7221334.945600 line : 4500 10970.059949 25.238719 90.876049 7222112.412224 line : 4600 10970.060528 22.324833 90.108792 7222903.351511 line : 4700 10970.061106 19.407947 89.364166 7223704.772770 line : 4800 10970.061685 16.488542 88.638233 7224513.746695 line : 4900 10970.062264 13.567075 87.927504 7225327.421670 line : 5000 10970.062842 10.643986 87.228842 7226143.038820 line : 5100 10970.063421 7.719701 86.539378 7226957.945690 line : 5200 10970.064000 4.794639 85.856440 7227769.608451 line : 5300 10970.064578 1.869213 85.177494 7228575.622547 line : 5400 10970.065157 -1.056170 84.500090 7229373.721719 line : 5500 10970.065736 -3.981104 83.821810 7230161.785348 line : 5600 10970.066315 -6.905183 83.140219 7230937.844094 line : 5700 10970.066893 -9.828000 82.452815 7231700.083819 line : 5800 10970.067472 -12.749145 81.756974 7232446.847794 line : 5900 10970.068051 -15.668202 81.049897 7233176.637217 line : 6000 10970.068629 -18.584746 80.328536 7233888.110087 line : 6100 10970.069208 -21.498336 79.589524 7234580.078494 line : 6200 10970.069787 -24.408514 78.829075 7235251.504390 line : 6300 10970.070365 -27.314793 78.042871 7235901.493953 line : 6400 10970.070944 -30.216650 77.225921 7236529.290626 line : 6500 10970.071523 -33.113509 76.372369 7237134.266969 line : 6600 10970.072102 -36.004723 75.475263 7237715.915439 line : 6700 10970.072680 -38.889551 74.526233 7238273.838248 line : 6800 10970.073259 -41.767122 73.515080 7238807.736445 line : 6900 10970.073838 -44.636386 72.429200 7239317.398372 line : 7000 10970.074416 -47.496049 71.252800 7239802.687662 line : 7100 10970.074995 -50.344482 69.965802 7240263.530933 line : 7200 10970.075574 -53.179581 68.542265 7240699.905353 line : 7300 10970.076153 -55.998565 66.948096 7241111.826230 line : 7400 10970.076731 -58.797676 65.137647 7241499.334797 Opening data.SOUTH1 and writing header line: 7444 line : 7500 10970.077310 -61.571705 63.048539 7241862.486344 line : 7600 10970.077889 -64.313232 60.593631 7242201.338855 line : 7700 10970.078467 -67.011383 57.648307 7242515.942287 line : 7800 10970.079046 -69.649694 54.030107 7242806.328642 line : 7900 10970.079625 -72.202366 49.466229 7243072.502938 line : 8000 10970.080203 -74.627536 43.544410 7243314.435213 line : 8100 10970.080782 -76.855312 35.653000 7243532.053653 line : 8200 10970.081361 -78.768452 24.971381 7243725.238934 line : 8300 10970.081940 -80.182019 10.749367 7243893.819858 line : 8400 10970.082518 -80.861721 -6.718323 7244037.570328 line : 8500 10970.083097 -80.646469 -25.058612 7244156.207724 line : 8600 10970.083676 -79.591672 -41.153625 7244249.392683 line : 8700 10970.084254 -77.915032 -53.643471 7244316.730315 line : 8800 10970.084833 -75.835375 -62.896317 7244357.772828 line : 8900 10970.085412 -73.504037 -69.766465 7244372.023552 line : 9000 10970.085990 -71.013051 -74.984105 7244358.942319 line : 9100 10970.086569 -68.417134 -79.059725 7244317.952127 line : 9200 10970.087148 -65.749452 -82.332479 7244248.447046 line : 9300 10970.087727 -63.030777 -85.027463 7244149.801252 line : 9400 10970.088305 -60.274584 -87.296626 7244021.379099 line : 9500 10970.088884 -57.489913 -89.244897 7243862.546120 line : 9600 10970.089463 -54.683014 -90.946475 7243672.680828 line : 9700 10970.090041 -51.858333 -92.455043 7243451.187181 line : 9800 10970.090620 -49.019115 -93.810271 7243197.507569 line : 9900 10970.091199 -46.167782 -95.042055 7242911.136170 line : 10000 10970.091778 -43.306190 -96.173334 7242591.632523 line : 10100 10970.092356 -40.435786 -97.221996 7242238.635146 line : 10200 10970.092935 -37.557733 -98.202212 7241851.875049 line : 10300 10970.093514 -34.672979 -99.125367 7241431.188959 line : 10400 10970.094092 -31.782323 -100.000732 7240976.532117 line : 10500 10970.094671 -28.886447 -100.835962 7240487.990457 line : 10600 10970.095250 -25.985952 -101.637455 7239965.792035 line : 10700 10970.095828 -23.081379 -102.410630 7239410.317540 line : 10800 10970.096407 -20.173220 -103.160139 7238822.109751 line : 10900 10970.096986 -17.261939 -103.890028 7238201.881806 line : 11000 10970.097565 -14.347972 -104.603869 7237550.524153 line : 11100 10970.098143 -11.431742 -105.304866 7236869.110079 line : 11200 10970.098722 -8.513656 -105.995934 7236158.899715 line : 11300 10970.099301 -5.594117 -106.679779 7235421.342431 line : 11400 10970.099879 -2.673522 -107.358953 7234658.077553 line : 11500 10970.100458 0.247736 -108.035914 7233870.933363 line : 11600 10970.101037 3.169263 -108.713076 7233061.924324 line : 11700 10970.101615 6.090665 -109.392857 7232233.246534 line : 11800 10970.102194 9.011542 -110.077730 7231387.271397 line : 11900 10970.102773 11.931494 -110.770273 7230526.537539 line : 12000 10970.103352 14.850110 -111.473228 7229653.741000 line : 12100 10970.103930 17.766969 -112.189565 7228771.723761 line : 12200 10970.104509 20.681636 -112.922553 7227883.460674 line : 12300 10970.105088 23.593657 -113.675854 7226992.044900 line : 12400 10970.105666 26.502548 -114.453626 7226100.671939 line : 12500 10970.106245 29.407790 -115.260667 7225212.622389 line : 12600 10970.106824 32.308815 -116.102583 7224331.243574 line : 12700 10970.107403 35.204985 -116.986013 7223459.930172 line : 12800 10970.107981 38.095574 -117.918922 7222602.104022 line : 12900 10970.108560 40.979732 -118.910994 7221761.193272 line : 13000 10970.109139 43.856445 -119.974157 7220940.611047 line : 13100 10970.109717 46.724467 -121.123313 7220143.733826 line : 13200 10970.110296 49.582243 -122.377350 7219373.879718 line : 13300 10970.110875 52.427775 -123.760585 7218634.286827 line : 13400 10970.111453 55.258447 -125.304865 7217928.091905 line : 13500 10970.112032 58.070742 -127.052670 7217258.309481 Opening data.NORTH2 and writing header line: 13570 line : 13600 10970.112611 60.859818 -129.061814 7216627.811667 could not read line 13627 writing header for file 0 goint into getcorrectsdsvals year: 2011 day: 13 miilsecs: 3596078 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 going into makeheader with taos: 10970.041621 satid: 16 nlines: 1959 IN MAKEHEADER going into first make1btime in make1btime taos: 10970.041621 millsec: 3596078 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 after first make1btime in make1btime taos: 10970.045400 millsec: 3922578 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 DONE WITH MAKEHEADER writing header for file 1 goint into getcorrectsdsvals year: 2011 day: 13 miilsecs: 9716078 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 going into makeheader with taos: 10970.112455 satid: 16 nlines: 57 IN MAKEHEADER going into first make1btime in make1btime taos: 10970.112455 millsec: 9716078 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 after first make1btime in make1btime taos: 10970.112565 millsec: 9725578 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 DONE WITH MAKEHEADER writing header for file 2 goint into getcorrectsdsvals year: 2011 day: 13 miilsecs: 6653078 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 going into makeheader with taos: 10970.077003 satid: 16 nlines: 1966 IN MAKEHEADER going into first make1btime in make1btime taos: 10970.077003 millsec: 6653078 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 after first make1btime in make1btime taos: 10970.080796 millsec: 6980745 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 DONE WITH MAKEHEADER ***** Running navigation/calibration at Fri Jan 14 02:17:42 CST 2011 ***** Working on year and julian day (yyddd): 11013 (2011 Jan 13) rm: tmp*: No such file or directory rm: COEFF*: No such file or directory no H option specified TBMFLAG: compval: 0 reading input header input header has been read satid from header : 2 XX satid: 16 getting time from firstline getting time in gettime in: 7 db 0 d 0 6b 0 36 df 2e year: 2011 day: 13 ymd year: 2011 ymd yeardif: 30 after getheader done with 1959 lines header count: 0 actual: 1959 header will be rewritten output header follows: satid: 16 orbnum: 0 nlines: 1959 julday: 10970 taos: 3596078 NEW PROCESSGENERICGAC year: 2011 input file is : tmp output file is : tmp.p new processraw opening raw file: tmp opening archive file and writing header to tmp.p header written to newdataset dumsat: 3 satid from first line is: 16 year before julianday call: 2011 firstline curday: 13 julian: 10970 time: 3596078 linein: 0 curtime: 3596578 lasttime: 3596078 lastgood: 3596078 timdif: 500 linein: 100 curtime: 3646578 lasttime: 3646078 lastgood: 3646078 timdif: 500 linein: 200 curtime: 3696578 lasttime: 3696078 lastgood: 3696078 timdif: 500 linein: 300 curtime: 3746578 lasttime: 3746078 lastgood: 3746078 timdif: 500 linein: 400 curtime: 3796578 lasttime: 3796078 lastgood: 3796078 timdif: 500 linein: 500 curtime: 3846578 lasttime: 3846078 lastgood: 3846078 timdif: 500 linein: 600 curtime: 3896578 lasttime: 3896078 lastgood: 3896078 timdif: 500 linein: 700 curtime: 3946578 lasttime: 3946078 lastgood: 3946078 timdif: 500 linein: 800 curtime: 3996578 lasttime: 3996078 lastgood: 3996078 timdif: 500 linein: 900 curtime: 4046578 lasttime: 4046078 lastgood: 4046078 timdif: 500 linein: 1000 curtime: 4096578 lasttime: 4096078 lastgood: 4096078 timdif: 500 linein: 1100 curtime: 4146578 lasttime: 4146078 lastgood: 4146078 timdif: 500 linein: 1200 curtime: 4196578 lasttime: 4196078 lastgood: 4196078 timdif: 500 linein: 1300 curtime: 4246578 lasttime: 4246078 lastgood: 4246078 timdif: 500 linein: 1400 curtime: 4296578 lasttime: 4296078 lastgood: 4296078 timdif: 500 linein: 1500 curtime: 4346578 lasttime: 4346078 lastgood: 4346078 timdif: 500 linein: 1600 curtime: 4396578 lasttime: 4396078 lastgood: 4396078 timdif: 500 linein: 1700 curtime: 4446578 lasttime: 4446078 lastgood: 4446078 timdif: 500 linein: 1800 curtime: 4496578 lasttime: 4496078 lastgood: 4496078 timdif: 500 linein: 1900 curtime: 4546578 lasttime: 4546078 lastgood: 4546078 timdif: 500 could not read line bytes read: 0 error reading line: 1958 archive corect to here will rewrite header correctly cleaning up archive file new header being written as: satid: 16 orbit number: 0 dum: 0 number of lines: 1959 julian day: 10970d time of first scan: 0.998911 processing GAC data satid: 16 orbit number: 0 dum: 0 number of lines: 1959 julian day: 10970d time of first scan: 0.998911 Seasonal correction for julian date 10970.041621 = 0.967294 flag is : S 11/01/13 00:00:00110113000000 year: 11 month: 1 day: 13 dayofyear: 13 file containing coefficients is COEFFS.16 calling openparm16 before sprintf parmfilename: /Users/jkey/nav/cal/calib16.dat i: 0 nu: 2226.179930 i: 1 nu: 782.472410 i: 2 nu: 714.285640 chan: 0 nuc: 2700.114800 A: 1.592459 B: 0.998147 chan: 1 nuc: 917.228900 A: 0.332380 B: 0.998522 chan: 2 nuc: 838.125500 A: 0.674623 B: 0.998363 i: 0 wave:0.000000 i: 1 wave:0.000000 i: 2 wave:2700.114800 i: 3 wave:917.228900 i: 4 wave:838.125500 before look for Z after look for Z about to leave openparm newflag is 1: 1 about to open: tmp.p headstuff: sat: 16 orb: 0 julianday: 10970 taos: 3596078 length of headstuff: 57 headstuff: sat: 16 orb: 0 julianday: 10970 taos: 3596078 0.000 0.000 2700.1148 917.2289 838.1255 length of headstuff: 106 ************** results of initial calibration ******** from header firstday is : 13 arcsize: 5626 in sequence numlines: 1 day: 13 val: 391 arcsize: 5626 in sequence numlines: 2 day: 13 val: 0 realline before: 2 spaceref: 0.000000 targtemp: 296.537700 space rad: 0.000000 -4.500000 -3.610000 average space counts: 990.520000 991.300000 994.440000 average internal counts: 794.600000 397.860000 382.360000 satid: 16 launch_indx: -1 chan: 3 radspace: 0.000000 radtarget: 0.501700 spacebar:990.520000 internalbar: 794.600000 chan: 3 radspace: 0.000000 radtarget: 0.501700 spacebar:990.520000 internalbar: 794.600000 gain: -0.002561 offset: 2.536465 chan: 4 radspace: -4.500000 radtarget: 108.396380 spacebar:991.300000 internalbar: 397.860000 chan: 4 radspace: -4.500000 radtarget: 108.396380 spacebar:991.300000 internalbar: 397.860000 gain: -0.190241 offset: 184.085495 chan: 5 radspace: -3.610000 radtarget: 122.586713 spacebar:994.440000 internalbar: 382.360000 chan: 5 radspace: -3.610000 radtarget: 122.586713 spacebar:994.440000 internalbar: 382.360000 gain: -0.206177 offset: 201.420486 gain after: 0.054942 gain after: 0.054942 gain and offset up to scan line 52 : 0.054942 -2.115858 0.057651 -2.330791 -0.002561 2.536465 -0.190241 184.085495 -0.206177 201.420486 ************************************************************ trouble reading line in main DONE WITH CALIBRATION there were 1959 lines done THIS IS ACTUALLY rawcal15_new AS IT SHOULD BE CALIBRATION FILE: COEFFS.16 RADFLAG: 1 calib_dir: /Users/jkey/nav/cal name of caldatfile is: /Users/jkey/nav/cal/calibnew16.dat have found CENTRAL WAVE in string CENTRAL WAVE NUMBER TABLE 190.000000 230.000000 2638.652000 928.260300 834.449600 230.000000 270.000000 2642.807000 928.828400 834.806600 270.000000 310.000000 2645.899000 929.332300 835.164700 have found SPLIT CAL in string SPLIT CAL TABLE SPLIT GAINS and OFFSETS CHAN 1 count 0-490 gain: 0.052300 offset: -2.016000 CHAN 1 count 491-1023 gain: 0.152800 offset: -51.910000 CHAN 2 count 0-500 gain: 0.051300 offset: -1.943000 CHAN 2 count 501-1023 gain: 0.151000 offset: -51.770000 CHAN 3 count 0-499 gain: 0.028700 offset: -2.043000 CHAN 3 count 500-1023 gain: 0.180600 offset: -78.030000 WE ARE GOING NON LINEAR name of caldatfile is: /Users/jkey/nav/cal/calibnew16.dat have found NON LINEAR in string ABOUT TO READ NON LINEAR MATRIX have READ NON LINEAR MATRIX DONE WITH NON LINEAR STUFF have found NEW COEFFS in string ABOUT TO READ NEW COEFFS i: 0 NUC: 2700.114800 Anew: 1.592459 Bnew: 0.998147 NS: 0.000000 B0: 0.000000 B1: 0.000000 B2: 0.000000 i: 1 NUC: 917.228900 Anew: 0.332380 Bnew: 0.998522 NS: -2.467000 B0: 2.960000 B1: -0.054110 B2: 0.000245 i: 2 NUC: 838.125500 Anew: 0.674623 Bnew: 0.998363 NS: -2.009000 B0: 2.225000 B1: -0.036650 B2: 0.000149 DONE WITH NEW COEFFS calhead: sat: 16 orb: 0 julianday: 10970 taos: 3596078 0.000 0.000 2700.1148 917.2289 838.1255 /Users/jkey/nav/cal/calibnew16.dat calhead: 0.000 0.000 2700.1148 917.2289 838.1255 /Users/jkey/nav/cal/calibnew16.dat wavecent: 0.000000 0.000000 2700.114800 917.228900 838.125500 INVWAVE: 0.000000 size of cal file is: 207866 have read in cal array number of lines 1959 doing raw line: 0 doing raw line: 500 doing raw line: 1000 doing raw line: 1500 TIME calculation WAS REQUESTED SZA calculation WAS REQUESTED LINE and SAMPLE DATA WAS REQUESTED OSCULATING CORRECTIONS WILL BE APPLIED dashv: temp: strlen: 0 dashH: n strlen: 1 AFTER GET OPTIONS GAC DATA OPTION HAS BEEN CHOOSEN AFTER INIT input file has been opened, fp: 1883758400 after openarc fp: 1883758400 sid: 16d orbnum: 0d numscan: 1959d milday: 3596078d *** data header *** satid: 16 orbit number: 0 number of lines: 1959 julian day: 10970 time of first scan: 0.998911 ******************** AFTER INITDATA julday: 10970 taos: 3596078 TIME OF FIRST SCAN : 11/01/13 00:59:56 looking for ephemeris data for taos: 10970.041621 opening ephemeris after opening ephemeris size: 76 *******ephemeris elements ************ satid: 26536 orbit: 65195 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 ecc: 0.001062 argper: 0.364140 ascnode: 0.799605 inclin: 0.275446 ephoc: 110105000000 **************************** ******ephemnot structure follows*******: satid: 26536 orbit: 65195 size: 76 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 eccen: 0.001062 argper: 0.364140 ascenode: 0.799605 inclin: 0.275446 earadius: 6378137.000000 oblat: 0.001083 ***************************************************************** *********epheminit structure follows******* timnot: 10962.000000 smajaxis: 1.132905 decay: -0.000000 eccen: 0.001062 inclin: 1.730681 argper: 2.287962 perrate: -0.000551 longan: 5.024068 nodrate: 0.000201 ,meananom: 1.717550 meanmot: 0.828813 meanmotrate: 0.000000 grav constant: 398598005011040.375000 ***************************************************************** satlat1: 1.045991 satlat2: 1.071196 asnflag: 1 DATA IS ASCENDING **************** INITAILIZATION OVER ****************** dashr: 81.38011 RANGE0: 81.380110 IN SATGEO line: 0 spot: 204 time: 10970.041621 IN SATGEO line: 5 spot: 204 time: 10970.041650 RANGE: 81.380110 Pass is Ascending at start center lat: 90.000000 center lon: 0.000000 range: 81.380110 images will be processed using chunks of 361 lines getting space for 10 bit image image.proj: 8 fpsza: 7047dfd8 fpsaza: 7047e070 opening 135285923.NSS.GHRR.NL.D11013.S0048.E0242.B5314647.GC.N1.1 OPENING chan: 0 fp: 1883759312 opening 135285923.NSS.GHRR.NL.D11013.S0048.E0242.B5314647.GC.N1.2 OPENING chan: 1 fp: 1883759464 opening 135285923.NSS.GHRR.NL.D11013.S0048.E0242.B5314647.GC.N1.3 OPENING chan: 2 fp: 1883759616 opening 135285923.NSS.GHRR.NL.D11013.S0048.E0242.B5314647.GC.N1.4 OPENING chan: 3 fp: 1883759768 opening 135285923.NSS.GHRR.NL.D11013.S0048.E0242.B5314647.GC.N1.5 OPENING chan: 4 fp: 1883759920 getting space for time array getting space for sza array getting space for saza array getting space for satelv array getting space for sataz array ************************************* total bytes malloced is : 4217234 ************************************* ******** current elements follow******** taos: 10970.041621 time: 10970.041621 smajaxis: 7225817.162517 eccentricity: 0.001062 inclin: 1.730734 argper: 1.894463 longan: -1.515691 meananom: 5.459037 trueanom: 5.457476 altitude: 7220595.660967 ********************************************** satpos: -813776.373298 -3529496.823220 6242023.647903 satvel: -927.228397 6477.733826 3527.495377 satlat: 59.874438 satlon: -102.983475 COMMAND>DASHD: n INTERPOLATION CHOOSEN , every 8 x pixel and every 8 ypixel going through pixels **** before templat: 29.712678 centtodet: 29.878633 CORNERS OF WHOLE IMAGE FOLLOW North West Corner lat: 29.878633 lon: 225.000000 North East Corner lat: 30.063244 lon: 135.159155 South East Corner lat: 30.248190 lon: 45.000000 South West Corner lat: 30.063244 lon: -45.159155 interpolation choosen every 8 i pixels and every 8 j pixels image will be processed in 1 chunks of 361 image lines segment 0 startj: 0 stopj: 361 starti: 0 stopi: 360 numj: 361 north west----- lat: 29.712678 lon: 225.000000 line: -999 spot: -999 north east----- lat: 29.896666 lon: 135.159155 line: -999 spot: -999 south east-----lat: 29.896666 lon: 44.840845 line: -999 spot: -999 south west-----lat: 29.712678 lon: -45.000000 line: -999 spot: -999 doing chunk number: 0 from line: 0 to line: 360 numcelx: 45 numcely: 45 extrai: 0 extraj: 0 ****minline: 1 maxline: 1958 in data aquisiton maxline: 1958 minline: 1 in data aquistion module image is contained within lines : 1 and 1958 data will be processed using 20 chunks of 100 lines in get10 searching data lines 1 to 101 for image lines 0 to 361 in get10 searching data lines 101 to 201 for image lines 0 to 361 in get10 searching data lines 201 to 301 for image lines 0 to 361 in get10 searching data lines 301 to 401 for image lines 0 to 361 in get10 searching data lines 401 to 501 for image lines 0 to 361 in get10 searching data lines 501 to 601 for image lines 0 to 361 in get10 searching data lines 601 to 701 for image lines 0 to 361 in get10 searching data lines 701 to 801 for image lines 0 to 361 in get10 searching data lines 801 to 901 for image lines 0 to 361 in get10 searching data lines 901 to 1001 for image lines 0 to 361 in get10 searching data lines 1001 to 1101 for image lines 0 to 361 in get10 searching data lines 1101 to 1201 for image lines 0 to 361 in get10 searching data lines 1201 to 1301 for image lines 0 to 361 in get10 searching data lines 1301 to 1401 for image lines 0 to 361 in get10 searching data lines 1401 to 1501 for image lines 0 to 361 in get10 searching data lines 1501 to 1601 for image lines 0 to 361 in get10 searching data lines 1601 to 1701 for image lines 0 to 361 in get10 searching data lines 1701 to 1801 for image lines 0 to 361 in get10 searching data lines 1801 to 1901 for image lines 0 to 361 Undefined error: 0 eof or error after 1957 lines in get10 searching data lines 1901 to 2001 for image lines 0 to 361 dumping SZA array in dumpother j1: 0 j2: 361 ysize: 361 fpother: 1883758552 writing other type image in dumpother j1: 0 j2: 361 ysize: 361 fpother: 1883758704 writing other type image *************** dashY: y dumping ELEV array in dumpother j1: 0 j2: 361 ysize: 361 fpother: 1883759160 writing other type image dumping AZIM array in dumpother j1: 0 j2: 361 ysize: 361 fpother: 1883759008 writing other type image constructing TIME array in puttime j1: 0 j2: 361 ysize: 361 dumping TIME array in dumpother j1: 0 j2: 361 ysize: 361 fpother: 1883758856 writing other type image nchan: 5 dumping ch: 0 fp: 1883759312 about to dump image number: 0 channel: 1 xsize: 361 ysize: 361 IN WRITEIMAGE chan: 0 fp: 1883759312 DOne with dumpimage fp: 1883759312 have dumped ch: 0 fp: 1883759312 dumping ch: 1 fp: 1883759464 about to dump image number: 1 channel: 2 xsize: 361 ysize: 361 IN WRITEIMAGE chan: 1 fp: 1883759464 DOne with dumpimage fp: 1883759464 have dumped ch: 1 fp: 1883759464 dumping ch: 2 fp: 1883759616 about to dump image number: 2 channel: 3 xsize: 361 ysize: 361 IN WRITEIMAGE chan: 2 fp: 1883759616 DOne with dumpimage fp: 1883759616 have dumped ch: 2 fp: 1883759616 dumping ch: 3 fp: 1883759768 about to dump image number: 3 channel: 4 xsize: 361 ysize: 361 IN WRITEIMAGE chan: 3 fp: 1883759768 DOne with dumpimage fp: 1883759768 have dumped ch: 3 fp: 1883759768 dumping ch: 4 fp: 1883759920 about to dump image number: 4 channel: 5 xsize: 361 ysize: 361 IN WRITEIMAGE chan: 4 fp: 1883759920 DOne with dumpimage fp: 1883759920 have dumped ch: 4 fp: 1883759920 About to write headers fp: 1883759768 done with navigation--retrieving data ***** Running navigation/calibration at Fri Jan 14 02:17:44 CST 2011 ***** Working on year and julian day (yyddd): 11013 (2011 Jan 13) no H option specified TBMFLAG: compval: 0 reading input header input header has been read satid from header : 2 XX satid: 16 getting time from firstline getting time in gettime in: 7 db 0 d 0 6b 0 94 41 6e year: 2011 day: 13 ymd year: 2011 ymd yeardif: 30 after getheader done with 57 lines header count: 0 actual: 57 header will be rewritten output header follows: satid: 16 orbnum: 0 nlines: 57 julday: 10970 taos: 9716078 NEW PROCESSGENERICGAC year: 2011 input file is : tmp output file is : tmp.p new processraw opening raw file: tmp opening archive file and writing header to tmp.p header written to newdataset dumsat: 3 satid from first line is: 16 year before julianday call: 2011 firstline curday: 13 julian: 10970 time: 9716078 linein: 0 curtime: 9716578 lasttime: 9716078 lastgood: 9716078 timdif: 500 could not read line bytes read: 0 error reading line: 56 archive corect to here will rewrite header correctly cleaning up archive file new header being written as: satid: 16 orbit number: 0 dum: 0 number of lines: 57 julian day: 10970d time of first scan: 2.698910 processing GAC data satid: 16 orbit number: 0 dum: 0 number of lines: 57 julian day: 10970d time of first scan: 2.698910 Seasonal correction for julian date 10970.112455 = 0.967300 flag is : S 11/01/13 00:00:00110113000000 year: 11 month: 1 day: 13 dayofyear: 13 file containing coefficients is COEFFS.16 calling openparm16 before sprintf parmfilename: /Users/jkey/nav/cal/calib16.dat i: 0 nu: 2226.179930 i: 1 nu: 782.472410 i: 2 nu: 714.285640 chan: 0 nuc: 2700.114800 A: 1.592459 B: 0.998147 chan: 1 nuc: 917.228900 A: 0.332380 B: 0.998522 chan: 2 nuc: 838.125500 A: 0.674623 B: 0.998363 i: 0 wave:0.000000 i: 1 wave:0.000000 i: 2 wave:2700.114800 i: 3 wave:917.228900 i: 4 wave:838.125500 before look for Z after look for Z about to leave openparm newflag is 1: 1 about to open: tmp.p headstuff: sat: 16 orb: 0 julianday: 10970 taos: 9716078 length of headstuff: 57 headstuff: sat: 16 orb: 0 julianday: 10970 taos: 9716078 0.000 0.000 2700.1148 917.2289 838.1255 length of headstuff: 106 ************** results of initial calibration ******** from header firstday is : 13 arcsize: 5626 in sequence numlines: 1 day: 13 val: 392 arcsize: 5626 in sequence numlines: 2 day: 13 val: 0 realline before: 2 spaceref: 0.000000 targtemp: 296.594587 space rad: 0.000000 -4.500000 -3.610000 average space counts: 990.340000 991.200000 994.260000 average internal counts: 793.860000 397.140000 381.640000 satid: 16 launch_indx: -1 chan: 3 radspace: 0.000000 radtarget: 0.502951 spacebar:990.340000 internalbar: 793.860000 chan: 3 radspace: 0.000000 radtarget: 0.502951 spacebar:990.340000 internalbar: 793.860000 gain: -0.002560 offset: 2.535082 chan: 4 radspace: -4.500000 radtarget: 108.489965 spacebar:991.200000 internalbar: 397.140000 chan: 4 radspace: -4.500000 radtarget: 108.489965 spacebar:991.200000 internalbar: 397.140000 gain: -0.190200 offset: 184.025833 chan: 5 radspace: -3.610000 radtarget: 122.683753 spacebar:994.260000 internalbar: 381.640000 chan: 5 radspace: -3.610000 radtarget: 122.683753 spacebar:994.260000 internalbar: 381.640000 gain: -0.206153 offset: 201.360168 gain after: 0.054943 gain after: 0.054943 gain and offset up to scan line 52 : 0.054943 -2.115872 0.057651 -2.330806 -0.002560 2.535082 -0.190200 184.025833 -0.206153 201.360168 ************************************************************ trouble reading line in main DONE WITH CALIBRATION there were 57 lines done THIS IS ACTUALLY rawcal15_new AS IT SHOULD BE CALIBRATION FILE: COEFFS.16 RADFLAG: 1 calib_dir: /Users/jkey/nav/cal name of caldatfile is: /Users/jkey/nav/cal/calibnew16.dat have found CENTRAL WAVE in string CENTRAL WAVE NUMBER TABLE 190.000000 230.000000 2638.652000 928.260300 834.449600 230.000000 270.000000 2642.807000 928.828400 834.806600 270.000000 310.000000 2645.899000 929.332300 835.164700 have found SPLIT CAL in string SPLIT CAL TABLE SPLIT GAINS and OFFSETS CHAN 1 count 0-490 gain: 0.052300 offset: -2.016000 CHAN 1 count 491-1023 gain: 0.152800 offset: -51.910000 CHAN 2 count 0-500 gain: 0.051300 offset: -1.943000 CHAN 2 count 501-1023 gain: 0.151000 offset: -51.770000 CHAN 3 count 0-499 gain: 0.028700 offset: -2.043000 CHAN 3 count 500-1023 gain: 0.180600 offset: -78.030000 WE ARE GOING NON LINEAR name of caldatfile is: /Users/jkey/nav/cal/calibnew16.dat have found NON LINEAR in string ABOUT TO READ NON LINEAR MATRIX have READ NON LINEAR MATRIX DONE WITH NON LINEAR STUFF have found NEW COEFFS in string ABOUT TO READ NEW COEFFS i: 0 NUC: 2700.114800 Anew: 1.592459 Bnew: 0.998147 NS: 0.000000 B0: 0.000000 B1: 0.000000 B2: 0.000000 i: 1 NUC: 917.228900 Anew: 0.332380 Bnew: 0.998522 NS: -2.467000 B0: 2.960000 B1: -0.054110 B2: 0.000245 i: 2 NUC: 838.125500 Anew: 0.674623 Bnew: 0.998363 NS: -2.009000 B0: 2.225000 B1: -0.036650 B2: 0.000149 DONE WITH NEW COEFFS calhead: sat: 16 orb: 0 julianday: 10970 taos: 9716078 0.000 0.000 2700.1148 917.2289 838.1255  &/Users/jkey/nav/cal/calibnew16.dat calhead: 0.000 0.000 2700.1148 917.2289 838.1255  &/Users/jkey/nav/cal/calibnew16.dat wavecent: 0.000000 0.000000 2700.114800 917.228900 838.125500 INVWAVE: 0.000000 size of cal file is: 6254 have read in cal array number of lines 57 doing raw line: 0 TIME calculation WAS REQUESTED SZA calculation WAS REQUESTED LINE and SAMPLE DATA WAS REQUESTED OSCULATING CORRECTIONS WILL BE APPLIED dashv: temp: strlen: 0 dashH: n strlen: 1 AFTER GET OPTIONS GAC DATA OPTION HAS BEEN CHOOSEN AFTER INIT input file has been opened, fp: 1883758400 after openarc fp: 1883758400 sid: 16d orbnum: 0d numscan: 57d milday: 9716078d *** data header *** satid: 16 orbit number: 0 number of lines: 57 julian day: 10970 time of first scan: 2.698910 ******************** AFTER INITDATA julday: 10970 taos: 9716078 TIME OF FIRST SCAN : 11/01/13 02:41:56 looking for ephemeris data for taos: 10970.112455 opening ephemeris after opening ephemeris size: 76 *******ephemeris elements ************ satid: 26536 orbit: 65195 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 ecc: 0.001062 argper: 0.364140 ascnode: 0.799605 inclin: 0.275446 ephoc: 110105000000 **************************** ******ephemnot structure follows*******: satid: 26536 orbit: 65195 size: 76 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 eccen: 0.001062 argper: 0.364140 ascenode: 0.799605 inclin: 0.275446 earadius: 6378137.000000 oblat: 0.001083 ***************************************************************** *********epheminit structure follows******* timnot: 10962.000000 smajaxis: 1.132905 decay: -0.000000 eccen: 0.001062 inclin: 1.730681 argper: 2.287962 perrate: -0.000551 longan: 5.024068 nodrate: 0.000201 ,meananom: 1.717550 meanmot: 0.828813 meanmotrate: 0.000000 grav constant: 398598005011040.375000 ***************************************************************** satlat1: 1.046215 satlat2: 1.071419 asnflag: 1 DATA IS ASCENDING **************** INITAILIZATION OVER ****************** dashr: 81.38011 RANGE0: 81.380110 IN SATGEO line: 0 spot: 204 time: 10970.112455 IN SATGEO line: 5 spot: 204 time: 10970.112484 RANGE: 81.380110 Pass is Ascending at start center lat: 90.000000 center lon: 0.000000 range: 81.380110 images will be processed using chunks of 361 lines getting space for 10 bit image image.proj: 8 fpsza: 7047dfd8 fpsaza: 7047e070 opening 135285923.NSS.GHRR.NL.D11013.S0048.E0242.B5314647.GC.N2.1 OPENING chan: 0 fp: 1883759312 opening 135285923.NSS.GHRR.NL.D11013.S0048.E0242.B5314647.GC.N2.2 OPENING chan: 1 fp: 1883759464 opening 135285923.NSS.GHRR.NL.D11013.S0048.E0242.B5314647.GC.N2.3 OPENING chan: 2 fp: 1883759616 opening 135285923.NSS.GHRR.NL.D11013.S0048.E0242.B5314647.GC.N2.4 OPENING chan: 3 fp: 1883759768 opening 135285923.NSS.GHRR.NL.D11013.S0048.E0242.B5314647.GC.N2.5 OPENING chan: 4 fp: 1883759920 getting space for time array getting space for sza array getting space for saza array getting space for satelv array getting space for sataz array ************************************* total bytes malloced is : 4217234 ************************************* ******** current elements follow******** taos: 10970.112455 time: 10970.112455 smajaxis: 7225817.124223 eccentricity: 0.001062 inclin: 1.730734 argper: 1.890997 longan: -1.960705 meananom: 5.462734 trueanom: 5.461179 altitude: 7220574.853237 ********************************************** satpos: -2253408.813280 -2833984.589103 6242819.544176 satvel: 1952.105726 6246.675641 3525.996738 satlat: 59.887337 satlon: -128.489544 COMMAND>DASHD: n INTERPOLATION CHOOSEN , every 8 x pixel and every 8 ypixel going through pixels **** before templat: 29.712678 centtodet: 29.878633 CORNERS OF WHOLE IMAGE FOLLOW North West Corner lat: 29.878633 lon: 225.000000 North East Corner lat: 30.063244 lon: 135.159155 South East Corner lat: 30.248190 lon: 45.000000 South West Corner lat: 30.063244 lon: -45.159155 interpolation choosen every 8 i pixels and every 8 j pixels image will be processed in 1 chunks of 361 image lines segment 0 startj: 0 stopj: 361 starti: 0 stopi: 360 numj: 361 north west----- lat: 29.712678 lon: 225.000000 line: -999 spot: 85 north east----- lat: 29.896666 lon: 135.159155 line: -999 spot: -999 south east-----lat: 29.896666 lon: 44.840845 line: -999 spot: -999 south west-----lat: 29.712678 lon: -45.000000 line: -999 spot: -999 doing chunk number: 0 from line: 0 to line: 360 numcelx: 45 numcely: 45 extrai: 0 extraj: 0 ****minline: 0 maxline: 53 in data aquisiton maxline: 53 minline: 0 in data aquistion module image is contained within lines : 1 and 53 data will be processed using 1 chunks of 100 lines done processing 57 lines in get10 searching data lines 1 to 101 for image lines 0 to 361 dumping SZA array in dumpother j1: 0 j2: 361 ysize: 361 fpother: 1883758552 writing other type image in dumpother j1: 0 j2: 361 ysize: 361 fpother: 1883758704 writing other type image *************** dashY: y dumping ELEV array in dumpother j1: 0 j2: 361 ysize: 361 fpother: 1883759160 writing other type image dumping AZIM array in dumpother j1: 0 j2: 361 ysize: 361 fpother: 1883759008 writing other type image constructing TIME array in puttime j1: 0 j2: 361 ysize: 361 dumping TIME array in dumpother j1: 0 j2: 361 ysize: 361 fpother: 1883758856 writing other type image nchan: 5 dumping ch: 0 fp: 1883759312 about to dump image number: 0 channel: 1 xsize: 361 ysize: 361 IN WRITEIMAGE chan: 0 fp: 1883759312 DOne with dumpimage fp: 1883759312 have dumped ch: 0 fp: 1883759312 dumping ch: 1 fp: 1883759464 about to dump image number: 1 channel: 2 xsize: 361 ysize: 361 IN WRITEIMAGE chan: 1 fp: 1883759464 DOne with dumpimage fp: 1883759464 have dumped ch: 1 fp: 1883759464 dumping ch: 2 fp: 1883759616 about to dump image number: 2 channel: 3 xsize: 361 ysize: 361 IN WRITEIMAGE chan: 2 fp: 1883759616 DOne with dumpimage fp: 1883759616 have dumped ch: 2 fp: 1883759616 dumping ch: 3 fp: 1883759768 about to dump image number: 3 channel: 4 xsize: 361 ysize: 361 IN WRITEIMAGE chan: 3 fp: 1883759768 DOne with dumpimage fp: 1883759768 have dumped ch: 3 fp: 1883759768 dumping ch: 4 fp: 1883759920 about to dump image number: 4 channel: 5 xsize: 361 ysize: 361 IN WRITEIMAGE chan: 4 fp: 1883759920 DOne with dumpimage fp: 1883759920 have dumped ch: 4 fp: 1883759920 About to write headers fp: 1883759768 done with navigation--retrieving data rm: data.*: No such file or directory ***** Running polar regions subsetting at Fri Jan 14 02:17:45 CST 2011 ***** Working on year and julian day (yyddd): 11013 (2011 Jan 13) command line args: ephemfile: /Users/jkey/nav/ephemeris northlimit: 60.000000 southlimit: -60.000000 data is type: G sds-type is: H region is: O SDS GAC data selected. year: 2011 day: 13 miilsecs: 2929578 before md doy: 13 year: 2011 **julianday: 10970 year: 2011 day: 13 miilsecs: 2929578 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 year: 2011 day: 13 miilsecs: 2930078 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 year: 2011 day: 13 miilsecs: 2930578 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 taos: 2929578 satid: 16 julian day: 10970 nlines: 13630 GOING INTO initorb4 satnum: 16 navsatid: 26536 calling readephem taos: 10970.033907 opening ephemeris after opening ephemeris size: 76 *******ephemeris elements ************ satid: 26536 orbit: 65195 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 ecc: 0.001062 argper: 0.364140 ascnode: 0.799605 inclin: 0.275446 ephoc: 110105000000 **************************** ******ephemnot structure follows*******: satid: 26536 orbit: 65195 size: 76 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 eccen: 0.001062 argper: 0.364140 ascenode: 0.799605 inclin: 0.275446 earadius: 6378137.000000 oblat: 0.001083 ***************************************************************** YEAR HERE: 11 *********epheminit structure follows******* timnot: 10962.000000 smajaxis: 1.132905 decay: -0.000000 eccen: 0.001062 inclin: 1.730681 argper: 2.287962 perrate: -0.000551 longan: 5.024068 nodrate: 0.000201 ,meananom: 1.717550 meanmot: 0.828813 meanmotrate: 0.000000 grav constant: 398598005011040.375000 ***************************************************************** ******** current elements follow******** taos: 10970.033907 time: 10970.033907 smajaxis: 7225817.166688 eccentricity: 0.001062 inclin: 1.730681 argper: 1.894841 longan: -1.467141 meananom: 714.774302 trueanom: 714.772182 altitude: 7225350.062212 ********************************************** ******** current elements follow******** taos: 10970.033907 time: 10970.033907 smajaxis: 7225817.166688 eccentricity: 0.001062 inclin: 1.730681 argper: 1.894841 longan: -1.467141 meananom: 714.774302 trueanom: 714.772182 altitude: 7225350.062212 ********************************************** SPECIFIC DATA: bytesperline: 4608 scanspersec: 2.000000 line : 0 10970.033907 21.833652 -87.721307 7227557.699103 line : 100 10970.034486 24.744472 -88.483752 7226665.797922 line : 200 10970.035065 27.651964 -89.272481 7225775.158047 line : 300 10970.035643 30.555588 -90.092588 7224889.089135 line : 400 10970.036222 33.454753 -90.950056 7224010.960202 line : 500 10970.036801 36.348788 -91.852010 7223144.179902 line : 600 10970.037379 39.236924 -92.807041 7222292.176054 line : 700 10970.037958 42.118251 -93.825648 7221458.374578 line : 800 10970.038537 44.991672 -94.920834 7220646.178020 line : 900 10970.039115 47.855831 -96.108935 7219858.943869 line : 1000 10970.039694 50.709016 -97.410783 7219099.962836 line : 1100 10970.040273 53.549010 -98.853375 7218372.437311 line : 1200 10970.040852 56.372881 -100.472319 7217679.460173 line : 1300 10970.041430 59.176651 -102.315480 7217023.994166 Opening data.NORTH1 and writing header line: 1330 line : 1400 10970.042009 61.954786 -104.448553 7216408.852003 line : 1500 10970.042588 64.699376 -106.963764 7215836.677403 line : 1600 10970.043166 67.398769 -109.993706 7215309.927231 line : 1700 10970.043745 70.035220 -113.733632 7214830.854890 line : 1800 10970.044324 72.580750 -118.477042 7214401.495143 line : 1900 10970.044903 74.989658 -124.668991 7214023.650487 line : 2000 10970.045481 77.185279 -132.967561 7213698.879214 line : 2100 10970.046060 79.039243 -144.233408 7213428.485264 line : 2200 10970.046639 80.352968 -159.157827 7213213.509970 line : 2300 10970.047217 80.889922 -177.138996 7213054.725762 line : 2400 10970.047796 80.517252 164.562635 7212952.631894 line : 2500 10970.048375 79.329686 148.963708 7212907.452221 line : 2600 10970.048953 77.558129 137.053823 7212919.135055 line : 2700 10970.049532 75.413447 128.274223 7212987.355084 line : 2800 10970.050111 73.036137 121.748853 7213111.517342 line : 2900 10970.050690 70.510668 116.776262 7213290.763176 line : 3000 10970.051268 67.887260 112.876259 7213523.978154 line : 3100 10970.051847 65.196477 109.731841 7213809.801832 line : 3200 10970.052426 62.457576 107.132732 7214146.639282 line : 3300 10970.053004 59.683124 104.936736 7214532.674253 line : 3400 10970.053583 56.881605 103.045393 7214965.883857 line : 3500 10970.054162 54.058922 101.388870 7215444.054607 line : 3600 10970.054740 51.219300 99.916492 7215964.799674 line : 3700 10970.055319 48.365845 98.590703 7216525.577176 line : 3800 10970.055898 45.500892 97.383122 7217123.709325 line : 3900 10970.056477 42.626241 96.271919 7217756.402262 line : 4000 10970.057055 39.743313 95.240025 7218420.766367 line : 4100 10970.057634 36.853256 94.273889 7219113.836862 line : 4200 10970.058213 33.957016 93.362597 7219832.594525 line : 4300 10970.058791 31.055397 92.497241 7220573.986295 line : 4400 10970.059370 28.149093 91.670450 7221334.945600 line : 4500 10970.059949 25.238719 90.876049 7222112.412224 line : 4600 10970.060528 22.324833 90.108792 7222903.351511 line : 4700 10970.061106 19.407947 89.364166 7223704.772770 line : 4800 10970.061685 16.488542 88.638233 7224513.746695 line : 4900 10970.062264 13.567075 87.927504 7225327.421670 line : 5000 10970.062842 10.643986 87.228842 7226143.038820 line : 5100 10970.063421 7.719701 86.539378 7226957.945690 line : 5200 10970.064000 4.794639 85.856440 7227769.608451 line : 5300 10970.064578 1.869213 85.177494 7228575.622547 line : 5400 10970.065157 -1.056170 84.500090 7229373.721719 line : 5500 10970.065736 -3.981104 83.821810 7230161.785348 line : 5600 10970.066315 -6.905183 83.140219 7230937.844094 line : 5700 10970.066893 -9.828000 82.452815 7231700.083819 line : 5800 10970.067472 -12.749145 81.756974 7232446.847794 line : 5900 10970.068051 -15.668202 81.049897 7233176.637217 line : 6000 10970.068629 -18.584746 80.328536 7233888.110087 line : 6100 10970.069208 -21.498336 79.589524 7234580.078494 line : 6200 10970.069787 -24.408514 78.829075 7235251.504390 line : 6300 10970.070365 -27.314793 78.042871 7235901.493953 line : 6400 10970.070944 -30.216650 77.225921 7236529.290626 line : 6500 10970.071523 -33.113509 76.372369 7237134.266969 line : 6600 10970.072102 -36.004723 75.475263 7237715.915439 line : 6700 10970.072680 -38.889551 74.526233 7238273.838248 line : 6800 10970.073259 -41.767122 73.515080 7238807.736445 line : 6900 10970.073838 -44.636386 72.429200 7239317.398372 line : 7000 10970.074416 -47.496049 71.252800 7239802.687662 line : 7100 10970.074995 -50.344482 69.965802 7240263.530933 line : 7200 10970.075574 -53.179581 68.542265 7240699.905353 line : 7300 10970.076153 -55.998565 66.948096 7241111.826230 line : 7400 10970.076731 -58.797676 65.137647 7241499.334797 Opening data.SOUTH1 and writing header line: 7444 line : 7500 10970.077310 -61.571705 63.048539 7241862.486344 line : 7600 10970.077889 -64.313232 60.593631 7242201.338855 line : 7700 10970.078467 -67.011383 57.648307 7242515.942287 line : 7800 10970.079046 -69.649694 54.030107 7242806.328642 line : 7900 10970.079625 -72.202366 49.466229 7243072.502938 line : 8000 10970.080203 -74.627536 43.544410 7243314.435213 line : 8100 10970.080782 -76.855312 35.653000 7243532.053653 line : 8200 10970.081361 -78.768452 24.971381 7243725.238934 line : 8300 10970.081940 -80.182019 10.749367 7243893.819858 line : 8400 10970.082518 -80.861721 -6.718323 7244037.570328 line : 8500 10970.083097 -80.646469 -25.058612 7244156.207724 line : 8600 10970.083676 -79.591672 -41.153625 7244249.392683 line : 8700 10970.084254 -77.915032 -53.643471 7244316.730315 line : 8800 10970.084833 -75.835375 -62.896317 7244357.772828 line : 8900 10970.085412 -73.504037 -69.766465 7244372.023552 line : 9000 10970.085990 -71.013051 -74.984105 7244358.942319 line : 9100 10970.086569 -68.417134 -79.059725 7244317.952127 line : 9200 10970.087148 -65.749452 -82.332479 7244248.447046 line : 9300 10970.087727 -63.030777 -85.027463 7244149.801252 line : 9400 10970.088305 -60.274584 -87.296626 7244021.379099 line : 9500 10970.088884 -57.489913 -89.244897 7243862.546120 line : 9600 10970.089463 -54.683014 -90.946475 7243672.680828 line : 9700 10970.090041 -51.858333 -92.455043 7243451.187181 line : 9800 10970.090620 -49.019115 -93.810271 7243197.507569 line : 9900 10970.091199 -46.167782 -95.042055 7242911.136170 line : 10000 10970.091778 -43.306190 -96.173334 7242591.632523 line : 10100 10970.092356 -40.435786 -97.221996 7242238.635146 line : 10200 10970.092935 -37.557733 -98.202212 7241851.875049 line : 10300 10970.093514 -34.672979 -99.125367 7241431.188959 line : 10400 10970.094092 -31.782323 -100.000732 7240976.532117 line : 10500 10970.094671 -28.886447 -100.835962 7240487.990457 line : 10600 10970.095250 -25.985952 -101.637455 7239965.792035 line : 10700 10970.095828 -23.081379 -102.410630 7239410.317540 line : 10800 10970.096407 -20.173220 -103.160139 7238822.109751 line : 10900 10970.096986 -17.261939 -103.890028 7238201.881806 line : 11000 10970.097565 -14.347972 -104.603869 7237550.524153 line : 11100 10970.098143 -11.431742 -105.304866 7236869.110079 line : 11200 10970.098722 -8.513656 -105.995934 7236158.899715 line : 11300 10970.099301 -5.594117 -106.679779 7235421.342431 line : 11400 10970.099879 -2.673522 -107.358953 7234658.077553 line : 11500 10970.100458 0.247736 -108.035914 7233870.933363 line : 11600 10970.101037 3.169263 -108.713076 7233061.924324 line : 11700 10970.101615 6.090665 -109.392857 7232233.246534 line : 11800 10970.102194 9.011542 -110.077730 7231387.271397 line : 11900 10970.102773 11.931494 -110.770273 7230526.537539 line : 12000 10970.103352 14.850110 -111.473228 7229653.741000 line : 12100 10970.103930 17.766969 -112.189565 7228771.723761 line : 12200 10970.104509 20.681636 -112.922553 7227883.460674 line : 12300 10970.105088 23.593657 -113.675854 7226992.044900 line : 12400 10970.105666 26.502548 -114.453626 7226100.671939 line : 12500 10970.106245 29.407790 -115.260667 7225212.622389 line : 12600 10970.106824 32.308815 -116.102583 7224331.243574 line : 12700 10970.107403 35.204985 -116.986013 7223459.930172 line : 12800 10970.107981 38.095574 -117.918922 7222602.104022 line : 12900 10970.108560 40.979732 -118.910994 7221761.193272 line : 13000 10970.109139 43.856445 -119.974157 7220940.611047 line : 13100 10970.109717 46.724467 -121.123313 7220143.733826 line : 13200 10970.110296 49.582243 -122.377350 7219373.879718 line : 13300 10970.110875 52.427775 -123.760585 7218634.286827 line : 13400 10970.111453 55.258447 -125.304865 7217928.091905 line : 13500 10970.112032 58.070742 -127.052670 7217258.309481 Opening data.NORTH2 and writing header line: 13570 line : 13600 10970.112611 60.859818 -129.061814 7216627.811667 could not read line 13627 writing header for file 0 goint into getcorrectsdsvals year: 2011 day: 13 miilsecs: 3596078 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 going into makeheader with taos: 10970.041621 satid: 16 nlines: 1959 IN MAKEHEADER going into first make1btime in make1btime taos: 10970.041621 millsec: 3596078 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 after first make1btime in make1btime taos: 10970.045400 millsec: 3922578 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 DONE WITH MAKEHEADER writing header for file 1 goint into getcorrectsdsvals year: 2011 day: 13 miilsecs: 9716078 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 going into makeheader with taos: 10970.112455 satid: 16 nlines: 57 IN MAKEHEADER going into first make1btime in make1btime taos: 10970.112455 millsec: 9716078 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 after first make1btime in make1btime taos: 10970.112565 millsec: 9725578 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 DONE WITH MAKEHEADER writing header for file 2 goint into getcorrectsdsvals year: 2011 day: 13 miilsecs: 6653078 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 going into makeheader with taos: 10970.077003 satid: 16 nlines: 1966 IN MAKEHEADER going into first make1btime in make1btime taos: 10970.077003 millsec: 6653078 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 after first make1btime in make1btime taos: 10970.080796 millsec: 6980745 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 DONE WITH MAKEHEADER ***** Running navigation/calibration at Fri Jan 14 02:17:45 CST 2011 ***** Working on year and julian day (yyddd): 11013 (2011 Jan 13) no H option specified TBMFLAG: compval: 0 reading input header input header has been read satid from header : 2 XX satid: 16 getting time from firstline getting time in gettime in: 7 db 0 d 0 6b 0 65 84 96 year: 2011 day: 13 ymd year: 2011 ymd yeardif: 30 after getheader done with 1966 lines header count: 0 actual: 1966 header will be rewritten output header follows: satid: 16 orbnum: 0 nlines: 1966 julday: 10970 taos: 6653078 NEW PROCESSGENERICGAC year: 2011 input file is : tmp output file is : tmp.p new processraw opening raw file: tmp opening archive file and writing header to tmp.p header written to newdataset dumsat: 3 satid from first line is: 16 year before julianday call: 2011 firstline curday: 13 julian: 10970 time: 6653078 linein: 0 curtime: 6653578 lasttime: 6653078 lastgood: 6653078 timdif: 500 linein: 100 curtime: 6703578 lasttime: 6703078 lastgood: 6703078 timdif: 500 linein: 200 curtime: 6753578 lasttime: 6753078 lastgood: 6753078 timdif: 500 linein: 300 curtime: 6803578 lasttime: 6803078 lastgood: 6803078 timdif: 500 linein: 400 curtime: 6853578 lasttime: 6853078 lastgood: 6853078 timdif: 500 linein: 500 curtime: 6903578 lasttime: 6903078 lastgood: 6903078 timdif: 500 linein: 600 curtime: 6953578 lasttime: 6953078 lastgood: 6953078 timdif: 500 linein: 700 curtime: 7003578 lasttime: 7003078 lastgood: 7003078 timdif: 500 linein: 800 curtime: 7053578 lasttime: 7053078 lastgood: 7053078 timdif: 500 linein: 900 curtime: 7103578 lasttime: 7103078 lastgood: 7103078 timdif: 500 linein: 1000 curtime: 7153578 lasttime: 7153078 lastgood: 7153078 timdif: 500 linein: 1100 curtime: 7203578 lasttime: 7203078 lastgood: 7203078 timdif: 500 linein: 1200 curtime: 7253578 lasttime: 7253078 lastgood: 7253078 timdif: 500 linein: 1300 curtime: 7303578 lasttime: 7303078 lastgood: 7303078 timdif: 500 linein: 1400 curtime: 7353578 lasttime: 7353078 lastgood: 7353078 timdif: 500 linein: 1500 curtime: 7403578 lasttime: 7403078 lastgood: 7403078 timdif: 500 linein: 1600 curtime: 7453578 lasttime: 7453078 lastgood: 7453078 timdif: 500 linein: 1700 curtime: 7503578 lasttime: 7503078 lastgood: 7503078 timdif: 500 linein: 1800 curtime: 7553578 lasttime: 7553078 lastgood: 7553078 timdif: 500 linein: 1900 curtime: 7603578 lasttime: 7603078 lastgood: 7603078 timdif: 500 could not read line bytes read: 0 error reading line: 1965 archive corect to here will rewrite header correctly cleaning up archive file new header being written as: satid: 16 orbit number: 0 dum: 0 number of lines: 1966 julian day: 10970d time of first scan: 1.848077 processing GAC data satid: 16 orbit number: 0 dum: 0 number of lines: 1966 julian day: 10970d time of first scan: 1.848077 Seasonal correction for julian date 10970.077003 = 0.967297 flag is : S 11/01/13 00:00:00110113000000 year: 11 month: 1 day: 13 dayofyear: 13 file containing coefficients is COEFFS.16 calling openparm16 before sprintf parmfilename: /Users/jkey/nav/cal/calib16.dat i: 0 nu: 2226.179930 i: 1 nu: 782.472410 i: 2 nu: 714.285640 chan: 0 nuc: 2700.114800 A: 1.592459 B: 0.998147 chan: 1 nuc: 917.228900 A: 0.332380 B: 0.998522 chan: 2 nuc: 838.125500 A: 0.674623 B: 0.998363 i: 0 wave:0.000000 i: 1 wave:0.000000 i: 2 wave:2700.114800 i: 3 wave:917.228900 i: 4 wave:838.125500 before look for Z after look for Z about to leave openparm newflag is 1: 1 about to open: tmp.p headstuff: sat: 16 orb: 0 julianday: 10970 taos: 6653078 length of headstuff: 57 headstuff: sat: 16 orb: 0 julianday: 10970 taos: 6653078 0.000 0.000 2700.1148 917.2289 838.1255 length of headstuff: 106 ************** results of initial calibration ******** from header firstday is : 13 arcsize: 5626 in sequence numlines: 1 day: 13 val: 411 arcsize: 5626 in sequence numlines: 2 day: 13 val: 417 arcsize: 5626 in sequence numlines: 3 day: 13 val: 0 realline before: 3 spaceref: 0.000000 targtemp: 297.707733 space rad: 0.000000 -4.500000 -3.610000 average space counts: 990.440000 991.360000 994.300000 average internal counts: 784.840000 389.880000 373.660000 satid: 16 launch_indx: -1 chan: 3 radspace: 0.000000 radtarget: 0.527969 spacebar:990.440000 internalbar: 784.840000 chan: 3 radspace: 0.000000 radtarget: 0.527969 spacebar:990.440000 internalbar: 784.840000 gain: -0.002568 offset: 2.543391 chan: 4 radspace: -4.500000 radtarget: 110.330422 spacebar:991.360000 internalbar: 389.880000 chan: 4 radspace: -4.500000 radtarget: 110.330422 spacebar:991.360000 internalbar: 389.880000 gain: -0.190913 offset: 184.763626 chan: 5 radspace: -3.610000 radtarget: 124.590840 spacebar:994.300000 internalbar: 373.660000 chan: 5 radspace: -3.610000 radtarget: 124.590840 spacebar:994.300000 internalbar: 373.660000 gain: -0.206562 offset: 201.774918 gain after: 0.054942 gain after: 0.054942 gain and offset up to scan line 53 : 0.054942 -2.115865 0.057651 -2.330799 -0.002568 2.543391 -0.190913 184.763626 -0.206562 201.774918 ************************************************************ trouble reading line in main DONE WITH CALIBRATION there were 1966 lines done THIS IS ACTUALLY rawcal15_new AS IT SHOULD BE CALIBRATION FILE: COEFFS.16 RADFLAG: 1 calib_dir: /Users/jkey/nav/cal name of caldatfile is: /Users/jkey/nav/cal/calibnew16.dat have found CENTRAL WAVE in string CENTRAL WAVE NUMBER TABLE 190.000000 230.000000 2638.652000 928.260300 834.449600 230.000000 270.000000 2642.807000 928.828400 834.806600 270.000000 310.000000 2645.899000 929.332300 835.164700 have found SPLIT CAL in string SPLIT CAL TABLE SPLIT GAINS and OFFSETS CHAN 1 count 0-490 gain: 0.052300 offset: -2.016000 CHAN 1 count 491-1023 gain: 0.152800 offset: -51.910000 CHAN 2 count 0-500 gain: 0.051300 offset: -1.943000 CHAN 2 count 501-1023 gain: 0.151000 offset: -51.770000 CHAN 3 count 0-499 gain: 0.028700 offset: -2.043000 CHAN 3 count 500-1023 gain: 0.180600 offset: -78.030000 WE ARE GOING NON LINEAR name of caldatfile is: /Users/jkey/nav/cal/calibnew16.dat have found NON LINEAR in string ABOUT TO READ NON LINEAR MATRIX have READ NON LINEAR MATRIX DONE WITH NON LINEAR STUFF have found NEW COEFFS in string ABOUT TO READ NEW COEFFS i: 0 NUC: 2700.114800 Anew: 1.592459 Bnew: 0.998147 NS: 0.000000 B0: 0.000000 B1: 0.000000 B2: 0.000000 i: 1 NUC: 917.228900 Anew: 0.332380 Bnew: 0.998522 NS: -2.467000 B0: 2.960000 B1: -0.054110 B2: 0.000245 i: 2 NUC: 838.125500 Anew: 0.674623 Bnew: 0.998363 NS: -2.009000 B0: 2.225000 B1: -0.036650 B2: 0.000149 DONE WITH NEW COEFFS calhead: sat: 16 orb: 0 julianday: 10970 taos: 6653078 0.000 0.000 2700.1148 917.2289 838.1255 a(/Users/jkey/nav/cal/calibnew16.dat calhead: 0.000 0.000 2700.1148 917.2289 838.1255 a(/Users/jkey/nav/cal/calibnew16.dat wavecent: 0.000000 0.000000 2700.114800 917.228900 838.125500 INVWAVE: 0.000000 size of cal file is: 208608 have read in cal array number of lines 1966 doing raw line: 0 doing raw line: 500 doing raw line: 1000 doing raw line: 1500 TIME calculation WAS REQUESTED SZA calculation WAS REQUESTED LINE and SAMPLE DATA WAS REQUESTED OSCULATING CORRECTIONS WILL BE APPLIED dashv: temp: strlen: 0 dashH: n strlen: 1 AFTER GET OPTIONS GAC DATA OPTION HAS BEEN CHOOSEN AFTER INIT input file has been opened, fp: 1883758400 after openarc fp: 1883758400 sid: 16d orbnum: 0d numscan: 1966d milday: 6653078d *** data header *** satid: 16 orbit number: 0 number of lines: 1966 julian day: 10970 time of first scan: 1.848077 ******************** AFTER INITDATA julday: 10970 taos: 6653078 TIME OF FIRST SCAN : 11/01/13 01:50:53 looking for ephemeris data for taos: 10970.077003 opening ephemeris after opening ephemeris size: 76 *******ephemeris elements ************ satid: 26536 orbit: 65195 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 ecc: 0.001062 argper: 0.364140 ascnode: 0.799605 inclin: 0.275446 ephoc: 110105000000 **************************** ******ephemnot structure follows*******: satid: 26536 orbit: 65195 size: 76 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 eccen: 0.001062 argper: 0.364140 ascenode: 0.799605 inclin: 0.275446 earadius: 6378137.000000 oblat: 0.001083 ***************************************************************** *********epheminit structure follows******* timnot: 10962.000000 smajaxis: 1.132905 decay: -0.000000 eccen: 0.001062 inclin: 1.730681 argper: 2.287962 perrate: -0.000551 longan: 5.024068 nodrate: 0.000201 ,meananom: 1.717550 meanmot: 0.828813 meanmotrate: 0.000000 grav constant: 398598005011040.375000 ***************************************************************** satlat1: -1.046138 satlat2: -1.071268 asnflag: -1 DATA IS DESCENDING **************** INITAILIZATION OVER ****************** dashr: 72.363 RANGE0: 72.363000 IN SATGEO line: 0 spot: 204 time: 10970.077003 IN SATGEO line: 5 spot: 204 time: 10970.077032 RANGE: 72.363000 Pass is Descending at start center lat: -89.999943 center lon: 180.000000 range: 72.363000 images will be processed using chunks of 321 lines getting space for 10 bit image image.proj: 8 fpsza: 7047dfd8 fpsaza: 7047e070 opening 135285923.NSS.GHRR.NL.D11013.S0048.E0242.B5314647.GC.S.1 OPENING chan: 0 fp: 1883759312 opening 135285923.NSS.GHRR.NL.D11013.S0048.E0242.B5314647.GC.S.2 OPENING chan: 1 fp: 1883759464 opening 135285923.NSS.GHRR.NL.D11013.S0048.E0242.B5314647.GC.S.3 OPENING chan: 2 fp: 1883759616 opening 135285923.NSS.GHRR.NL.D11013.S0048.E0242.B5314647.GC.S.4 OPENING chan: 3 fp: 1883759768 opening 135285923.NSS.GHRR.NL.D11013.S0048.E0242.B5314647.GC.S.5 OPENING chan: 4 fp: 1883759920 getting space for time array getting space for sza array getting space for saza array getting space for satelv array getting space for sataz array ************************************* total bytes malloced is : 3453394 ************************************* ******** current elements follow******** taos: 10970.077003 time: 10970.077003 smajaxis: 7225817.143389 eccentricity: 0.001062 inclin: 1.730734 argper: 1.892732 longan: -1.737979 meananom: 2.316211 trueanom: 2.317770 altitude: 7231040.460753 ********************************************** satpos: 1576092.239832 3259589.507294 -6271589.753288 satvel: -521.379209 -6499.339537 -3517.391225 satlat: -60.001850 satlon: 64.195083 COMMAND>DASHD: n INTERPOLATION CHOOSEN , every 8 x pixel and every 8 ypixel going through pixels **** before templat: -36.957736 centtodet: -37.142800 CORNERS OF WHOLE IMAGE FOLLOW North West Corner lat: -37.142800 lon: -45.000061 North East Corner lat: -37.320927 lon: 44.821012 South East Corner lat: -37.499365 lon: 135.000061 South West Corner lat: -37.320826 lon: 225.178988 interpolation choosen every 8 i pixels and every 8 j pixels image will be processed in 1 chunks of 321 image lines segment 0 startj: 0 stopj: 321 starti: 0 stopi: 320 numj: 321 north west----- lat: -36.957736 lon: -45.000061 line: -999 spot: -999 north east----- lat: -37.135539 lon: 44.821012 line: -999 spot: 114 south east-----lat: -37.135438 lon: 135.179109 line: -999 spot: -999 south west-----lat: -36.957635 lon: 224.999939 line: -999 spot: -999 doing chunk number: 0 from line: 0 to line: 320 numcelx: 40 numcely: 40 extrai: 0 extraj: 0 ****minline: 1 maxline: 1964 in data aquisiton maxline: 1964 minline: 1 in data aquistion module image is contained within lines : 1 and 1964 data will be processed using 20 chunks of 100 lines in get10 searching data lines 1 to 101 for image lines 0 to 321 in get10 searching data lines 101 to 201 for image lines 0 to 321 in get10 searching data lines 201 to 301 for image lines 0 to 321 in get10 searching data lines 301 to 401 for image lines 0 to 321 in get10 searching data lines 401 to 501 for image lines 0 to 321 in get10 searching data lines 501 to 601 for image lines 0 to 321 in get10 searching data lines 601 to 701 for image lines 0 to 321 in get10 searching data lines 701 to 801 for image lines 0 to 321 in get10 searching data lines 801 to 901 for image lines 0 to 321 in get10 searching data lines 901 to 1001 for image lines 0 to 321 in get10 searching data lines 1001 to 1101 for image lines 0 to 321 in get10 searching data lines 1101 to 1201 for image lines 0 to 321 in get10 searching data lines 1201 to 1301 for image lines 0 to 321 in get10 searching data lines 1301 to 1401 for image lines 0 to 321 in get10 searching data lines 1401 to 1501 for image lines 0 to 321 in get10 searching data lines 1501 to 1601 for image lines 0 to 321 in get10 searching data lines 1601 to 1701 for image lines 0 to 321 in get10 searching data lines 1701 to 1801 for image lines 0 to 321 in get10 searching data lines 1801 to 1901 for image lines 0 to 321 done processing 1966 lines in get10 searching data lines 1901 to 2001 for image lines 0 to 321 dumping SZA array in dumpother j1: 0 j2: 321 ysize: 321 fpother: 1883758552 writing other type image in dumpother j1: 0 j2: 321 ysize: 321 fpother: 1883758704 writing other type image *************** dashY: y dumping ELEV array in dumpother j1: 0 j2: 321 ysize: 321 fpother: 1883759160 writing other type image dumping AZIM array in dumpother j1: 0 j2: 321 ysize: 321 fpother: 1883759008 writing other type image constructing TIME array in puttime j1: 0 j2: 321 ysize: 321 dumping TIME array in dumpother j1: 0 j2: 321 ysize: 321 fpother: 1883758856 writing other type image nchan: 5 dumping ch: 0 fp: 1883759312 about to dump image number: 0 channel: 1 xsize: 321 ysize: 321 IN WRITEIMAGE chan: 0 fp: 1883759312 DOne with dumpimage fp: 1883759312 have dumped ch: 0 fp: 1883759312 dumping ch: 1 fp: 1883759464 about to dump image number: 1 channel: 2 xsize: 321 ysize: 321 IN WRITEIMAGE chan: 1 fp: 1883759464 DOne with dumpimage fp: 1883759464 have dumped ch: 1 fp: 1883759464 dumping ch: 2 fp: 1883759616 about to dump image number: 2 channel: 3 xsize: 321 ysize: 321 IN WRITEIMAGE chan: 2 fp: 1883759616 DOne with dumpimage fp: 1883759616 have dumped ch: 2 fp: 1883759616 dumping ch: 3 fp: 1883759768 about to dump image number: 3 channel: 4 xsize: 321 ysize: 321 IN WRITEIMAGE chan: 3 fp: 1883759768 DOne with dumpimage fp: 1883759768 have dumped ch: 3 fp: 1883759768 dumping ch: 4 fp: 1883759920 about to dump image number: 4 channel: 5 xsize: 321 ysize: 321 IN WRITEIMAGE chan: 4 fp: 1883759920 DOne with dumpimage fp: 1883759920 have dumped ch: 4 fp: 1883759920 About to write headers fp: 1883759768 done with navigation--retrieving data ***** Running polar regions subsetting at Fri Jan 14 02:17:47 CST 2011 ***** Working on year and julian day (yyddd): 11013 (2011 Jan 13) command line args: ephemfile: /Users/jkey/nav/ephemeris northlimit: 60.000000 southlimit: -60.000000 data is type: G sds-type is: H region is: O SDS GAC data selected. year: 2011 day: 13 miilsecs: 9483578 before md doy: 13 year: 2011 **julianday: 10970 year: 2011 day: 13 miilsecs: 9483578 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 year: 2011 day: 13 miilsecs: 9484078 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 year: 2011 day: 13 miilsecs: 9484578 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 taos: 9483578 satid: 16 julian day: 10970 nlines: 11836 GOING INTO initorb4 satnum: 16 navsatid: 26536 calling readephem taos: 10970.109764 opening ephemeris after opening ephemeris size: 76 *******ephemeris elements ************ satid: 26536 orbit: 65195 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 ecc: 0.001062 argper: 0.364140 ascnode: 0.799605 inclin: 0.275446 ephoc: 110105000000 **************************** ******ephemnot structure follows*******: satid: 26536 orbit: 65195 size: 76 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 eccen: 0.001062 argper: 0.364140 ascenode: 0.799605 inclin: 0.275446 earadius: 6378137.000000 oblat: 0.001083 ***************************************************************** YEAR HERE: 11 *********epheminit structure follows******* timnot: 10962.000000 smajaxis: 1.132905 decay: -0.000000 eccen: 0.001062 inclin: 1.730681 argper: 2.287962 perrate: -0.000551 longan: 5.024068 nodrate: 0.000201 ,meananom: 1.717550 meanmot: 0.828813 meanmotrate: 0.000000 grav constant: 398598005011040.375000 ***************************************************************** ******** current elements follow******** taos: 10970.109764 time: 10970.109764 smajaxis: 7225817.125678 eccentricity: 0.001062 inclin: 1.730681 argper: 1.891129 longan: -1.943714 meananom: 721.507019 trueanom: 721.505166 altitude: 7222067.418806 ********************************************** ******** current elements follow******** taos: 10970.109764 time: 10970.109764 smajaxis: 7225817.125678 eccentricity: 0.001062 inclin: 1.730681 argper: 1.891129 longan: -1.943714 meananom: 721.507019 trueanom: 721.505166 altitude: 7222067.418806 ********************************************** SPECIFIC DATA: bytesperline: 4608 scanspersec: 2.000000 line : 0 10970.109764 46.953520 -121.219506 7220081.099327 line : 100 10970.110342 49.810396 -122.482901 7219313.548467 line : 200 10970.110921 52.654846 -123.877731 7218576.513808 line : 300 10970.111500 55.484191 -125.436564 7217873.123083 line : 400 10970.112078 58.294828 -127.202906 7217206.380159 Opening data.NORTH1 and writing header line: 462 line : 500 10970.112657 61.081783 -129.236071 7216579.144904 line : 600 10970.113236 63.838013 -131.618717 7215994.113912 line : 700 10970.113815 66.553239 -134.468787 7215453.802279 line : 800 10970.114393 69.211979 -137.958671 7214960.526596 line : 900 10970.114972 71.790090 -142.346013 7214516.389311 line : 1000 10970.115551 74.248560 -148.021280 7214123.264601 line : 1100 10970.116129 76.522379 -155.570004 7213782.785902 line : 1200 10970.116708 78.502059 -165.802902 7213496.335193 line : 1300 10970.117287 80.011640 -179.547210 7213265.034142 line : 1400 10970.117865 80.816621 163.234667 7213089.737199 line : 1500 10970.118444 80.731663 144.657700 7212971.026687 line : 1600 10970.119023 79.778828 127.990257 7212909.209939 line : 1700 10970.119602 78.165668 114.933870 7212904.318511 line : 1800 10970.120180 76.120183 105.263304 7212956.109461 line : 1900 10970.120759 73.804942 98.114071 7213064.068685 line : 2000 10970.121338 71.319514 92.713189 7213227.416272 line : 2100 10970.121916 68.722973 88.515613 7213445.113821 line : 2200 10970.122495 66.050940 85.159746 7213715.873640 line : 2300 10970.123074 63.325607 82.406657 7214038.169740 line : 2400 10970.123653 60.561297 80.095873 7214410.250506 line : 2500 10970.124231 57.767580 78.117126 7214830.152931 line : 2600 10970.124810 54.951054 76.392788 7215295.718249 line : 2700 10970.125389 52.116401 74.866924 7215804.608840 line : 2800 10970.125967 49.267032 73.498347 7216354.326217 line : 2900 10970.126546 46.405497 72.256116 7216942.229939 line : 3000 10970.127125 43.533745 71.116562 7217565.557251 line : 3100 10970.127703 40.653303 70.061269 7218221.443277 line : 3200 10970.128282 37.765394 69.075686 7218906.941562 line : 3300 10970.128861 34.871024 68.148147 7219619.044776 line : 3400 10970.129440 31.971034 67.269168 7220354.705382 line : 3500 10970.130018 29.066152 66.430935 7221110.856086 line : 3600 10970.130597 26.157015 65.626927 7221884.429863 line : 3700 10970.131176 23.244195 64.851630 7222672.379408 line : 3800 10970.131754 20.328218 64.100320 7223471.695805 line : 3900 10970.132333 17.409574 63.368890 7224279.426291 line : 4000 10970.132912 14.488727 62.653722 7225092.690923 line : 4100 10970.133490 11.566121 61.951578 7225908.698050 line : 4200 10970.134069 8.642186 61.259512 7226724.758434 line : 4300 10970.134648 5.717345 60.574798 7227538.297941 line : 4400 10970.135227 2.792009 59.894863 7228346.868688 line : 4500 10970.135805 -0.133411 59.217238 7229148.158589 line : 4600 10970.136384 -3.058510 58.539499 7229939.999232 line : 4700 10970.136963 -5.982882 57.859222 7230720.372067 line : 4800 10970.137541 -8.906120 57.173931 7231487.412867 line : 4900 10970.138120 -11.827816 56.481048 7232239.414479 line : 5000 10970.138699 -14.747556 55.777835 7232974.827868 line : 5100 10970.139278 -17.664918 55.061331 7233692.261511 line : 5200 10970.139856 -20.579466 54.328278 7234390.479176 line : 5300 10970.140435 -23.490750 53.575034 7235068.396165 line : 5400 10970.141014 -26.398293 52.797465 7235725.074109 line : 5500 10970.141592 -29.301584 51.990807 7236359.714413 line : 5600 10970.142171 -32.200065 51.149502 7236971.650470 line : 5700 10970.142750 -35.093115 50.266972 7237560.338760 line : 5800 10970.143328 -37.980025 49.335336 7238125.348986 line : 5900 10970.143907 -40.859970 48.345024 7238666.353378 line : 6000 10970.144486 -43.731962 47.284265 7239183.115327 line : 6100 10970.145065 -46.594794 46.138374 7239675.477510 line : 6200 10970.145643 -49.446955 44.888769 7240143.349658 line : 6300 10970.146222 -52.286507 43.511566 7240586.696138 line : 6400 10970.146801 -55.110911 41.975551 7241005.523516 line : 6500 10970.147379 -57.916760 40.239180 7241399.868255 Opening data.SOUTH1 and writing header line: 6575 line : 6600 10970.147958 -60.699366 38.246059 7241769.784719 line : 6700 10970.148537 -63.452115 35.917967 7242115.333629 line : 6800 10970.149115 -66.165400 33.143878 7242436.571115 line : 6900 10970.149694 -68.824829 29.762422 7242733.538519 line : 7000 10970.150273 -71.408098 25.533766 7243006.253065 line : 7100 10970.150852 -73.879407 20.096018 7243254.699513 line : 7200 10970.151430 -76.179430 12.906294 7243478.822920 line : 7300 10970.152009 -78.208361 3.201223 7243678.522578 line : 7400 10970.152588 -79.803846 -9.857532 7243853.647228 line : 7500 10970.153166 -80.739699 -26.453745 7244003.991600 line : 7600 10970.153745 -80.812459 -44.880256 7244129.294331 line : 7700 10970.154324 -80.003370 -61.941402 7244229.237297 line : 7800 10970.154903 -78.496918 -75.584511 7244303.446358 line : 7900 10970.155481 -76.524729 -85.770243 7244351.493539 line : 8000 10970.156060 -74.260546 -93.303098 7244372.900604 line : 8100 10970.156639 -71.812661 -98.977330 7244367.144002 line : 8200 10970.157217 -69.245494 -103.369926 7244333.661124 line : 8300 10970.157796 -66.597762 -106.867353 7244271.857819 line : 8400 10970.158375 -63.893451 -109.725460 7244181.117067 line : 8500 10970.158953 -61.147952 -112.115864 7244060.808732 line : 8600 10970.159532 -58.371482 -114.156198 7243910.300270 line : 8700 10970.160111 -55.571042 -115.929028 7243728.968282 line : 8800 10970.160690 -52.751570 -117.493670 7243516.210778 line : 8900 10970.161268 -49.916638 -118.893673 7243271.460003 line : 9000 10970.161847 -47.068898 -120.161660 7242994.195687 line : 9100 10970.162426 -44.210361 -121.322522 7242683.958559 line : 9200 10970.163004 -41.342592 -122.395577 7242340.363959 line : 9300 10970.163583 -38.466830 -123.396053 7241963.115392 line : 9400 10970.164162 -35.584087 -124.336129 7241552.017860 line : 9500 10970.164740 -32.695202 -125.225685 7241106.990797 line : 9600 10970.165319 -29.800891 -126.072840 7240628.080460 line : 9700 10970.165898 -26.901779 -126.884356 7240115.471599 line : 9800 10970.166477 -23.998422 -127.665936 7239569.498271 line : 9900 10970.167055 -21.091327 -128.422453 7238990.653635 line : 10000 10970.167634 -18.180966 -129.158131 7238379.598607 line : 10100 10970.168213 -15.267783 -129.876678 7237737.169235 line : 10200 10970.168791 -12.352204 -130.581404 7237064.382677 line : 10300 10970.169370 -9.434641 -131.275308 7236362.441697 line : 10400 10970.169949 -6.515499 -131.961153 7235632.737568 line : 10500 10970.170528 -3.595174 -132.641535 7234876.851325 line : 10600 10970.171106 -0.674062 -133.318936 7234096.553302 line : 10700 10970.171685 2.247443 -133.995778 7233293.800919 line : 10800 10970.172264 5.168947 -134.674473 7232470.734692 line : 10900 10970.172842 8.090055 -135.357470 7231629.672459 line : 11000 10970.173421 11.010364 -136.047309 7230773.101848 line : 11100 10970.174000 13.929468 -136.746675 7229903.671004 line : 11200 10970.174578 16.846949 -137.458457 7229024.177627 line : 11300 10970.175157 19.762377 -138.185821 7228137.556405 line : 11400 10970.175736 22.675304 -138.932294 7227246.864901 line : 11500 10970.176315 25.585258 -139.701865 7226355.268016 line : 11600 10970.176893 28.491731 -140.499114 7225466.021140 line : 11700 10970.177472 31.394173 -141.329370 7224582.452112 line : 11800 10970.178051 34.291968 -142.198919 7223707.942152 could not read line 11833 writing header for file 0 goint into getcorrectsdsvals year: 2011 day: 13 miilsecs: 9716078 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 going into makeheader with taos: 10970.112455 satid: 16 nlines: 1959 IN MAKEHEADER going into first make1btime in make1btime taos: 10970.112455 millsec: 9716078 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 after first make1btime in make1btime taos: 10970.116234 millsec: 10042578 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 DONE WITH MAKEHEADER writing header for file 2 goint into getcorrectsdsvals year: 2011 day: 13 miilsecs: 12772578 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 going into makeheader with taos: 10970.147831 satid: 16 nlines: 1967 IN MAKEHEADER going into first make1btime in make1btime taos: 10970.147831 millsec: 12772578 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 after first make1btime in make1btime taos: 10970.151625 millsec: 13100411 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 DONE WITH MAKEHEADER ***** Running navigation/calibration at Fri Jan 14 02:17:47 CST 2011 ***** Working on year and julian day (yyddd): 11013 (2011 Jan 13) no H option specified TBMFLAG: compval: 0 reading input header input header has been read satid from header : 2 XX satid: 16 getting time from firstline getting time in gettime in: 7 db 0 d 0 6b 0 94 41 6e year: 2011 day: 13 ymd year: 2011 ymd yeardif: 30 after getheader done with 1959 lines header count: 0 actual: 1959 header will be rewritten output header follows: satid: 16 orbnum: 0 nlines: 1959 julday: 10970 taos: 9716078 NEW PROCESSGENERICGAC year: 2011 input file is : tmp output file is : tmp.p new processraw opening raw file: tmp opening archive file and writing header to tmp.p header written to newdataset dumsat: 3 satid from first line is: 16 year before julianday call: 2011 firstline curday: 13 julian: 10970 time: 9716078 linein: 0 curtime: 9716578 lasttime: 9716078 lastgood: 9716078 timdif: 500 linein: 100 curtime: 9766578 lasttime: 9766078 lastgood: 9766078 timdif: 500 linein: 200 curtime: 9816578 lasttime: 9816078 lastgood: 9816078 timdif: 500 linein: 300 curtime: 9866578 lasttime: 9866078 lastgood: 9866078 timdif: 500 linein: 400 curtime: 9916578 lasttime: 9916078 lastgood: 9916078 timdif: 500 linein: 500 curtime: 9966578 lasttime: 9966078 lastgood: 9966078 timdif: 500 linein: 600 curtime: 10016578 lasttime: 10016078 lastgood: 10016078 timdif: 500 linein: 700 curtime: 10066578 lasttime: 10066078 lastgood: 10066078 timdif: 500 linein: 800 curtime: 10116578 lasttime: 10116078 lastgood: 10116078 timdif: 500 linein: 900 curtime: 10166578 lasttime: 10166078 lastgood: 10166078 timdif: 500 linein: 1000 curtime: 10216578 lasttime: 10216078 lastgood: 10216078 timdif: 500 linein: 1100 curtime: 10266578 lasttime: 10266078 lastgood: 10266078 timdif: 500 linein: 1200 curtime: 10316578 lasttime: 10316078 lastgood: 10316078 timdif: 500 linein: 1300 curtime: 10366578 lasttime: 10366078 lastgood: 10366078 timdif: 500 linein: 1400 curtime: 10416578 lasttime: 10416078 lastgood: 10416078 timdif: 500 linein: 1500 curtime: 10466578 lasttime: 10466078 lastgood: 10466078 timdif: 500 linein: 1600 curtime: 10516578 lasttime: 10516078 lastgood: 10516078 timdif: 500 linein: 1700 curtime: 10566578 lasttime: 10566078 lastgood: 10566078 timdif: 500 linein: 1800 curtime: 10616578 lasttime: 10616078 lastgood: 10616078 timdif: 500 linein: 1900 curtime: 10666578 lasttime: 10666078 lastgood: 10666078 timdif: 500 could not read line bytes read: 0 error reading line: 1958 archive corect to here will rewrite header correctly cleaning up archive file new header being written as: satid: 16 orbit number: 0 dum: 0 number of lines: 1959 julian day: 10970d time of first scan: 2.698910 processing GAC data satid: 16 orbit number: 0 dum: 0 number of lines: 1959 julian day: 10970d time of first scan: 2.698910 Seasonal correction for julian date 10970.112455 = 0.967300 flag is : S 11/01/13 00:00:00110113000000 year: 11 month: 1 day: 13 dayofyear: 13 file containing coefficients is COEFFS.16 calling openparm16 before sprintf parmfilename: /Users/jkey/nav/cal/calib16.dat i: 0 nu: 2226.179930 i: 1 nu: 782.472410 i: 2 nu: 714.285640 chan: 0 nuc: 2700.114800 A: 1.592459 B: 0.998147 chan: 1 nuc: 917.228900 A: 0.332380 B: 0.998522 chan: 2 nuc: 838.125500 A: 0.674623 B: 0.998363 i: 0 wave:0.000000 i: 1 wave:0.000000 i: 2 wave:2700.114800 i: 3 wave:917.228900 i: 4 wave:838.125500 before look for Z after look for Z about to leave openparm newflag is 1: 1 about to open: tmp.p headstuff: sat: 16 orb: 0 julianday: 10970 taos: 9716078 length of headstuff: 57 headstuff: sat: 16 orb: 0 julianday: 10970 taos: 9716078 0.000 0.000 2700.1148 917.2289 838.1255 length of headstuff: 106 ************** results of initial calibration ******** from header firstday is : 13 arcsize: 5626 in sequence numlines: 1 day: 13 val: 392 arcsize: 5626 in sequence numlines: 2 day: 13 val: 0 realline before: 2 spaceref: 0.000000 targtemp: 296.594587 space rad: 0.000000 -4.500000 -3.610000 average space counts: 990.340000 991.200000 994.260000 average internal counts: 793.860000 397.140000 381.640000 satid: 16 launch_indx: -1 chan: 3 radspace: 0.000000 radtarget: 0.502951 spacebar:990.340000 internalbar: 793.860000 chan: 3 radspace: 0.000000 radtarget: 0.502951 spacebar:990.340000 internalbar: 793.860000 gain: -0.002560 offset: 2.535082 chan: 4 radspace: -4.500000 radtarget: 108.489965 spacebar:991.200000 internalbar: 397.140000 chan: 4 radspace: -4.500000 radtarget: 108.489965 spacebar:991.200000 internalbar: 397.140000 gain: -0.190200 offset: 184.025833 chan: 5 radspace: -3.610000 radtarget: 122.683753 spacebar:994.260000 internalbar: 381.640000 chan: 5 radspace: -3.610000 radtarget: 122.683753 spacebar:994.260000 internalbar: 381.640000 gain: -0.206153 offset: 201.360168 gain after: 0.054943 gain after: 0.054943 gain and offset up to scan line 52 : 0.054943 -2.115872 0.057651 -2.330806 -0.002560 2.535082 -0.190200 184.025833 -0.206153 201.360168 ************************************************************ trouble reading line in main DONE WITH CALIBRATION there were 1959 lines done THIS IS ACTUALLY rawcal15_new AS IT SHOULD BE CALIBRATION FILE: COEFFS.16 RADFLAG: 1 calib_dir: /Users/jkey/nav/cal name of caldatfile is: /Users/jkey/nav/cal/calibnew16.dat have found CENTRAL WAVE in string CENTRAL WAVE NUMBER TABLE 190.000000 230.000000 2638.652000 928.260300 834.449600 230.000000 270.000000 2642.807000 928.828400 834.806600 270.000000 310.000000 2645.899000 929.332300 835.164700 have found SPLIT CAL in string SPLIT CAL TABLE SPLIT GAINS and OFFSETS CHAN 1 count 0-490 gain: 0.052300 offset: -2.016000 CHAN 1 count 491-1023 gain: 0.152800 offset: -51.910000 CHAN 2 count 0-500 gain: 0.051300 offset: -1.943000 CHAN 2 count 501-1023 gain: 0.151000 offset: -51.770000 CHAN 3 count 0-499 gain: 0.028700 offset: -2.043000 CHAN 3 count 500-1023 gain: 0.180600 offset: -78.030000 WE ARE GOING NON LINEAR name of caldatfile is: /Users/jkey/nav/cal/calibnew16.dat have found NON LINEAR in string ABOUT TO READ NON LINEAR MATRIX have READ NON LINEAR MATRIX DONE WITH NON LINEAR STUFF have found NEW COEFFS in string ABOUT TO READ NEW COEFFS i: 0 NUC: 2700.114800 Anew: 1.592459 Bnew: 0.998147 NS: 0.000000 B0: 0.000000 B1: 0.000000 B2: 0.000000 i: 1 NUC: 917.228900 Anew: 0.332380 Bnew: 0.998522 NS: -2.467000 B0: 2.960000 B1: -0.054110 B2: 0.000245 i: 2 NUC: 838.125500 Anew: 0.674623 Bnew: 0.998363 NS: -2.009000 B0: 2.225000 B1: -0.036650 B2: 0.000149 DONE WITH NEW COEFFS calhead: sat: 16 orb: 0 julianday: 10970 taos: 9716078 0.000 0.000 2700.1148 917.2289 838.1255 e?/Users/jkey/nav/cal/calibnew16.dat calhead: 0.000 0.000 2700.1148 917.2289 838.1255 e?/Users/jkey/nav/cal/calibnew16.dat wavecent: 0.000000 0.000000 2700.114800 917.228900 838.125500 INVWAVE: 0.000000 size of cal file is: 207866 have read in cal array number of lines 1959 doing raw line: 0 doing raw line: 500 doing raw line: 1000 doing raw line: 1500 TIME calculation WAS REQUESTED SZA calculation WAS REQUESTED LINE and SAMPLE DATA WAS REQUESTED OSCULATING CORRECTIONS WILL BE APPLIED dashv: temp: strlen: 0 dashH: n strlen: 1 AFTER GET OPTIONS GAC DATA OPTION HAS BEEN CHOOSEN AFTER INIT input file has been opened, fp: 1883758400 after openarc fp: 1883758400 sid: 16d orbnum: 0d numscan: 1959d milday: 9716078d *** data header *** satid: 16 orbit number: 0 number of lines: 1959 julian day: 10970 time of first scan: 2.698910 ******************** AFTER INITDATA julday: 10970 taos: 9716078 TIME OF FIRST SCAN : 11/01/13 02:41:56 looking for ephemeris data for taos: 10970.112455 opening ephemeris after opening ephemeris size: 76 *******ephemeris elements ************ satid: 26536 orbit: 65195 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 ecc: 0.001062 argper: 0.364140 ascnode: 0.799605 inclin: 0.275446 ephoc: 110105000000 **************************** ******ephemnot structure follows*******: satid: 26536 orbit: 65195 size: 76 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 eccen: 0.001062 argper: 0.364140 ascenode: 0.799605 inclin: 0.275446 earadius: 6378137.000000 oblat: 0.001083 ***************************************************************** *********epheminit structure follows******* timnot: 10962.000000 smajaxis: 1.132905 decay: -0.000000 eccen: 0.001062 inclin: 1.730681 argper: 2.287962 perrate: -0.000551 longan: 5.024068 nodrate: 0.000201 ,meananom: 1.717550 meanmot: 0.828813 meanmotrate: 0.000000 grav constant: 398598005011040.375000 ***************************************************************** satlat1: 1.046215 satlat2: 1.071419 asnflag: 1 DATA IS ASCENDING **************** INITAILIZATION OVER ****************** dashr: 81.38011 RANGE0: 81.380110 IN SATGEO line: 0 spot: 204 time: 10970.112455 IN SATGEO line: 5 spot: 204 time: 10970.112484 RANGE: 81.380110 Pass is Ascending at start center lat: 90.000000 center lon: 0.000000 range: 81.380110 images will be processed using chunks of 361 lines getting space for 10 bit image image.proj: 8 fpsza: 7047dfd8 fpsaza: 7047e070 opening 135286153.NSS.GHRR.NL.D11013.S0238.E0416.B5314748.GC.N1.1 OPENING chan: 0 fp: 1883759312 opening 135286153.NSS.GHRR.NL.D11013.S0238.E0416.B5314748.GC.N1.2 OPENING chan: 1 fp: 1883759464 opening 135286153.NSS.GHRR.NL.D11013.S0238.E0416.B5314748.GC.N1.3 OPENING chan: 2 fp: 1883759616 opening 135286153.NSS.GHRR.NL.D11013.S0238.E0416.B5314748.GC.N1.4 OPENING chan: 3 fp: 1883759768 opening 135286153.NSS.GHRR.NL.D11013.S0238.E0416.B5314748.GC.N1.5 OPENING chan: 4 fp: 1883759920 getting space for time array getting space for sza array getting space for saza array getting space for satelv array getting space for sataz array ************************************* total bytes malloced is : 4217234 ************************************* ******** current elements follow******** taos: 10970.112455 time: 10970.112455 smajaxis: 7225817.124223 eccentricity: 0.001062 inclin: 1.730734 argper: 1.890997 longan: -1.960705 meananom: 5.462734 trueanom: 5.461179 altitude: 7220574.853237 ********************************************** satpos: -2253408.813280 -2833984.589103 6242819.544176 satvel: 1952.105726 6246.675641 3525.996738 satlat: 59.887337 satlon: -128.489544 COMMAND>DASHD: n INTERPOLATION CHOOSEN , every 8 x pixel and every 8 ypixel going through pixels **** before templat: 29.712678 centtodet: 29.878633 CORNERS OF WHOLE IMAGE FOLLOW North West Corner lat: 29.878633 lon: 225.000000 North East Corner lat: 30.063244 lon: 135.159155 South East Corner lat: 30.248190 lon: 45.000000 South West Corner lat: 30.063244 lon: -45.159155 interpolation choosen every 8 i pixels and every 8 j pixels image will be processed in 1 chunks of 361 image lines segment 0 startj: 0 stopj: 361 starti: 0 stopi: 360 numj: 361 north west----- lat: 29.712678 lon: 225.000000 line: -999 spot: 85 north east----- lat: 29.896666 lon: 135.159155 line: -999 spot: -999 south east-----lat: 29.896666 lon: 44.840845 line: -999 spot: -999 south west-----lat: 29.712678 lon: -45.000000 line: -999 spot: -999 doing chunk number: 0 from line: 0 to line: 360 numcelx: 45 numcely: 45 extrai: 0 extraj: 0 ****minline: 0 maxline: 1957 in data aquisiton maxline: 1957 minline: 0 in data aquistion module image is contained within lines : 1 and 1957 data will be processed using 20 chunks of 100 lines in get10 searching data lines 1 to 101 for image lines 0 to 361 in get10 searching data lines 101 to 201 for image lines 0 to 361 in get10 searching data lines 201 to 301 for image lines 0 to 361 in get10 searching data lines 301 to 401 for image lines 0 to 361 in get10 searching data lines 401 to 501 for image lines 0 to 361 in get10 searching data lines 501 to 601 for image lines 0 to 361 in get10 searching data lines 601 to 701 for image lines 0 to 361 in get10 searching data lines 701 to 801 for image lines 0 to 361 in get10 searching data lines 801 to 901 for image lines 0 to 361 in get10 searching data lines 901 to 1001 for image lines 0 to 361 in get10 searching data lines 1001 to 1101 for image lines 0 to 361 in get10 searching data lines 1101 to 1201 for image lines 0 to 361 in get10 searching data lines 1201 to 1301 for image lines 0 to 361 in get10 searching data lines 1301 to 1401 for image lines 0 to 361 in get10 searching data lines 1401 to 1501 for image lines 0 to 361 in get10 searching data lines 1501 to 1601 for image lines 0 to 361 in get10 searching data lines 1601 to 1701 for image lines 0 to 361 in get10 searching data lines 1701 to 1801 for image lines 0 to 361 in get10 searching data lines 1801 to 1901 for image lines 0 to 361 done processing 1959 lines in get10 searching data lines 1901 to 2001 for image lines 0 to 361 dumping SZA array in dumpother j1: 0 j2: 361 ysize: 361 fpother: 1883758552 writing other type image in dumpother j1: 0 j2: 361 ysize: 361 fpother: 1883758704 writing other type image *************** dashY: y dumping ELEV array in dumpother j1: 0 j2: 361 ysize: 361 fpother: 1883759160 writing other type image dumping AZIM array in dumpother j1: 0 j2: 361 ysize: 361 fpother: 1883759008 writing other type image constructing TIME array in puttime j1: 0 j2: 361 ysize: 361 dumping TIME array in dumpother j1: 0 j2: 361 ysize: 361 fpother: 1883758856 writing other type image nchan: 5 dumping ch: 0 fp: 1883759312 about to dump image number: 0 channel: 1 xsize: 361 ysize: 361 IN WRITEIMAGE chan: 0 fp: 1883759312 DOne with dumpimage fp: 1883759312 have dumped ch: 0 fp: 1883759312 dumping ch: 1 fp: 1883759464 about to dump image number: 1 channel: 2 xsize: 361 ysize: 361 IN WRITEIMAGE chan: 1 fp: 1883759464 DOne with dumpimage fp: 1883759464 have dumped ch: 1 fp: 1883759464 dumping ch: 2 fp: 1883759616 about to dump image number: 2 channel: 3 xsize: 361 ysize: 361 IN WRITEIMAGE chan: 2 fp: 1883759616 DOne with dumpimage fp: 1883759616 have dumped ch: 2 fp: 1883759616 dumping ch: 3 fp: 1883759768 about to dump image number: 3 channel: 4 xsize: 361 ysize: 361 IN WRITEIMAGE chan: 3 fp: 1883759768 DOne with dumpimage fp: 1883759768 have dumped ch: 3 fp: 1883759768 dumping ch: 4 fp: 1883759920 about to dump image number: 4 channel: 5 xsize: 361 ysize: 361 IN WRITEIMAGE chan: 4 fp: 1883759920 DOne with dumpimage fp: 1883759920 have dumped ch: 4 fp: 1883759920 About to write headers fp: 1883759768 done with navigation--retrieving data ***** Running polar regions subsetting at Fri Jan 14 02:17:49 CST 2011 ***** Working on year and julian day (yyddd): 11013 (2011 Jan 13) command line args: ephemfile: /Users/jkey/nav/ephemeris northlimit: 60.000000 southlimit: -60.000000 data is type: G sds-type is: H region is: O SDS GAC data selected. year: 2011 day: 13 miilsecs: 9483578 before md doy: 13 year: 2011 **julianday: 10970 year: 2011 day: 13 miilsecs: 9483578 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 year: 2011 day: 13 miilsecs: 9484078 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 year: 2011 day: 13 miilsecs: 9484578 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 taos: 9483578 satid: 16 julian day: 10970 nlines: 11836 GOING INTO initorb4 satnum: 16 navsatid: 26536 calling readephem taos: 10970.109764 opening ephemeris after opening ephemeris size: 76 *******ephemeris elements ************ satid: 26536 orbit: 65195 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 ecc: 0.001062 argper: 0.364140 ascnode: 0.799605 inclin: 0.275446 ephoc: 110105000000 **************************** ******ephemnot structure follows*******: satid: 26536 orbit: 65195 size: 76 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 eccen: 0.001062 argper: 0.364140 ascenode: 0.799605 inclin: 0.275446 earadius: 6378137.000000 oblat: 0.001083 ***************************************************************** YEAR HERE: 11 *********epheminit structure follows******* timnot: 10962.000000 smajaxis: 1.132905 decay: -0.000000 eccen: 0.001062 inclin: 1.730681 argper: 2.287962 perrate: -0.000551 longan: 5.024068 nodrate: 0.000201 ,meananom: 1.717550 meanmot: 0.828813 meanmotrate: 0.000000 grav constant: 398598005011040.375000 ***************************************************************** ******** current elements follow******** taos: 10970.109764 time: 10970.109764 smajaxis: 7225817.125678 eccentricity: 0.001062 inclin: 1.730681 argper: 1.891129 longan: -1.943714 meananom: 721.507019 trueanom: 721.505166 altitude: 7222067.418806 ********************************************** ******** current elements follow******** taos: 10970.109764 time: 10970.109764 smajaxis: 7225817.125678 eccentricity: 0.001062 inclin: 1.730681 argper: 1.891129 longan: -1.943714 meananom: 721.507019 trueanom: 721.505166 altitude: 7222067.418806 ********************************************** SPECIFIC DATA: bytesperline: 4608 scanspersec: 2.000000 line : 0 10970.109764 46.953520 -121.219506 7220081.099327 line : 100 10970.110342 49.810396 -122.482901 7219313.548467 line : 200 10970.110921 52.654846 -123.877731 7218576.513808 line : 300 10970.111500 55.484191 -125.436564 7217873.123083 line : 400 10970.112078 58.294828 -127.202906 7217206.380159 Opening data.NORTH1 and writing header line: 462 line : 500 10970.112657 61.081783 -129.236071 7216579.144904 line : 600 10970.113236 63.838013 -131.618717 7215994.113912 line : 700 10970.113815 66.553239 -134.468787 7215453.802279 line : 800 10970.114393 69.211979 -137.958671 7214960.526596 line : 900 10970.114972 71.790090 -142.346013 7214516.389311 line : 1000 10970.115551 74.248560 -148.021280 7214123.264601 line : 1100 10970.116129 76.522379 -155.570004 7213782.785902 line : 1200 10970.116708 78.502059 -165.802902 7213496.335193 line : 1300 10970.117287 80.011640 -179.547210 7213265.034142 line : 1400 10970.117865 80.816621 163.234667 7213089.737199 line : 1500 10970.118444 80.731663 144.657700 7212971.026687 line : 1600 10970.119023 79.778828 127.990257 7212909.209939 line : 1700 10970.119602 78.165668 114.933870 7212904.318511 line : 1800 10970.120180 76.120183 105.263304 7212956.109461 line : 1900 10970.120759 73.804942 98.114071 7213064.068685 line : 2000 10970.121338 71.319514 92.713189 7213227.416272 line : 2100 10970.121916 68.722973 88.515613 7213445.113821 line : 2200 10970.122495 66.050940 85.159746 7213715.873640 line : 2300 10970.123074 63.325607 82.406657 7214038.169740 line : 2400 10970.123653 60.561297 80.095873 7214410.250506 line : 2500 10970.124231 57.767580 78.117126 7214830.152931 line : 2600 10970.124810 54.951054 76.392788 7215295.718249 line : 2700 10970.125389 52.116401 74.866924 7215804.608840 line : 2800 10970.125967 49.267032 73.498347 7216354.326217 line : 2900 10970.126546 46.405497 72.256116 7216942.229939 line : 3000 10970.127125 43.533745 71.116562 7217565.557251 line : 3100 10970.127703 40.653303 70.061269 7218221.443277 line : 3200 10970.128282 37.765394 69.075686 7218906.941562 line : 3300 10970.128861 34.871024 68.148147 7219619.044776 line : 3400 10970.129440 31.971034 67.269168 7220354.705382 line : 3500 10970.130018 29.066152 66.430935 7221110.856086 line : 3600 10970.130597 26.157015 65.626927 7221884.429863 line : 3700 10970.131176 23.244195 64.851630 7222672.379408 line : 3800 10970.131754 20.328218 64.100320 7223471.695805 line : 3900 10970.132333 17.409574 63.368890 7224279.426291 line : 4000 10970.132912 14.488727 62.653722 7225092.690923 line : 4100 10970.133490 11.566121 61.951578 7225908.698050 line : 4200 10970.134069 8.642186 61.259512 7226724.758434 line : 4300 10970.134648 5.717345 60.574798 7227538.297941 line : 4400 10970.135227 2.792009 59.894863 7228346.868688 line : 4500 10970.135805 -0.133411 59.217238 7229148.158589 line : 4600 10970.136384 -3.058510 58.539499 7229939.999232 line : 4700 10970.136963 -5.982882 57.859222 7230720.372067 line : 4800 10970.137541 -8.906120 57.173931 7231487.412867 line : 4900 10970.138120 -11.827816 56.481048 7232239.414479 line : 5000 10970.138699 -14.747556 55.777835 7232974.827868 line : 5100 10970.139278 -17.664918 55.061331 7233692.261511 line : 5200 10970.139856 -20.579466 54.328278 7234390.479176 line : 5300 10970.140435 -23.490750 53.575034 7235068.396165 line : 5400 10970.141014 -26.398293 52.797465 7235725.074109 line : 5500 10970.141592 -29.301584 51.990807 7236359.714413 line : 5600 10970.142171 -32.200065 51.149502 7236971.650470 line : 5700 10970.142750 -35.093115 50.266972 7237560.338760 line : 5800 10970.143328 -37.980025 49.335336 7238125.348986 line : 5900 10970.143907 -40.859970 48.345024 7238666.353378 line : 6000 10970.144486 -43.731962 47.284265 7239183.115327 line : 6100 10970.145065 -46.594794 46.138374 7239675.477510 line : 6200 10970.145643 -49.446955 44.888769 7240143.349658 line : 6300 10970.146222 -52.286507 43.511566 7240586.696138 line : 6400 10970.146801 -55.110911 41.975551 7241005.523516 line : 6500 10970.147379 -57.916760 40.239180 7241399.868255 Opening data.SOUTH1 and writing header line: 6575 line : 6600 10970.147958 -60.699366 38.246059 7241769.784719 line : 6700 10970.148537 -63.452115 35.917967 7242115.333629 line : 6800 10970.149115 -66.165400 33.143878 7242436.571115 line : 6900 10970.149694 -68.824829 29.762422 7242733.538519 line : 7000 10970.150273 -71.408098 25.533766 7243006.253065 line : 7100 10970.150852 -73.879407 20.096018 7243254.699513 line : 7200 10970.151430 -76.179430 12.906294 7243478.822920 line : 7300 10970.152009 -78.208361 3.201223 7243678.522578 line : 7400 10970.152588 -79.803846 -9.857532 7243853.647228 line : 7500 10970.153166 -80.739699 -26.453745 7244003.991600 line : 7600 10970.153745 -80.812459 -44.880256 7244129.294331 line : 7700 10970.154324 -80.003370 -61.941402 7244229.237297 line : 7800 10970.154903 -78.496918 -75.584511 7244303.446358 line : 7900 10970.155481 -76.524729 -85.770243 7244351.493539 line : 8000 10970.156060 -74.260546 -93.303098 7244372.900604 line : 8100 10970.156639 -71.812661 -98.977330 7244367.144002 line : 8200 10970.157217 -69.245494 -103.369926 7244333.661124 line : 8300 10970.157796 -66.597762 -106.867353 7244271.857819 line : 8400 10970.158375 -63.893451 -109.725460 7244181.117067 line : 8500 10970.158953 -61.147952 -112.115864 7244060.808732 line : 8600 10970.159532 -58.371482 -114.156198 7243910.300270 line : 8700 10970.160111 -55.571042 -115.929028 7243728.968282 line : 8800 10970.160690 -52.751570 -117.493670 7243516.210778 line : 8900 10970.161268 -49.916638 -118.893673 7243271.460003 line : 9000 10970.161847 -47.068898 -120.161660 7242994.195687 line : 9100 10970.162426 -44.210361 -121.322522 7242683.958559 line : 9200 10970.163004 -41.342592 -122.395577 7242340.363959 line : 9300 10970.163583 -38.466830 -123.396053 7241963.115392 line : 9400 10970.164162 -35.584087 -124.336129 7241552.017860 line : 9500 10970.164740 -32.695202 -125.225685 7241106.990797 line : 9600 10970.165319 -29.800891 -126.072840 7240628.080460 line : 9700 10970.165898 -26.901779 -126.884356 7240115.471599 line : 9800 10970.166477 -23.998422 -127.665936 7239569.498271 line : 9900 10970.167055 -21.091327 -128.422453 7238990.653635 line : 10000 10970.167634 -18.180966 -129.158131 7238379.598607 line : 10100 10970.168213 -15.267783 -129.876678 7237737.169235 line : 10200 10970.168791 -12.352204 -130.581404 7237064.382677 line : 10300 10970.169370 -9.434641 -131.275308 7236362.441697 line : 10400 10970.169949 -6.515499 -131.961153 7235632.737568 line : 10500 10970.170528 -3.595174 -132.641535 7234876.851325 line : 10600 10970.171106 -0.674062 -133.318936 7234096.553302 line : 10700 10970.171685 2.247443 -133.995778 7233293.800919 line : 10800 10970.172264 5.168947 -134.674473 7232470.734692 line : 10900 10970.172842 8.090055 -135.357470 7231629.672459 line : 11000 10970.173421 11.010364 -136.047309 7230773.101848 line : 11100 10970.174000 13.929468 -136.746675 7229903.671004 line : 11200 10970.174578 16.846949 -137.458457 7229024.177627 line : 11300 10970.175157 19.762377 -138.185821 7228137.556405 line : 11400 10970.175736 22.675304 -138.932294 7227246.864901 line : 11500 10970.176315 25.585258 -139.701865 7226355.268016 line : 11600 10970.176893 28.491731 -140.499114 7225466.021140 line : 11700 10970.177472 31.394173 -141.329370 7224582.452112 line : 11800 10970.178051 34.291968 -142.198919 7223707.942152 could not read line 11833 writing header for file 0 goint into getcorrectsdsvals year: 2011 day: 13 miilsecs: 9716078 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 going into makeheader with taos: 10970.112455 satid: 16 nlines: 1959 IN MAKEHEADER going into first make1btime in make1btime taos: 10970.112455 millsec: 9716078 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 after first make1btime in make1btime taos: 10970.116234 millsec: 10042578 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 DONE WITH MAKEHEADER writing header for file 2 goint into getcorrectsdsvals year: 2011 day: 13 miilsecs: 12772578 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 going into makeheader with taos: 10970.147831 satid: 16 nlines: 1967 IN MAKEHEADER going into first make1btime in make1btime taos: 10970.147831 millsec: 12772578 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 after first make1btime in make1btime taos: 10970.151625 millsec: 13100411 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 DONE WITH MAKEHEADER ***** Running navigation/calibration at Fri Jan 14 02:17:49 CST 2011 ***** Working on year and julian day (yyddd): 11013 (2011 Jan 13) no H option specified TBMFLAG: compval: 0 reading input header input header has been read satid from header : 2 XX satid: 16 getting time from firstline getting time in gettime in: 7 db 0 d 0 6b 0 c2 e4 e2 year: 2011 day: 13 ymd year: 2011 ymd yeardif: 30 after getheader done with 1967 lines header count: 0 actual: 1967 header will be rewritten output header follows: satid: 16 orbnum: 0 nlines: 1967 julday: 10970 taos: 12772578 NEW PROCESSGENERICGAC year: 2011 input file is : tmp output file is : tmp.p new processraw opening raw file: tmp opening archive file and writing header to tmp.p header written to newdataset dumsat: 3 satid from first line is: 16 year before julianday call: 2011 firstline curday: 13 julian: 10970 time: 12772578 linein: 0 curtime: 12773078 lasttime: 12772578 lastgood: 12772578 timdif: 500 linein: 100 curtime: 12823078 lasttime: 12822578 lastgood: 12822578 timdif: 500 linein: 200 curtime: 12873078 lasttime: 12872578 lastgood: 12872578 timdif: 500 linein: 300 curtime: 12923078 lasttime: 12922578 lastgood: 12922578 timdif: 500 linein: 400 curtime: 12973078 lasttime: 12972578 lastgood: 12972578 timdif: 500 linein: 500 curtime: 13023078 lasttime: 13022578 lastgood: 13022578 timdif: 500 linein: 600 curtime: 13073078 lasttime: 13072578 lastgood: 13072578 timdif: 500 linein: 700 curtime: 13123078 lasttime: 13122578 lastgood: 13122578 timdif: 500 linein: 800 curtime: 13173078 lasttime: 13172578 lastgood: 13172578 timdif: 500 linein: 900 curtime: 13223078 lasttime: 13222578 lastgood: 13222578 timdif: 500 linein: 1000 curtime: 13273078 lasttime: 13272578 lastgood: 13272578 timdif: 500 linein: 1100 curtime: 13323078 lasttime: 13322578 lastgood: 13322578 timdif: 500 linein: 1200 curtime: 13373078 lasttime: 13372578 lastgood: 13372578 timdif: 500 linein: 1300 curtime: 13423078 lasttime: 13422578 lastgood: 13422578 timdif: 500 linein: 1400 curtime: 13473078 lasttime: 13472578 lastgood: 13472578 timdif: 500 linein: 1500 curtime: 13523078 lasttime: 13522578 lastgood: 13522578 timdif: 500 linein: 1600 curtime: 13573078 lasttime: 13572578 lastgood: 13572578 timdif: 500 linein: 1700 curtime: 13623078 lasttime: 13622578 lastgood: 13622578 timdif: 500 linein: 1800 curtime: 13673078 lasttime: 13672578 lastgood: 13672578 timdif: 500 linein: 1900 curtime: 13723078 lasttime: 13722578 lastgood: 13722578 timdif: 500 could not read line bytes read: 0 error reading line: 1966 archive corect to here will rewrite header correctly cleaning up archive file new header being written as: satid: 16 orbit number: 0 dum: 0 number of lines: 1967 julian day: 10970d time of first scan: 3.547938 processing GAC data satid: 16 orbit number: 0 dum: 0 number of lines: 1967 julian day: 10970d time of first scan: 3.547938 Seasonal correction for julian date 10970.147831 = 0.967303 flag is : S 11/01/13 00:00:00110113000000 year: 11 month: 1 day: 13 dayofyear: 13 file containing coefficients is COEFFS.16 calling openparm16 before sprintf parmfilename: /Users/jkey/nav/cal/calib16.dat i: 0 nu: 2226.179930 i: 1 nu: 782.472410 i: 2 nu: 714.285640 chan: 0 nuc: 2700.114800 A: 1.592459 B: 0.998147 chan: 1 nuc: 917.228900 A: 0.332380 B: 0.998522 chan: 2 nuc: 838.125500 A: 0.674623 B: 0.998363 i: 0 wave:0.000000 i: 1 wave:0.000000 i: 2 wave:2700.114800 i: 3 wave:917.228900 i: 4 wave:838.125500 before look for Z after look for Z about to leave openparm newflag is 1: 1 about to open: tmp.p headstuff: sat: 16 orb: 0 julianday: 10970 taos: 12772578 length of headstuff: 57 headstuff: sat: 16 orb: 0 julianday: 10970 taos: 12772578 0.000 0.000 2700.1148 917.2289 838.1255 length of headstuff: 106 ************** results of initial calibration ******** from header firstday is : 13 arcsize: 5626 in sequence numlines: 1 day: 13 val: 406 arcsize: 5626 in sequence numlines: 2 day: 13 val: 412 arcsize: 5626 in sequence numlines: 3 day: 13 val: 417 arcsize: 5626 in sequence numlines: 4 day: 13 val: 0 realline before: 4 spaceref: 0.000000 targtemp: 297.746603 space rad: 0.000000 -4.500000 -3.610000 average space counts: 990.560000 991.300000 994.300000 average internal counts: 784.640000 389.740000 373.360000 satid: 16 launch_indx: -1 chan: 3 radspace: 0.000000 radtarget: 0.528861 spacebar:990.560000 internalbar: 784.640000 chan: 3 radspace: 0.000000 radtarget: 0.528861 spacebar:990.560000 internalbar: 784.640000 gain: -0.002568 offset: 2.544039 chan: 4 radspace: -4.500000 radtarget: 110.395007 spacebar:991.300000 internalbar: 389.740000 chan: 4 radspace: -4.500000 radtarget: 110.395007 spacebar:991.300000 internalbar: 389.740000 gain: -0.190995 offset: 184.833435 chan: 5 radspace: -3.610000 radtarget: 124.657717 spacebar:994.300000 internalbar: 373.360000 chan: 5 radspace: -3.610000 radtarget: 124.657717 spacebar:994.300000 internalbar: 373.360000 gain: -0.206570 offset: 201.782776 gain after: 0.054943 gain after: 0.054943 gain and offset up to scan line 54 : 0.054943 -2.115880 0.057651 -2.330814 -0.002568 2.544039 -0.190995 184.833435 -0.206570 201.782776 ************************************************************ trouble reading line in main DONE WITH CALIBRATION there were 1967 lines done THIS IS ACTUALLY rawcal15_new AS IT SHOULD BE CALIBRATION FILE: COEFFS.16 RADFLAG: 1 calib_dir: /Users/jkey/nav/cal name of caldatfile is: /Users/jkey/nav/cal/calibnew16.dat have found CENTRAL WAVE in string CENTRAL WAVE NUMBER TABLE 190.000000 230.000000 2638.652000 928.260300 834.449600 230.000000 270.000000 2642.807000 928.828400 834.806600 270.000000 310.000000 2645.899000 929.332300 835.164700 have found SPLIT CAL in string SPLIT CAL TABLE SPLIT GAINS and OFFSETS CHAN 1 count 0-490 gain: 0.052300 offset: -2.016000 CHAN 1 count 491-1023 gain: 0.152800 offset: -51.910000 CHAN 2 count 0-500 gain: 0.051300 offset: -1.943000 CHAN 2 count 501-1023 gain: 0.151000 offset: -51.770000 CHAN 3 count 0-499 gain: 0.028700 offset: -2.043000 CHAN 3 count 500-1023 gain: 0.180600 offset: -78.030000 WE ARE GOING NON LINEAR name of caldatfile is: /Users/jkey/nav/cal/calibnew16.dat have found NON LINEAR in string ABOUT TO READ NON LINEAR MATRIX have READ NON LINEAR MATRIX DONE WITH NON LINEAR STUFF have found NEW COEFFS in string ABOUT TO READ NEW COEFFS i: 0 NUC: 2700.114800 Anew: 1.592459 Bnew: 0.998147 NS: 0.000000 B0: 0.000000 B1: 0.000000 B2: 0.000000 i: 1 NUC: 917.228900 Anew: 0.332380 Bnew: 0.998522 NS: -2.467000 B0: 2.960000 B1: -0.054110 B2: 0.000245 i: 2 NUC: 838.125500 Anew: 0.674623 Bnew: 0.998363 NS: -2.009000 B0: 2.225000 B1: -0.036650 B2: 0.000149 DONE WITH NEW COEFFS calhead: sat: 16 orb: 0 julianday: 10970 taos: 12772578 0.000 0.000 2700.1148 917.2289 838.1255 Nh0z/Users/jkey/nav/cal/calibnew16.dat calhead: 0.000 0.000 2700.1148 917.2289 838.1255 Nh0z/Users/jkey/nav/cal/calibnew16.dat wavecent: 0.000000 0.000000 2700.114800 917.228900 838.125500 INVWAVE: 0.000000 size of cal file is: 208714 have read in cal array number of lines 1967 doing raw line: 0 doing raw line: 500 doing raw line: 1000 doing raw line: 1500 TIME calculation WAS REQUESTED SZA calculation WAS REQUESTED LINE and SAMPLE DATA WAS REQUESTED OSCULATING CORRECTIONS WILL BE APPLIED dashv: temp: strlen: 0 dashH: n strlen: 1 AFTER GET OPTIONS GAC DATA OPTION HAS BEEN CHOOSEN AFTER INIT input file has been opened, fp: 1883758400 after openarc fp: 1883758400 sid: 16d orbnum: 0d numscan: 1967d milday: 12772578d *** data header *** satid: 16 orbit number: 0 number of lines: 1967 julian day: 10970 time of first scan: 3.547938 ******************** AFTER INITDATA julday: 10970 taos: 12772578 TIME OF FIRST SCAN : 11/01/13 03:32:53 looking for ephemeris data for taos: 10970.147831 opening ephemeris after opening ephemeris size: 76 *******ephemeris elements ************ satid: 26536 orbit: 65195 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 ecc: 0.001062 argper: 0.364140 ascnode: 0.799605 inclin: 0.275446 ephoc: 110105000000 **************************** ******ephemnot structure follows*******: satid: 26536 orbit: 65195 size: 76 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 eccen: 0.001062 argper: 0.364140 ascenode: 0.799605 inclin: 0.275446 earadius: 6378137.000000 oblat: 0.001083 ***************************************************************** *********epheminit structure follows******* timnot: 10962.000000 smajaxis: 1.132905 decay: -0.000000 eccen: 0.001062 inclin: 1.730681 argper: 2.287962 perrate: -0.000551 longan: 5.024068 nodrate: 0.000201 ,meananom: 1.717550 meanmot: 0.828813 meanmotrate: 0.000000 grav constant: 398598005011040.375000 ***************************************************************** satlat1: -1.045866 satlat2: -1.070998 asnflag: -1 DATA IS DESCENDING **************** INITAILIZATION OVER ****************** dashr: 72.363 RANGE0: 72.363000 IN SATGEO line: 0 spot: 204 time: 10970.147831 IN SATGEO line: 5 spot: 204 time: 10970.147860 RANGE: 72.363000 Pass is Descending at start center lat: -89.999943 center lon: 180.000000 range: 72.363000 images will be processed using chunks of 321 lines getting space for 10 bit image image.proj: 8 fpsza: 7047dfd8 fpsaza: 7047e070 opening 135286153.NSS.GHRR.NL.D11013.S0238.E0416.B5314748.GC.S.1 OPENING chan: 0 fp: 1883759312 opening 135286153.NSS.GHRR.NL.D11013.S0238.E0416.B5314748.GC.S.2 OPENING chan: 1 fp: 1883759464 opening 135286153.NSS.GHRR.NL.D11013.S0238.E0416.B5314748.GC.S.3 OPENING chan: 2 fp: 1883759616 opening 135286153.NSS.GHRR.NL.D11013.S0238.E0416.B5314748.GC.S.4 OPENING chan: 3 fp: 1883759768 opening 135286153.NSS.GHRR.NL.D11013.S0238.E0416.B5314748.GC.S.5 OPENING chan: 4 fp: 1883759920 getting space for time array getting space for sza array getting space for saza array getting space for satelv array getting space for sataz array ************************************* total bytes malloced is : 3453394 ************************************* ******** current elements follow******** taos: 10970.147831 time: 10970.147831 smajaxis: 7225817.105097 eccentricity: 0.001062 inclin: 1.730734 argper: 1.889266 longan: -2.182957 meananom: 2.319395 trueanom: 2.320950 altitude: 7231058.280227 ********************************************** satpos: 2826584.526981 2265341.722894 -6270624.215928 satvel: -3267.344843 -5641.341638 -3519.201823 satlat: -59.986335 satlon: 38.710129 COMMAND>DASHD: n INTERPOLATION CHOOSEN , every 8 x pixel and every 8 ypixel going through pixels **** before templat: -36.957736 centtodet: -37.142800 CORNERS OF WHOLE IMAGE FOLLOW North West Corner lat: -37.142800 lon: -45.000061 North East Corner lat: -37.320927 lon: 44.821012 South East Corner lat: -37.499365 lon: 135.000061 South West Corner lat: -37.320826 lon: 225.178988 interpolation choosen every 8 i pixels and every 8 j pixels image will be processed in 1 chunks of 321 image lines segment 0 startj: 0 stopj: 321 starti: 0 stopi: 320 numj: 321 north west----- lat: -36.957736 lon: -45.000061 line: -999 spot: -999 north east----- lat: -37.135539 lon: 44.821012 line: -999 spot: -999 south east-----lat: -37.135438 lon: 135.179109 line: -999 spot: -999 south west-----lat: -36.957635 lon: 224.999939 line: -999 spot: 374 doing chunk number: 0 from line: 0 to line: 320 numcelx: 40 numcely: 40 extrai: 0 extraj: 0 ****minline: 0 maxline: 1966 in data aquisiton maxline: 1966 minline: 0 in data aquistion module image is contained within lines : 1 and 1966 data will be processed using 20 chunks of 100 lines in get10 searching data lines 1 to 101 for image lines 0 to 321 in get10 searching data lines 101 to 201 for image lines 0 to 321 in get10 searching data lines 201 to 301 for image lines 0 to 321 in get10 searching data lines 301 to 401 for image lines 0 to 321 in get10 searching data lines 401 to 501 for image lines 0 to 321 in get10 searching data lines 501 to 601 for image lines 0 to 321 in get10 searching data lines 601 to 701 for image lines 0 to 321 in get10 searching data lines 701 to 801 for image lines 0 to 321 in get10 searching data lines 801 to 901 for image lines 0 to 321 in get10 searching data lines 901 to 1001 for image lines 0 to 321 in get10 searching data lines 1001 to 1101 for image lines 0 to 321 in get10 searching data lines 1101 to 1201 for image lines 0 to 321 in get10 searching data lines 1201 to 1301 for image lines 0 to 321 in get10 searching data lines 1301 to 1401 for image lines 0 to 321 in get10 searching data lines 1401 to 1501 for image lines 0 to 321 in get10 searching data lines 1501 to 1601 for image lines 0 to 321 in get10 searching data lines 1601 to 1701 for image lines 0 to 321 in get10 searching data lines 1701 to 1801 for image lines 0 to 321 in get10 searching data lines 1801 to 1901 for image lines 0 to 321 Undefined error: 0 eof or error after 1965 lines in get10 searching data lines 1901 to 2001 for image lines 0 to 321 dumping SZA array in dumpother j1: 0 j2: 321 ysize: 321 fpother: 1883758552 writing other type image in dumpother j1: 0 j2: 321 ysize: 321 fpother: 1883758704 writing other type image *************** dashY: y dumping ELEV array in dumpother j1: 0 j2: 321 ysize: 321 fpother: 1883759160 writing other type image dumping AZIM array in dumpother j1: 0 j2: 321 ysize: 321 fpother: 1883759008 writing other type image constructing TIME array in puttime j1: 0 j2: 321 ysize: 321 dumping TIME array in dumpother j1: 0 j2: 321 ysize: 321 fpother: 1883758856 writing other type image nchan: 5 dumping ch: 0 fp: 1883759312 about to dump image number: 0 channel: 1 xsize: 321 ysize: 321 IN WRITEIMAGE chan: 0 fp: 1883759312 DOne with dumpimage fp: 1883759312 have dumped ch: 0 fp: 1883759312 dumping ch: 1 fp: 1883759464 about to dump image number: 1 channel: 2 xsize: 321 ysize: 321 IN WRITEIMAGE chan: 1 fp: 1883759464 DOne with dumpimage fp: 1883759464 have dumped ch: 1 fp: 1883759464 dumping ch: 2 fp: 1883759616 about to dump image number: 2 channel: 3 xsize: 321 ysize: 321 IN WRITEIMAGE chan: 2 fp: 1883759616 DOne with dumpimage fp: 1883759616 have dumped ch: 2 fp: 1883759616 dumping ch: 3 fp: 1883759768 about to dump image number: 3 channel: 4 xsize: 321 ysize: 321 IN WRITEIMAGE chan: 3 fp: 1883759768 DOne with dumpimage fp: 1883759768 have dumped ch: 3 fp: 1883759768 dumping ch: 4 fp: 1883759920 about to dump image number: 4 channel: 5 xsize: 321 ysize: 321 IN WRITEIMAGE chan: 4 fp: 1883759920 DOne with dumpimage fp: 1883759920 have dumped ch: 4 fp: 1883759920 About to write headers fp: 1883759768 done with navigation--retrieving data ***** Running polar regions subsetting at Fri Jan 14 02:17:50 CST 2011 ***** Working on year and julian day (yyddd): 11013 (2011 Jan 13) command line args: ephemfile: /Users/jkey/nav/ephemeris northlimit: 60.000000 southlimit: -60.000000 data is type: G sds-type is: H region is: O SDS GAC data selected. year: 2011 day: 13 miilsecs: 15115578 before md doy: 13 year: 2011 **julianday: 10970 year: 2011 day: 13 miilsecs: 15115578 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 year: 2011 day: 13 miilsecs: 15116078 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 year: 2011 day: 13 miilsecs: 15116578 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 taos: 15115578 satid: 16 julian day: 10970 nlines: 12911 GOING INTO initorb4 satnum: 16 navsatid: 26536 calling readephem taos: 10970.174949 opening ephemeris after opening ephemeris size: 76 *******ephemeris elements ************ satid: 26536 orbit: 65195 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 ecc: 0.001062 argper: 0.364140 ascnode: 0.799605 inclin: 0.275446 ephoc: 110105000000 **************************** ******ephemnot structure follows*******: satid: 26536 orbit: 65195 size: 76 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 eccen: 0.001062 argper: 0.364140 ascenode: 0.799605 inclin: 0.275446 earadius: 6378137.000000 oblat: 0.001083 ***************************************************************** YEAR HERE: 11 *********epheminit structure follows******* timnot: 10962.000000 smajaxis: 1.132905 decay: -0.000000 eccen: 0.001062 inclin: 1.730681 argper: 2.287962 perrate: -0.000551 longan: 5.024068 nodrate: 0.000201 ,meananom: 1.717550 meanmot: 0.828813 meanmotrate: 0.000000 grav constant: 398598005011040.375000 ***************************************************************** ******** current elements follow******** taos: 10970.174949 time: 10970.174949 smajaxis: 7225817.090437 eccentricity: 0.001062 inclin: 1.730681 argper: 1.887939 longan: -2.353244 meananom: 727.292595 trueanom: 727.290472 altitude: 7225718.613818 ********************************************** ******** current elements follow******** taos: 10970.174949 time: 10970.174949 smajaxis: 7225817.090437 eccentricity: 0.001062 inclin: 1.730681 argper: 1.887939 longan: -2.353244 meananom: 727.292595 trueanom: 727.290472 altitude: 7225718.613818 ********************************************** SPECIFIC DATA: bytesperline: 4608 scanspersec: 2.000000 line : 0 10970.174949 18.713113 -137.921968 7228457.363030 line : 100 10970.175528 21.626994 -138.661129 7227567.777455 line : 200 10970.176106 24.538075 -139.421891 7226676.135834 line : 300 10970.176685 27.445862 -140.208606 7225785.662998 line : 400 10970.177264 30.349822 -141.026311 7224899.662852 line : 500 10970.177842 33.249365 -141.880920 7224021.499657 line : 600 10970.178421 36.143829 -142.779466 7223154.578373 line : 700 10970.179000 39.032451 -143.730425 7222302.324239 line : 800 10970.179578 41.914333 -144.744143 7221468.161742 line : 900 10970.180157 44.788394 -145.833422 7220655.493173 line : 1000 10970.180736 47.653298 -147.014329 7219867.676953 line : 1100 10970.181315 50.507362 -148.307330 7219108.005919 line : 1200 10970.181893 53.348411 -149.738918 7218379.685764 line : 1300 10970.182472 56.173573 -151.343988 7217685.813832 line : 1400 10970.183051 58.978957 -153.169384 7217029.358442 Opening data.NORTH1 and writing header line: 1437 line : 1500 10970.183629 61.759163 -155.279300 7216413.138961 line : 1600 10970.184208 64.506484 -157.763707 7215839.806770 line : 1700 10970.184787 67.209595 -160.751735 7215311.827335 line : 1800 10970.185365 69.851291 -164.433225 7214831.463522 line : 1900 10970.185944 72.404510 -169.093197 7214400.760324 line : 2000 10970.186523 74.825156 -175.163898 7214021.531138 line : 2100 10970.187102 77.039352 176.713093 7213695.345717 line : 2200 10970.187680 78.923162 165.686119 7213423.519917 line : 2300 10970.188259 80.282959 151.024266 7213207.107314 line : 2400 10970.188838 80.881495 133.191266 7213046.892796 line : 2500 10970.189416 80.572692 114.800696 7212943.388157 line : 2600 10970.189995 79.435675 98.951614 7212896.829754 line : 2700 10970.190574 77.697694 86.789542 7212907.178235 line : 2800 10970.191153 75.573968 77.818145 7212974.120332 line : 2900 10970.191731 73.209803 71.159264 7213097.072710 line : 3000 10970.192310 70.692856 66.094992 7213275.187816 line : 3100 10970.192889 68.075194 62.131135 7213507.361675 line : 3200 10970.193467 65.388444 58.941208 7213792.243547 line : 3300 10970.194046 62.652475 56.308859 7214128.247358 line : 3400 10970.194625 59.880227 54.088016 7214513.564770 line : 3500 10970.195203 57.080411 52.177707 7214946.179785 line : 3600 10970.195782 54.259081 50.506437 7215423.884713 line : 3700 10970.196361 51.420557 49.022408 7215944.297368 line : 3800 10970.196940 48.568011 47.687282 7216504.879306 line : 3900 10970.197518 45.703823 46.472131 7217102.954944 line : 4000 10970.198097 42.829827 45.354727 7217735.731363 line : 4100 10970.198676 39.947465 44.317711 7218400.318610 line : 4200 10970.199254 37.057901 43.347315 7219093.750307 line : 4300 10970.199833 34.162096 42.432463 7219813.004375 line : 4400 10970.200412 31.260860 41.564121 7220555.023667 line : 4500 10970.200990 28.354894 40.734823 7221316.736345 line : 4600 10970.201569 25.444820 39.938317 7222095.075785 line : 4700 10970.202148 22.531197 39.169301 7222886.999859 line : 4800 10970.202727 19.614540 38.423215 7223689.509404 line : 4900 10970.203305 16.695333 37.696084 7224499.665735 line : 5000 10970.203884 13.774033 36.984392 7225314.607038 line : 5100 10970.204463 10.851081 36.284979 7226131.563525 line : 5200 10970.205041 7.926905 35.594959 7226947.871222 line : 5300 10970.205620 5.001924 34.911649 7227760.984290 line : 5400 10970.206199 2.076550 34.232508 7228568.485794 line : 5500 10970.206778 -0.848809 33.555081 7229368.096842 line : 5600 10970.207356 -3.773747 32.876950 7230157.684063 line : 5700 10970.207935 -6.697858 32.195682 7230935.265369 line : 5800 10970.208514 -9.620736 31.508781 7231699.014000 line : 5900 10970.209092 -12.541971 30.813636 7232447.260859 line : 6000 10970.209671 -15.461147 30.107460 7233178.495149 line : 6100 10970.210250 -18.377840 29.387227 7233891.363364 line : 6200 10970.210828 -21.291612 28.649595 7234584.666691 line : 6300 10970.211407 -24.202005 27.890811 7235257.356885 line : 6400 10970.211986 -27.108536 27.106601 7235908.530729 line : 6500 10970.212565 -30.010683 26.292025 7236537.423164 line : 6600 10970.213143 -32.907876 25.441297 7237143.399214 line : 6700 10970.213722 -35.799474 24.547552 7237725.944840 line : 6800 10970.214301 -38.684743 23.602536 7238284.656855 line : 6900 10970.214879 -41.562822 22.596193 7238819.232046 line : 7000 10970.215458 -44.432678 21.516115 7239329.455672 line : 7100 10970.216037 -47.293036 20.346770 7239815.189473 line : 7200 10970.216615 -50.142295 19.068428 7240276.359385 line : 7300 10970.217194 -52.978390 17.655631 7240712.943091 line : 7400 10970.217773 -55.798598 16.074966 7241124.957599 line : 7500 10970.218352 -58.599243 14.281751 7241512.447000 Opening data.SOUTH1 and writing header line: 7551 line : 7600 10970.218930 -61.375240 12.215024 7241875.470556 line : 7700 10970.219509 -64.119363 9.789759 7242214.091286 line : 7800 10970.220088 -66.821037 6.884572 7242528.365186 line : 7900 10970.220666 -69.464298 3.322025 7242818.331221 line : 8000 10970.221245 -72.024188 -1.162831 7243084.002220 line : 8100 10970.221824 -74.460308 -6.970343 7243325.356784 line : 8200 10970.222403 -76.705311 -14.696298 7243542.332319 line : 8300 10970.222981 -78.646100 -25.149932 7243734.819272 line : 8400 10970.223560 -80.102817 -39.108916 7243902.656653 line : 8500 10970.224139 -80.842048 -56.398824 7244045.628904 line : 8600 10970.224717 -80.691563 -74.788763 7244163.464145 line : 8700 10970.225296 -79.690294 -91.116132 7244255.833848 line : 8800 10970.225875 -78.050066 -103.863279 7244322.353920 line : 8900 10970.226453 -75.993287 -113.318920 7244362.587222 line : 9000 10970.227032 -73.676274 -120.332021 7244376.047468 line : 9100 10970.227611 -71.194523 -125.648105 7244362.204488 line : 9200 10970.228190 -68.604796 -129.792216 7244320.490794 line : 9300 10970.228768 -65.941428 -133.113661 7244250.309374 line : 9400 10970.229347 -63.225871 -135.844105 7244151.042629 line : 9500 10970.229926 -60.472005 -138.139698 7244022.062361 line : 9600 10970.230504 -57.689121 -140.108089 7243862.740690 line : 9700 10970.231083 -54.883630 -141.825275 7243672.461785 line : 9800 10970.231662 -52.060085 -143.346149 7243450.634265 line : 9900 10970.232240 -49.221800 -144.711221 7243196.704143 line : 10000 10970.232819 -46.371247 -145.950977 7242910.168139 line : 10100 10970.233398 -43.510314 -147.088778 7242590.587224 line : 10200 10970.233977 -40.640476 -148.142824 7242237.600231 line : 10300 10970.234555 -37.762911 -149.127515 7241850.937359 line : 10400 10970.235134 -34.878582 -150.054411 7241430.433412 line : 10500 10970.235713 -31.988296 -150.932915 7240976.040616 line : 10600 10970.236291 -29.092743 -151.770784 7240487.840834 line : 10700 10970.236870 -26.192529 -152.574494 7239966.057039 line : 10800 10970.237449 -23.288197 -153.349529 7239411.063884 line : 10900 10970.238028 -20.380246 -154.100588 7238823.397226 line : 11000 10970.238606 -17.469137 -154.831755 7238203.762470 line : 11100 10970.239185 -14.555312 -155.546635 7237553.041609 line : 11200 10970.239764 -11.639192 -156.248452 7236872.298848 line : 11300 10970.240342 -8.721187 -156.940141 7236162.784705 line : 11400 10970.240921 -5.801700 -157.624420 7235425.938520 line : 11500 10970.241500 -2.881126 -158.303851 7234663.389282 line : 11600 10970.242078 0.040138 -158.980896 7233876.954744 line : 11700 10970.242657 2.961700 -159.657971 7233068.638768 line : 11800 10970.243236 5.883166 -160.337492 7232240.626896 line : 11900 10970.243815 8.804136 -161.021926 7231395.280145 line : 12000 10970.244393 11.724210 -161.713843 7230535.127037 line : 12100 10970.244972 14.642977 -162.415972 7229662.853911 line : 12200 10970.245551 17.560018 -163.131263 7228781.293554 line : 12300 10970.246129 20.474899 -163.862961 7227893.412251 line : 12400 10970.246708 23.387165 -164.614698 7227002.295309 line : 12500 10970.247287 26.296338 -165.390593 7226111.131188 line : 12600 10970.247865 29.201899 -166.195393 7225223.194345 line : 12700 10970.248444 32.103284 -167.034640 7224341.826934 line : 12800 10970.249023 34.999863 -167.914891 7223470.419503 line : 12900 10970.249602 37.890914 -168.844007 7222612.390853 could not read line 12908 writing header for file 0 goint into getcorrectsdsvals year: 2011 day: 13 miilsecs: 15835578 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 going into makeheader with taos: 10970.183282 satid: 16 nlines: 1959 IN MAKEHEADER going into first make1btime in make1btime taos: 10970.183282 millsec: 15835578 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 after first make1btime in make1btime taos: 10970.187061 millsec: 16162078 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 DONE WITH MAKEHEADER writing header for file 2 goint into getcorrectsdsvals year: 2011 day: 13 miilsecs: 18892578 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 going into makeheader with taos: 10970.218664 satid: 16 nlines: 1967 IN MAKEHEADER going into first make1btime in make1btime taos: 10970.218664 millsec: 18892578 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 after first make1btime in make1btime taos: 10970.222458 millsec: 19220411 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 DONE WITH MAKEHEADER ***** Running navigation/calibration at Fri Jan 14 02:17:50 CST 2011 ***** Working on year and julian day (yyddd): 11013 (2011 Jan 13) no H option specified TBMFLAG: compval: 0 reading input header input header has been read satid from header : 2 XX satid: 16 getting time from firstline getting time in gettime in: 7 db 0 d 0 6b 0 f1 a1 ba year: 2011 day: 13 ymd year: 2011 ymd yeardif: 30 after getheader done with 1959 lines header count: 0 actual: 1959 header will be rewritten output header follows: satid: 16 orbnum: 0 nlines: 1959 julday: 10970 taos: 15835578 NEW PROCESSGENERICGAC year: 2011 input file is : tmp output file is : tmp.p new processraw opening raw file: tmp opening archive file and writing header to tmp.p header written to newdataset dumsat: 3 satid from first line is: 16 year before julianday call: 2011 firstline curday: 13 julian: 10970 time: 15835578 linein: 0 curtime: 15836078 lasttime: 15835578 lastgood: 15835578 timdif: 500 linein: 100 curtime: 15886078 lasttime: 15885578 lastgood: 15885578 timdif: 500 linein: 200 curtime: 15936078 lasttime: 15935578 lastgood: 15935578 timdif: 500 linein: 300 curtime: 15986078 lasttime: 15985578 lastgood: 15985578 timdif: 500 linein: 400 curtime: 16036078 lasttime: 16035578 lastgood: 16035578 timdif: 500 linein: 500 curtime: 16086078 lasttime: 16085578 lastgood: 16085578 timdif: 500 linein: 600 curtime: 16136078 lasttime: 16135578 lastgood: 16135578 timdif: 500 linein: 700 curtime: 16186078 lasttime: 16185578 lastgood: 16185578 timdif: 500 linein: 800 curtime: 16236078 lasttime: 16235578 lastgood: 16235578 timdif: 500 linein: 900 curtime: 16286078 lasttime: 16285578 lastgood: 16285578 timdif: 500 linein: 1000 curtime: 16336078 lasttime: 16335578 lastgood: 16335578 timdif: 500 linein: 1100 curtime: 16386078 lasttime: 16385578 lastgood: 16385578 timdif: 500 linein: 1200 curtime: 16436078 lasttime: 16435578 lastgood: 16435578 timdif: 500 linein: 1300 curtime: 16486078 lasttime: 16485578 lastgood: 16485578 timdif: 500 linein: 1400 curtime: 16536078 lasttime: 16535578 lastgood: 16535578 timdif: 500 linein: 1500 curtime: 16586078 lasttime: 16585578 lastgood: 16585578 timdif: 500 linein: 1600 curtime: 16636078 lasttime: 16635578 lastgood: 16635578 timdif: 500 linein: 1700 curtime: 16686078 lasttime: 16685578 lastgood: 16685578 timdif: 500 linein: 1800 curtime: 16736078 lasttime: 16735578 lastgood: 16735578 timdif: 500 linein: 1900 curtime: 16786078 lasttime: 16785578 lastgood: 16785578 timdif: 500 could not read line bytes read: 0 error reading line: 1958 archive corect to here will rewrite header correctly cleaning up archive file new header being written as: satid: 16 orbit number: 0 dum: 0 number of lines: 1959 julian day: 10970d time of first scan: 4.398772 processing GAC data satid: 16 orbit number: 0 dum: 0 number of lines: 1959 julian day: 10970d time of first scan: 4.398772 Seasonal correction for julian date 10970.183282 = 0.967307 flag is : S 11/01/13 00:00:00110113000000 year: 11 month: 1 day: 13 dayofyear: 13 file containing coefficients is COEFFS.16 calling openparm16 before sprintf parmfilename: /Users/jkey/nav/cal/calib16.dat i: 0 nu: 2226.179930 i: 1 nu: 782.472410 i: 2 nu: 714.285640 chan: 0 nuc: 2700.114800 A: 1.592459 B: 0.998147 chan: 1 nuc: 917.228900 A: 0.332380 B: 0.998522 chan: 2 nuc: 838.125500 A: 0.674623 B: 0.998363 i: 0 wave:0.000000 i: 1 wave:0.000000 i: 2 wave:2700.114800 i: 3 wave:917.228900 i: 4 wave:838.125500 before look for Z after look for Z about to leave openparm newflag is 1: 1 about to open: tmp.p headstuff: sat: 16 orb: 0 julianday: 10970 taos: 15835578 length of headstuff: 57 headstuff: sat: 16 orb: 0 julianday: 10970 taos: 15835578 0.000 0.000 2700.1148 917.2289 838.1255 length of headstuff: 106 ************** results of initial calibration ******** from header firstday is : 13 arcsize: 5626 in sequence numlines: 1 day: 13 val: 388 arcsize: 5626 in sequence numlines: 2 day: 13 val: 392 arcsize: 5626 in sequence numlines: 3 day: 13 val: 0 realline before: 3 spaceref: 0.000000 targtemp: 296.588129 space rad: 0.000000 -4.500000 -3.610000 average space counts: 990.440000 991.200000 994.400000 average internal counts: 794.000000 397.020000 381.300000 satid: 16 launch_indx: -1 chan: 3 radspace: 0.000000 radtarget: 0.502809 spacebar:990.440000 internalbar: 794.000000 chan: 3 radspace: 0.000000 radtarget: 0.502809 spacebar:990.440000 internalbar: 794.000000 gain: -0.002560 offset: 2.535137 chan: 4 radspace: -4.500000 radtarget: 108.479337 spacebar:991.200000 internalbar: 397.020000 chan: 4 radspace: -4.500000 radtarget: 108.479337 spacebar:991.200000 internalbar: 397.020000 gain: -0.190143 offset: 183.970032 chan: 5 radspace: -3.610000 radtarget: 122.672734 spacebar:994.400000 internalbar: 381.300000 chan: 5 radspace: -3.610000 radtarget: 122.672734 spacebar:994.400000 internalbar: 381.300000 gain: -0.205974 offset: 201.210663 gain after: 0.054943 gain after: 0.054943 gain and offset up to scan line 53 : 0.054943 -2.115887 0.057651 -2.330822 -0.002560 2.535137 -0.190143 183.970032 -0.205974 201.210663 ************************************************************ trouble reading line in main DONE WITH CALIBRATION there were 1959 lines done THIS IS ACTUALLY rawcal15_new AS IT SHOULD BE CALIBRATION FILE: COEFFS.16 RADFLAG: 1 calib_dir: /Users/jkey/nav/cal name of caldatfile is: /Users/jkey/nav/cal/calibnew16.dat have found CENTRAL WAVE in string CENTRAL WAVE NUMBER TABLE 190.000000 230.000000 2638.652000 928.260300 834.449600 230.000000 270.000000 2642.807000 928.828400 834.806600 270.000000 310.000000 2645.899000 929.332300 835.164700 have found SPLIT CAL in string SPLIT CAL TABLE SPLIT GAINS and OFFSETS CHAN 1 count 0-490 gain: 0.052300 offset: -2.016000 CHAN 1 count 491-1023 gain: 0.152800 offset: -51.910000 CHAN 2 count 0-500 gain: 0.051300 offset: -1.943000 CHAN 2 count 501-1023 gain: 0.151000 offset: -51.770000 CHAN 3 count 0-499 gain: 0.028700 offset: -2.043000 CHAN 3 count 500-1023 gain: 0.180600 offset: -78.030000 WE ARE GOING NON LINEAR name of caldatfile is: /Users/jkey/nav/cal/calibnew16.dat have found NON LINEAR in string ABOUT TO READ NON LINEAR MATRIX have READ NON LINEAR MATRIX DONE WITH NON LINEAR STUFF have found NEW COEFFS in string ABOUT TO READ NEW COEFFS i: 0 NUC: 2700.114800 Anew: 1.592459 Bnew: 0.998147 NS: 0.000000 B0: 0.000000 B1: 0.000000 B2: 0.000000 i: 1 NUC: 917.228900 Anew: 0.332380 Bnew: 0.998522 NS: -2.467000 B0: 2.960000 B1: -0.054110 B2: 0.000245 i: 2 NUC: 838.125500 Anew: 0.674623 Bnew: 0.998363 NS: -2.009000 B0: 2.225000 B1: -0.036650 B2: 0.000149 DONE WITH NEW COEFFS calhead: sat: 16 orb: 0 julianday: 10970 taos: 15835578 0.000 0.000 2700.1148 917.2289 838.1255 PX=/Users/jkey/nav/cal/calibnew16.dat calhead: 0.000 0.000 2700.1148 917.2289 838.1255 PX=/Users/jkey/nav/cal/calibnew16.dat wavecent: 0.000000 0.000000 2700.114800 917.228900 838.125500 INVWAVE: 0.000000 size of cal file is: 207866 have read in cal array number of lines 1959 doing raw line: 0 doing raw line: 500 doing raw line: 1000 doing raw line: 1500 TIME calculation WAS REQUESTED SZA calculation WAS REQUESTED LINE and SAMPLE DATA WAS REQUESTED OSCULATING CORRECTIONS WILL BE APPLIED dashv: temp: strlen: 0 dashH: n strlen: 1 AFTER GET OPTIONS GAC DATA OPTION HAS BEEN CHOOSEN AFTER INIT input file has been opened, fp: 1883758400 after openarc fp: 1883758400 sid: 16d orbnum: 0d numscan: 1959d milday: 15835578d *** data header *** satid: 16 orbit number: 0 number of lines: 1959 julian day: 10970 time of first scan: 4.398772 ******************** AFTER INITDATA julday: 10970 taos: 15835578 TIME OF FIRST SCAN : 11/01/13 04:23:56 looking for ephemeris data for taos: 10970.183282 opening ephemeris after opening ephemeris size: 76 *******ephemeris elements ************ satid: 26536 orbit: 65195 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 ecc: 0.001062 argper: 0.364140 ascnode: 0.799605 inclin: 0.275446 ephoc: 110105000000 **************************** ******ephemnot structure follows*******: satid: 26536 orbit: 65195 size: 76 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 eccen: 0.001062 argper: 0.364140 ascenode: 0.799605 inclin: 0.275446 earadius: 6378137.000000 oblat: 0.001083 ***************************************************************** *********epheminit structure follows******* timnot: 10962.000000 smajaxis: 1.132905 decay: -0.000000 eccen: 0.001062 inclin: 1.730681 argper: 2.287962 perrate: -0.000551 longan: 5.024068 nodrate: 0.000201 ,meananom: 1.717550 meanmot: 0.828813 meanmotrate: 0.000000 grav constant: 398598005011040.375000 ***************************************************************** satlat1: 1.045953 satlat2: 1.071158 asnflag: 1 DATA IS ASCENDING **************** INITAILIZATION OVER ****************** dashr: 81.38011 RANGE0: 81.380110 IN SATGEO line: 0 spot: 204 time: 10970.183282 IN SATGEO line: 5 spot: 204 time: 10970.183311 RANGE: 81.380110 Pass is Ascending at start center lat: 90.000000 center lon: 0.000000 range: 81.380110 images will be processed using chunks of 361 lines getting space for 10 bit image image.proj: 8 fpsza: 7047dfd8 fpsaza: 7047e070 opening 135292053.NSS.GHRR.NL.D11013.S0411.E0559.B5314849.GC.N1.1 OPENING chan: 0 fp: 1883759312 opening 135292053.NSS.GHRR.NL.D11013.S0411.E0559.B5314849.GC.N1.2 OPENING chan: 1 fp: 1883759464 opening 135292053.NSS.GHRR.NL.D11013.S0411.E0559.B5314849.GC.N1.3 OPENING chan: 2 fp: 1883759616 opening 135292053.NSS.GHRR.NL.D11013.S0411.E0559.B5314849.GC.N1.4 OPENING chan: 3 fp: 1883759768 opening 135292053.NSS.GHRR.NL.D11013.S0411.E0559.B5314849.GC.N1.5 OPENING chan: 4 fp: 1883759920 getting space for time array getting space for sza array getting space for saza array getting space for satelv array getting space for sataz array ************************************* total bytes malloced is : 4217234 ************************************* ******** current elements follow******** taos: 10970.183282 time: 10970.183282 smajaxis: 7225817.085931 eccentricity: 0.001062 inclin: 1.730734 argper: 1.887532 longan: -2.405684 meananom: 5.465918 trueanom: 5.464368 altitude: 7220556.987411 ********************************************** satpos: -3255017.554302 -1589346.175216 6241852.494116 satvel: 4449.894945 4797.669944 3527.804188 satlat: 59.872258 satlon: -153.974864 COMMAND>DASHD: n INTERPOLATION CHOOSEN , every 8 x pixel and every 8 ypixel going through pixels **** before templat: 29.712678 centtodet: 29.878633 CORNERS OF WHOLE IMAGE FOLLOW North West Corner lat: 29.878633 lon: 225.000000 North East Corner lat: 30.063244 lon: 135.159155 South East Corner lat: 30.248190 lon: 45.000000 South West Corner lat: 30.063244 lon: -45.159155 interpolation choosen every 8 i pixels and every 8 j pixels image will be processed in 1 chunks of 361 image lines segment 0 startj: 0 stopj: 361 starti: 0 stopi: 360 numj: 361 north west----- lat: 29.712678 lon: 225.000000 line: -999 spot: -999 north east----- lat: 29.896666 lon: 135.159155 line: -999 spot: -999 south east-----lat: 29.896666 lon: 44.840845 line: -999 spot: 284 south west-----lat: 29.712678 lon: -45.000000 line: -999 spot: -999 doing chunk number: 0 from line: 0 to line: 360 numcelx: 45 numcely: 45 extrai: 0 extraj: 0 ****minline: 0 maxline: 1958 in data aquisiton maxline: 1958 minline: 0 in data aquistion module image is contained within lines : 1 and 1958 data will be processed using 20 chunks of 100 lines in get10 searching data lines 1 to 101 for image lines 0 to 361 in get10 searching data lines 101 to 201 for image lines 0 to 361 in get10 searching data lines 201 to 301 for image lines 0 to 361 in get10 searching data lines 301 to 401 for image lines 0 to 361 in get10 searching data lines 401 to 501 for image lines 0 to 361 in get10 searching data lines 501 to 601 for image lines 0 to 361 in get10 searching data lines 601 to 701 for image lines 0 to 361 in get10 searching data lines 701 to 801 for image lines 0 to 361 in get10 searching data lines 801 to 901 for image lines 0 to 361 in get10 searching data lines 901 to 1001 for image lines 0 to 361 in get10 searching data lines 1001 to 1101 for image lines 0 to 361 in get10 searching data lines 1101 to 1201 for image lines 0 to 361 in get10 searching data lines 1201 to 1301 for image lines 0 to 361 in get10 searching data lines 1301 to 1401 for image lines 0 to 361 in get10 searching data lines 1401 to 1501 for image lines 0 to 361 in get10 searching data lines 1501 to 1601 for image lines 0 to 361 in get10 searching data lines 1601 to 1701 for image lines 0 to 361 in get10 searching data lines 1701 to 1801 for image lines 0 to 361 in get10 searching data lines 1801 to 1901 for image lines 0 to 361 Undefined error: 0 eof or error after 1957 lines in get10 searching data lines 1901 to 2001 for image lines 0 to 361 dumping SZA array in dumpother j1: 0 j2: 361 ysize: 361 fpother: 1883758552 writing other type image in dumpother j1: 0 j2: 361 ysize: 361 fpother: 1883758704 writing other type image *************** dashY: y dumping ELEV array in dumpother j1: 0 j2: 361 ysize: 361 fpother: 1883759160 writing other type image dumping AZIM array in dumpother j1: 0 j2: 361 ysize: 361 fpother: 1883759008 writing other type image constructing TIME array in puttime j1: 0 j2: 361 ysize: 361 dumping TIME array in dumpother j1: 0 j2: 361 ysize: 361 fpother: 1883758856 writing other type image nchan: 5 dumping ch: 0 fp: 1883759312 about to dump image number: 0 channel: 1 xsize: 361 ysize: 361 IN WRITEIMAGE chan: 0 fp: 1883759312 DOne with dumpimage fp: 1883759312 have dumped ch: 0 fp: 1883759312 dumping ch: 1 fp: 1883759464 about to dump image number: 1 channel: 2 xsize: 361 ysize: 361 IN WRITEIMAGE chan: 1 fp: 1883759464 DOne with dumpimage fp: 1883759464 have dumped ch: 1 fp: 1883759464 dumping ch: 2 fp: 1883759616 about to dump image number: 2 channel: 3 xsize: 361 ysize: 361 IN WRITEIMAGE chan: 2 fp: 1883759616 DOne with dumpimage fp: 1883759616 have dumped ch: 2 fp: 1883759616 dumping ch: 3 fp: 1883759768 about to dump image number: 3 channel: 4 xsize: 361 ysize: 361 IN WRITEIMAGE chan: 3 fp: 1883759768 DOne with dumpimage fp: 1883759768 have dumped ch: 3 fp: 1883759768 dumping ch: 4 fp: 1883759920 about to dump image number: 4 channel: 5 xsize: 361 ysize: 361 IN WRITEIMAGE chan: 4 fp: 1883759920 DOne with dumpimage fp: 1883759920 have dumped ch: 4 fp: 1883759920 About to write headers fp: 1883759768 done with navigation--retrieving data ***** Running polar regions subsetting at Fri Jan 14 02:17:51 CST 2011 ***** Working on year and julian day (yyddd): 11013 (2011 Jan 13) command line args: ephemfile: /Users/jkey/nav/ephemeris northlimit: 60.000000 southlimit: -60.000000 data is type: G sds-type is: H region is: O SDS GAC data selected. year: 2011 day: 13 miilsecs: 15115578 before md doy: 13 year: 2011 **julianday: 10970 year: 2011 day: 13 miilsecs: 15115578 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 year: 2011 day: 13 miilsecs: 15116078 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 year: 2011 day: 13 miilsecs: 15116578 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 taos: 15115578 satid: 16 julian day: 10970 nlines: 12911 GOING INTO initorb4 satnum: 16 navsatid: 26536 calling readephem taos: 10970.174949 opening ephemeris after opening ephemeris size: 76 *******ephemeris elements ************ satid: 26536 orbit: 65195 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 ecc: 0.001062 argper: 0.364140 ascnode: 0.799605 inclin: 0.275446 ephoc: 110105000000 **************************** ******ephemnot structure follows*******: satid: 26536 orbit: 65195 size: 76 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 eccen: 0.001062 argper: 0.364140 ascenode: 0.799605 inclin: 0.275446 earadius: 6378137.000000 oblat: 0.001083 ***************************************************************** YEAR HERE: 11 *********epheminit structure follows******* timnot: 10962.000000 smajaxis: 1.132905 decay: -0.000000 eccen: 0.001062 inclin: 1.730681 argper: 2.287962 perrate: -0.000551 longan: 5.024068 nodrate: 0.000201 ,meananom: 1.717550 meanmot: 0.828813 meanmotrate: 0.000000 grav constant: 398598005011040.375000 ***************************************************************** ******** current elements follow******** taos: 10970.174949 time: 10970.174949 smajaxis: 7225817.090437 eccentricity: 0.001062 inclin: 1.730681 argper: 1.887939 longan: -2.353244 meananom: 727.292595 trueanom: 727.290472 altitude: 7225718.613818 ********************************************** ******** current elements follow******** taos: 10970.174949 time: 10970.174949 smajaxis: 7225817.090437 eccentricity: 0.001062 inclin: 1.730681 argper: 1.887939 longan: -2.353244 meananom: 727.292595 trueanom: 727.290472 altitude: 7225718.613818 ********************************************** SPECIFIC DATA: bytesperline: 4608 scanspersec: 2.000000 line : 0 10970.174949 18.713113 -137.921968 7228457.363030 line : 100 10970.175528 21.626994 -138.661129 7227567.777455 line : 200 10970.176106 24.538075 -139.421891 7226676.135834 line : 300 10970.176685 27.445862 -140.208606 7225785.662998 line : 400 10970.177264 30.349822 -141.026311 7224899.662852 line : 500 10970.177842 33.249365 -141.880920 7224021.499657 line : 600 10970.178421 36.143829 -142.779466 7223154.578373 line : 700 10970.179000 39.032451 -143.730425 7222302.324239 line : 800 10970.179578 41.914333 -144.744143 7221468.161742 line : 900 10970.180157 44.788394 -145.833422 7220655.493173 line : 1000 10970.180736 47.653298 -147.014329 7219867.676953 line : 1100 10970.181315 50.507362 -148.307330 7219108.005919 line : 1200 10970.181893 53.348411 -149.738918 7218379.685764 line : 1300 10970.182472 56.173573 -151.343988 7217685.813832 line : 1400 10970.183051 58.978957 -153.169384 7217029.358442 Opening data.NORTH1 and writing header line: 1437 line : 1500 10970.183629 61.759163 -155.279300 7216413.138961 line : 1600 10970.184208 64.506484 -157.763707 7215839.806770 line : 1700 10970.184787 67.209595 -160.751735 7215311.827335 line : 1800 10970.185365 69.851291 -164.433225 7214831.463522 line : 1900 10970.185944 72.404510 -169.093197 7214400.760324 line : 2000 10970.186523 74.825156 -175.163898 7214021.531138 line : 2100 10970.187102 77.039352 176.713093 7213695.345717 line : 2200 10970.187680 78.923162 165.686119 7213423.519917 line : 2300 10970.188259 80.282959 151.024266 7213207.107314 line : 2400 10970.188838 80.881495 133.191266 7213046.892796 line : 2500 10970.189416 80.572692 114.800696 7212943.388157 line : 2600 10970.189995 79.435675 98.951614 7212896.829754 line : 2700 10970.190574 77.697694 86.789542 7212907.178235 line : 2800 10970.191153 75.573968 77.818145 7212974.120332 line : 2900 10970.191731 73.209803 71.159264 7213097.072710 line : 3000 10970.192310 70.692856 66.094992 7213275.187816 line : 3100 10970.192889 68.075194 62.131135 7213507.361675 line : 3200 10970.193467 65.388444 58.941208 7213792.243547 line : 3300 10970.194046 62.652475 56.308859 7214128.247358 line : 3400 10970.194625 59.880227 54.088016 7214513.564770 line : 3500 10970.195203 57.080411 52.177707 7214946.179785 line : 3600 10970.195782 54.259081 50.506437 7215423.884713 line : 3700 10970.196361 51.420557 49.022408 7215944.297368 line : 3800 10970.196940 48.568011 47.687282 7216504.879306 line : 3900 10970.197518 45.703823 46.472131 7217102.954944 line : 4000 10970.198097 42.829827 45.354727 7217735.731363 line : 4100 10970.198676 39.947465 44.317711 7218400.318610 line : 4200 10970.199254 37.057901 43.347315 7219093.750307 line : 4300 10970.199833 34.162096 42.432463 7219813.004375 line : 4400 10970.200412 31.260860 41.564121 7220555.023667 line : 4500 10970.200990 28.354894 40.734823 7221316.736345 line : 4600 10970.201569 25.444820 39.938317 7222095.075785 line : 4700 10970.202148 22.531197 39.169301 7222886.999859 line : 4800 10970.202727 19.614540 38.423215 7223689.509404 line : 4900 10970.203305 16.695333 37.696084 7224499.665735 line : 5000 10970.203884 13.774033 36.984392 7225314.607038 line : 5100 10970.204463 10.851081 36.284979 7226131.563525 line : 5200 10970.205041 7.926905 35.594959 7226947.871222 line : 5300 10970.205620 5.001924 34.911649 7227760.984290 line : 5400 10970.206199 2.076550 34.232508 7228568.485794 line : 5500 10970.206778 -0.848809 33.555081 7229368.096842 line : 5600 10970.207356 -3.773747 32.876950 7230157.684063 line : 5700 10970.207935 -6.697858 32.195682 7230935.265369 line : 5800 10970.208514 -9.620736 31.508781 7231699.014000 line : 5900 10970.209092 -12.541971 30.813636 7232447.260859 line : 6000 10970.209671 -15.461147 30.107460 7233178.495149 line : 6100 10970.210250 -18.377840 29.387227 7233891.363364 line : 6200 10970.210828 -21.291612 28.649595 7234584.666691 line : 6300 10970.211407 -24.202005 27.890811 7235257.356885 line : 6400 10970.211986 -27.108536 27.106601 7235908.530729 line : 6500 10970.212565 -30.010683 26.292025 7236537.423164 line : 6600 10970.213143 -32.907876 25.441297 7237143.399214 line : 6700 10970.213722 -35.799474 24.547552 7237725.944840 line : 6800 10970.214301 -38.684743 23.602536 7238284.656855 line : 6900 10970.214879 -41.562822 22.596193 7238819.232046 line : 7000 10970.215458 -44.432678 21.516115 7239329.455672 line : 7100 10970.216037 -47.293036 20.346770 7239815.189473 line : 7200 10970.216615 -50.142295 19.068428 7240276.359385 line : 7300 10970.217194 -52.978390 17.655631 7240712.943091 line : 7400 10970.217773 -55.798598 16.074966 7241124.957599 line : 7500 10970.218352 -58.599243 14.281751 7241512.447000 Opening data.SOUTH1 and writing header line: 7551 line : 7600 10970.218930 -61.375240 12.215024 7241875.470556 line : 7700 10970.219509 -64.119363 9.789759 7242214.091286 line : 7800 10970.220088 -66.821037 6.884572 7242528.365186 line : 7900 10970.220666 -69.464298 3.322025 7242818.331221 line : 8000 10970.221245 -72.024188 -1.162831 7243084.002220 line : 8100 10970.221824 -74.460308 -6.970343 7243325.356784 line : 8200 10970.222403 -76.705311 -14.696298 7243542.332319 line : 8300 10970.222981 -78.646100 -25.149932 7243734.819272 line : 8400 10970.223560 -80.102817 -39.108916 7243902.656653 line : 8500 10970.224139 -80.842048 -56.398824 7244045.628904 line : 8600 10970.224717 -80.691563 -74.788763 7244163.464145 line : 8700 10970.225296 -79.690294 -91.116132 7244255.833848 line : 8800 10970.225875 -78.050066 -103.863279 7244322.353920 line : 8900 10970.226453 -75.993287 -113.318920 7244362.587222 line : 9000 10970.227032 -73.676274 -120.332021 7244376.047468 line : 9100 10970.227611 -71.194523 -125.648105 7244362.204488 line : 9200 10970.228190 -68.604796 -129.792216 7244320.490794 line : 9300 10970.228768 -65.941428 -133.113661 7244250.309374 line : 9400 10970.229347 -63.225871 -135.844105 7244151.042629 line : 9500 10970.229926 -60.472005 -138.139698 7244022.062361 line : 9600 10970.230504 -57.689121 -140.108089 7243862.740690 line : 9700 10970.231083 -54.883630 -141.825275 7243672.461785 line : 9800 10970.231662 -52.060085 -143.346149 7243450.634265 line : 9900 10970.232240 -49.221800 -144.711221 7243196.704143 line : 10000 10970.232819 -46.371247 -145.950977 7242910.168139 line : 10100 10970.233398 -43.510314 -147.088778 7242590.587224 line : 10200 10970.233977 -40.640476 -148.142824 7242237.600231 line : 10300 10970.234555 -37.762911 -149.127515 7241850.937359 line : 10400 10970.235134 -34.878582 -150.054411 7241430.433412 line : 10500 10970.235713 -31.988296 -150.932915 7240976.040616 line : 10600 10970.236291 -29.092743 -151.770784 7240487.840834 line : 10700 10970.236870 -26.192529 -152.574494 7239966.057039 line : 10800 10970.237449 -23.288197 -153.349529 7239411.063884 line : 10900 10970.238028 -20.380246 -154.100588 7238823.397226 line : 11000 10970.238606 -17.469137 -154.831755 7238203.762470 line : 11100 10970.239185 -14.555312 -155.546635 7237553.041609 line : 11200 10970.239764 -11.639192 -156.248452 7236872.298848 line : 11300 10970.240342 -8.721187 -156.940141 7236162.784705 line : 11400 10970.240921 -5.801700 -157.624420 7235425.938520 line : 11500 10970.241500 -2.881126 -158.303851 7234663.389282 line : 11600 10970.242078 0.040138 -158.980896 7233876.954744 line : 11700 10970.242657 2.961700 -159.657971 7233068.638768 line : 11800 10970.243236 5.883166 -160.337492 7232240.626896 line : 11900 10970.243815 8.804136 -161.021926 7231395.280145 line : 12000 10970.244393 11.724210 -161.713843 7230535.127037 line : 12100 10970.244972 14.642977 -162.415972 7229662.853911 line : 12200 10970.245551 17.560018 -163.131263 7228781.293554 line : 12300 10970.246129 20.474899 -163.862961 7227893.412251 line : 12400 10970.246708 23.387165 -164.614698 7227002.295309 line : 12500 10970.247287 26.296338 -165.390593 7226111.131188 line : 12600 10970.247865 29.201899 -166.195393 7225223.194345 line : 12700 10970.248444 32.103284 -167.034640 7224341.826934 line : 12800 10970.249023 34.999863 -167.914891 7223470.419503 line : 12900 10970.249602 37.890914 -168.844007 7222612.390853 could not read line 12908 writing header for file 0 goint into getcorrectsdsvals year: 2011 day: 13 miilsecs: 15835578 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 going into makeheader with taos: 10970.183282 satid: 16 nlines: 1959 IN MAKEHEADER going into first make1btime in make1btime taos: 10970.183282 millsec: 15835578 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 after first make1btime in make1btime taos: 10970.187061 millsec: 16162078 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 DONE WITH MAKEHEADER writing header for file 2 goint into getcorrectsdsvals year: 2011 day: 13 miilsecs: 18892578 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 going into makeheader with taos: 10970.218664 satid: 16 nlines: 1967 IN MAKEHEADER going into first make1btime in make1btime taos: 10970.218664 millsec: 18892578 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 after first make1btime in make1btime taos: 10970.222458 millsec: 19220411 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 DONE WITH MAKEHEADER ***** Running navigation/calibration at Fri Jan 14 02:17:52 CST 2011 ***** Working on year and julian day (yyddd): 11013 (2011 Jan 13) no H option specified TBMFLAG: compval: 0 reading input header input header has been read satid from header : 2 XX satid: 16 getting time from firstline getting time in gettime in: 7 db 0 d 0 6b 1 20 47 22 year: 2011 day: 13 ymd year: 2011 ymd yeardif: 30 after getheader done with 1967 lines header count: 0 actual: 1967 header will be rewritten output header follows: satid: 16 orbnum: 0 nlines: 1967 julday: 10970 taos: 18892578 NEW PROCESSGENERICGAC year: 2011 input file is : tmp output file is : tmp.p new processraw opening raw file: tmp opening archive file and writing header to tmp.p header written to newdataset dumsat: 3 satid from first line is: 16 year before julianday call: 2011 firstline curday: 13 julian: 10970 time: 18892578 linein: 0 curtime: 18893078 lasttime: 18892578 lastgood: 18892578 timdif: 500 linein: 100 curtime: 18943078 lasttime: 18942578 lastgood: 18942578 timdif: 500 linein: 200 curtime: 18993078 lasttime: 18992578 lastgood: 18992578 timdif: 500 linein: 300 curtime: 19043078 lasttime: 19042578 lastgood: 19042578 timdif: 500 linein: 400 curtime: 19093078 lasttime: 19092578 lastgood: 19092578 timdif: 500 linein: 500 curtime: 19143078 lasttime: 19142578 lastgood: 19142578 timdif: 500 linein: 600 curtime: 19193078 lasttime: 19192578 lastgood: 19192578 timdif: 500 linein: 700 curtime: 19243078 lasttime: 19242578 lastgood: 19242578 timdif: 500 linein: 800 curtime: 19293078 lasttime: 19292578 lastgood: 19292578 timdif: 500 linein: 900 curtime: 19343078 lasttime: 19342578 lastgood: 19342578 timdif: 500 linein: 1000 curtime: 19393078 lasttime: 19392578 lastgood: 19392578 timdif: 500 linein: 1100 curtime: 19443078 lasttime: 19442578 lastgood: 19442578 timdif: 500 linein: 1200 curtime: 19493078 lasttime: 19492578 lastgood: 19492578 timdif: 500 linein: 1300 curtime: 19543078 lasttime: 19542578 lastgood: 19542578 timdif: 500 linein: 1400 curtime: 19593078 lasttime: 19592578 lastgood: 19592578 timdif: 500 linein: 1500 curtime: 19643078 lasttime: 19642578 lastgood: 19642578 timdif: 500 linein: 1600 curtime: 19693078 lasttime: 19692578 lastgood: 19692578 timdif: 500 linein: 1700 curtime: 19743078 lasttime: 19742578 lastgood: 19742578 timdif: 500 linein: 1800 curtime: 19793078 lasttime: 19792578 lastgood: 19792578 timdif: 500 linein: 1900 curtime: 19843078 lasttime: 19842578 lastgood: 19842578 timdif: 500 could not read line bytes read: 0 error reading line: 1966 archive corect to here will rewrite header correctly cleaning up archive file new header being written as: satid: 16 orbit number: 0 dum: 0 number of lines: 1967 julian day: 10970d time of first scan: 5.247938 processing GAC data satid: 16 orbit number: 0 dum: 0 number of lines: 1967 julian day: 10970d time of first scan: 5.247938 Seasonal correction for julian date 10970.218664 = 0.967310 flag is : S 11/01/13 00:00:00110113000000 year: 11 month: 1 day: 13 dayofyear: 13 file containing coefficients is COEFFS.16 calling openparm16 before sprintf parmfilename: /Users/jkey/nav/cal/calib16.dat i: 0 nu: 2226.179930 i: 1 nu: 782.472410 i: 2 nu: 714.285640 chan: 0 nuc: 2700.114800 A: 1.592459 B: 0.998147 chan: 1 nuc: 917.228900 A: 0.332380 B: 0.998522 chan: 2 nuc: 838.125500 A: 0.674623 B: 0.998363 i: 0 wave:0.000000 i: 1 wave:0.000000 i: 2 wave:2700.114800 i: 3 wave:917.228900 i: 4 wave:838.125500 before look for Z after look for Z about to leave openparm newflag is 1: 1 about to open: tmp.p headstuff: sat: 16 orb: 0 julianday: 10970 taos: 18892578 length of headstuff: 57 headstuff: sat: 16 orb: 0 julianday: 10970 taos: 18892578 0.000 0.000 2700.1148 917.2289 838.1255 length of headstuff: 106 ************** results of initial calibration ******** from header firstday is : 13 arcsize: 5626 in sequence numlines: 1 day: 13 val: 407 arcsize: 5626 in sequence numlines: 2 day: 13 val: 412 arcsize: 5626 in sequence numlines: 3 day: 13 val: 418 arcsize: 5626 in sequence numlines: 4 day: 13 val: 0 realline before: 4 spaceref: 0.000000 targtemp: 297.755664 space rad: 0.000000 -4.500000 -3.610000 average space counts: 990.480000 991.300000 994.360000 average internal counts: 784.460000 389.500000 373.180000 satid: 16 launch_indx: -1 chan: 3 radspace: 0.000000 radtarget: 0.529069 spacebar:990.480000 internalbar: 784.460000 chan: 3 radspace: 0.000000 radtarget: 0.529069 spacebar:990.480000 internalbar: 784.460000 gain: -0.002568 offset: 2.543599 chan: 4 radspace: -4.500000 radtarget: 110.410066 spacebar:991.300000 internalbar: 389.500000 chan: 4 radspace: -4.500000 radtarget: 110.410066 spacebar:991.300000 internalbar: 389.500000 gain: -0.190944 offset: 184.782730 chan: 5 radspace: -3.610000 radtarget: 124.673310 spacebar:994.360000 internalbar: 373.180000 chan: 5 radspace: -3.610000 radtarget: 124.673310 spacebar:994.360000 internalbar: 373.180000 gain: -0.206516 offset: 201.740768 gain after: 0.054943 gain after: 0.054943 gain and offset up to scan line 54 : 0.054943 -2.115894 0.057652 -2.330830 -0.002568 2.543599 -0.190944 184.782730 -0.206516 201.740768 ************************************************************ trouble reading line in main DONE WITH CALIBRATION there were 1967 lines done THIS IS ACTUALLY rawcal15_new AS IT SHOULD BE CALIBRATION FILE: COEFFS.16 RADFLAG: 1 calib_dir: /Users/jkey/nav/cal name of caldatfile is: /Users/jkey/nav/cal/calibnew16.dat have found CENTRAL WAVE in string CENTRAL WAVE NUMBER TABLE 190.000000 230.000000 2638.652000 928.260300 834.449600 230.000000 270.000000 2642.807000 928.828400 834.806600 270.000000 310.000000 2645.899000 929.332300 835.164700 have found SPLIT CAL in string SPLIT CAL TABLE SPLIT GAINS and OFFSETS CHAN 1 count 0-490 gain: 0.052300 offset: -2.016000 CHAN 1 count 491-1023 gain: 0.152800 offset: -51.910000 CHAN 2 count 0-500 gain: 0.051300 offset: -1.943000 CHAN 2 count 501-1023 gain: 0.151000 offset: -51.770000 CHAN 3 count 0-499 gain: 0.028700 offset: -2.043000 CHAN 3 count 500-1023 gain: 0.180600 offset: -78.030000 WE ARE GOING NON LINEAR name of caldatfile is: /Users/jkey/nav/cal/calibnew16.dat have found NON LINEAR in string ABOUT TO READ NON LINEAR MATRIX have READ NON LINEAR MATRIX DONE WITH NON LINEAR STUFF have found NEW COEFFS in string ABOUT TO READ NEW COEFFS i: 0 NUC: 2700.114800 Anew: 1.592459 Bnew: 0.998147 NS: 0.000000 B0: 0.000000 B1: 0.000000 B2: 0.000000 i: 1 NUC: 917.228900 Anew: 0.332380 Bnew: 0.998522 NS: -2.467000 B0: 2.960000 B1: -0.054110 B2: 0.000245 i: 2 NUC: 838.125500 Anew: 0.674623 Bnew: 0.998363 NS: -2.009000 B0: 2.225000 B1: -0.036650 B2: 0.000149 DONE WITH NEW COEFFS calhead: sat: 16 orb: 0 julianday: 10970 taos: 18892578 0.000 0.000 2700.1148 917.2289 838.1255 ӵFp/Users/jkey/nav/cal/calibnew16.dat calhead: 0.000 0.000 2700.1148 917.2289 838.1255 ӵFp/Users/jkey/nav/cal/calibnew16.dat wavecent: 0.000000 0.000000 2700.114800 917.228900 838.125500 INVWAVE: 0.000000 size of cal file is: 208714 have read in cal array number of lines 1967 doing raw line: 0 doing raw line: 500 doing raw line: 1000 doing raw line: 1500 TIME calculation WAS REQUESTED SZA calculation WAS REQUESTED LINE and SAMPLE DATA WAS REQUESTED OSCULATING CORRECTIONS WILL BE APPLIED dashv: temp: strlen: 0 dashH: n strlen: 1 AFTER GET OPTIONS GAC DATA OPTION HAS BEEN CHOOSEN AFTER INIT input file has been opened, fp: 1883758400 after openarc fp: 1883758400 sid: 16d orbnum: 0d numscan: 1967d milday: 18892578d *** data header *** satid: 16 orbit number: 0 number of lines: 1967 julian day: 10970 time of first scan: 5.247938 ******************** AFTER INITDATA julday: 10970 taos: 18892578 TIME OF FIRST SCAN : 11/01/13 05:14:53 looking for ephemeris data for taos: 10970.218664 opening ephemeris after opening ephemeris size: 76 *******ephemeris elements ************ satid: 26536 orbit: 65195 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 ecc: 0.001062 argper: 0.364140 ascnode: 0.799605 inclin: 0.275446 ephoc: 110105000000 **************************** ******ephemnot structure follows*******: satid: 26536 orbit: 65195 size: 76 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 eccen: 0.001062 argper: 0.364140 ascenode: 0.799605 inclin: 0.275446 earadius: 6378137.000000 oblat: 0.001083 ***************************************************************** *********epheminit structure follows******* timnot: 10962.000000 smajaxis: 1.132905 decay: -0.000000 eccen: 0.001062 inclin: 1.730681 argper: 2.287962 perrate: -0.000551 longan: 5.024068 nodrate: 0.000201 ,meananom: 1.717550 meanmot: 0.828813 meanmotrate: 0.000000 grav constant: 398598005011040.375000 ***************************************************************** satlat1: -1.046081 satlat2: -1.071212 asnflag: -1 DATA IS DESCENDING **************** INITAILIZATION OVER ****************** dashr: 72.363 RANGE0: 72.363000 IN SATGEO line: 0 spot: 204 time: 10970.218664 IN SATGEO line: 5 spot: 204 time: 10970.218693 RANGE: 72.363000 Pass is Descending at start center lat: -89.999943 center lon: 180.000000 range: 72.363000 images will be processed using chunks of 321 lines getting space for 10 bit image image.proj: 8 fpsza: 7047dfd8 fpsaza: 7047e070 opening 135292053.NSS.GHRR.NL.D11013.S0411.E0559.B5314849.GC.S.1 OPENING chan: 0 fp: 1883759312 opening 135292053.NSS.GHRR.NL.D11013.S0411.E0559.B5314849.GC.S.2 OPENING chan: 1 fp: 1883759464 opening 135292053.NSS.GHRR.NL.D11013.S0411.E0559.B5314849.GC.S.3 OPENING chan: 2 fp: 1883759616 opening 135292053.NSS.GHRR.NL.D11013.S0411.E0559.B5314849.GC.S.4 OPENING chan: 3 fp: 1883759768 opening 135292053.NSS.GHRR.NL.D11013.S0411.E0559.B5314849.GC.S.5 OPENING chan: 4 fp: 1883759920 getting space for time array getting space for sza array getting space for saza array getting space for satelv array getting space for sataz array ************************************* total bytes malloced is : 3453394 ************************************* ******** current elements follow******** taos: 10970.218664 time: 10970.218664 smajaxis: 7225817.066803 eccentricity: 0.001062 inclin: 1.730734 argper: 1.885800 longan: -2.627972 meananom: 2.323093 trueanom: 2.324642 altitude: 7231078.914293 ********************************************** satpos: 3525273.447747 827132.311915 -6271418.096866 satvel: -5378.363686 -3685.584947 -3517.723948 satlat: -59.998607 satlon: 13.204420 COMMAND>DASHD: n INTERPOLATION CHOOSEN , every 8 x pixel and every 8 ypixel going through pixels **** before templat: -36.957736 centtodet: -37.142800 CORNERS OF WHOLE IMAGE FOLLOW North West Corner lat: -37.142800 lon: -45.000061 North East Corner lat: -37.320927 lon: 44.821012 South East Corner lat: -37.499365 lon: 135.000061 South West Corner lat: -37.320826 lon: 225.178988 interpolation choosen every 8 i pixels and every 8 j pixels image will be processed in 1 chunks of 321 image lines segment 0 startj: 0 stopj: 321 starti: 0 stopi: 320 numj: 321 north west----- lat: -36.957736 lon: -45.000061 line: -999 spot: -999 north east----- lat: -37.135539 lon: 44.821012 line: -999 spot: -999 south east-----lat: -37.135438 lon: 135.179109 line: -999 spot: -999 south west-----lat: -36.957635 lon: 224.999939 line: -999 spot: 18 doing chunk number: 0 from line: 0 to line: 320 numcelx: 40 numcely: 40 extrai: 0 extraj: 0 ****minline: 0 maxline: 1966 in data aquisiton maxline: 1966 minline: 0 in data aquistion module image is contained within lines : 1 and 1966 data will be processed using 20 chunks of 100 lines in get10 searching data lines 1 to 101 for image lines 0 to 321 in get10 searching data lines 101 to 201 for image lines 0 to 321 in get10 searching data lines 201 to 301 for image lines 0 to 321 in get10 searching data lines 301 to 401 for image lines 0 to 321 in get10 searching data lines 401 to 501 for image lines 0 to 321 in get10 searching data lines 501 to 601 for image lines 0 to 321 in get10 searching data lines 601 to 701 for image lines 0 to 321 in get10 searching data lines 701 to 801 for image lines 0 to 321 in get10 searching data lines 801 to 901 for image lines 0 to 321 in get10 searching data lines 901 to 1001 for image lines 0 to 321 in get10 searching data lines 1001 to 1101 for image lines 0 to 321 in get10 searching data lines 1101 to 1201 for image lines 0 to 321 in get10 searching data lines 1201 to 1301 for image lines 0 to 321 in get10 searching data lines 1301 to 1401 for image lines 0 to 321 in get10 searching data lines 1401 to 1501 for image lines 0 to 321 in get10 searching data lines 1501 to 1601 for image lines 0 to 321 in get10 searching data lines 1601 to 1701 for image lines 0 to 321 in get10 searching data lines 1701 to 1801 for image lines 0 to 321 in get10 searching data lines 1801 to 1901 for image lines 0 to 321 Undefined error: 0 eof or error after 1965 lines in get10 searching data lines 1901 to 2001 for image lines 0 to 321 dumping SZA array in dumpother j1: 0 j2: 321 ysize: 321 fpother: 1883758552 writing other type image in dumpother j1: 0 j2: 321 ysize: 321 fpother: 1883758704 writing other type image *************** dashY: y dumping ELEV array in dumpother j1: 0 j2: 321 ysize: 321 fpother: 1883759160 writing other type image dumping AZIM array in dumpother j1: 0 j2: 321 ysize: 321 fpother: 1883759008 writing other type image constructing TIME array in puttime j1: 0 j2: 321 ysize: 321 dumping TIME array in dumpother j1: 0 j2: 321 ysize: 321 fpother: 1883758856 writing other type image nchan: 5 dumping ch: 0 fp: 1883759312 about to dump image number: 0 channel: 1 xsize: 321 ysize: 321 IN WRITEIMAGE chan: 0 fp: 1883759312 DOne with dumpimage fp: 1883759312 have dumped ch: 0 fp: 1883759312 dumping ch: 1 fp: 1883759464 about to dump image number: 1 channel: 2 xsize: 321 ysize: 321 IN WRITEIMAGE chan: 1 fp: 1883759464 DOne with dumpimage fp: 1883759464 have dumped ch: 1 fp: 1883759464 dumping ch: 2 fp: 1883759616 about to dump image number: 2 channel: 3 xsize: 321 ysize: 321 IN WRITEIMAGE chan: 2 fp: 1883759616 DOne with dumpimage fp: 1883759616 have dumped ch: 2 fp: 1883759616 dumping ch: 3 fp: 1883759768 about to dump image number: 3 channel: 4 xsize: 321 ysize: 321 IN WRITEIMAGE chan: 3 fp: 1883759768 DOne with dumpimage fp: 1883759768 have dumped ch: 3 fp: 1883759768 dumping ch: 4 fp: 1883759920 about to dump image number: 4 channel: 5 xsize: 321 ysize: 321 IN WRITEIMAGE chan: 4 fp: 1883759920 DOne with dumpimage fp: 1883759920 have dumped ch: 4 fp: 1883759920 About to write headers fp: 1883759768 done with navigation--retrieving data ***** Running polar regions subsetting at Fri Jan 14 02:17:53 CST 2011 ***** Working on year and julian day (yyddd): 11013 (2011 Jan 13) command line args: ephemfile: /Users/jkey/nav/ephemeris northlimit: 60.000000 southlimit: -60.000000 data is type: G sds-type is: H region is: O SDS GAC data selected. year: 2011 day: 13 miilsecs: 21361078 before md doy: 13 year: 2011 **julianday: 10970 year: 2011 day: 13 miilsecs: 21361078 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 year: 2011 day: 13 miilsecs: 21361578 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 year: 2011 day: 13 miilsecs: 21362078 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 taos: 21361078 satid: 16 julian day: 10970 nlines: 13531 GOING INTO initorb4 satnum: 16 navsatid: 26536 calling readephem taos: 10970.247235 opening ephemeris after opening ephemeris size: 76 *******ephemeris elements ************ satid: 26536 orbit: 65195 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 ecc: 0.001062 argper: 0.364140 ascnode: 0.799605 inclin: 0.275446 ephoc: 110105000000 **************************** ******ephemnot structure follows*******: satid: 26536 orbit: 65195 size: 76 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 eccen: 0.001062 argper: 0.364140 ascenode: 0.799605 inclin: 0.275446 earadius: 6378137.000000 oblat: 0.001083 ***************************************************************** YEAR HERE: 11 *********epheminit structure follows******* timnot: 10962.000000 smajaxis: 1.132905 decay: -0.000000 eccen: 0.001062 inclin: 1.730681 argper: 2.287962 perrate: -0.000551 longan: 5.024068 nodrate: 0.000201 ,meananom: 1.717550 meanmot: 0.828813 meanmotrate: 0.000000 grav constant: 398598005011040.375000 ***************************************************************** ******** current elements follow******** taos: 10970.247235 time: 10970.247235 smajaxis: 7225817.051357 eccentricity: 0.001062 inclin: 1.730681 argper: 1.884402 longan: -2.807384 meananom: 733.708401 trueanom: 733.706299 altitude: 7224704.812393 ********************************************** ******** current elements follow******** taos: 10970.247235 time: 10970.247235 smajaxis: 7225817.051357 eccentricity: 0.001062 inclin: 1.730681 argper: 1.884402 longan: -2.807384 meananom: 733.708401 trueanom: 733.706299 altitude: 7224704.812393 ********************************************** SPECIFIC DATA: bytesperline: 4608 scanspersec: 2.000000 line : 0 10970.247235 26.034681 -165.319662 7226191.244096 line : 100 10970.247813 28.940590 -166.121648 7225302.880856 line : 200 10970.248392 31.842376 -166.957543 7224420.784013 line : 300 10970.248971 34.739415 -167.833804 7223548.340572 line : 400 10970.249550 37.630996 -168.758160 7222688.967636 line : 500 10970.250128 40.516292 -169.739987 7221846.091647 line : 600 10970.250707 43.394318 -170.790810 7221023.127123 line : 700 10970.251286 46.263871 -171.924993 7220223.455075 line : 800 10970.251864 49.123452 -173.160698 7219450.401289 line : 900 10970.252443 51.971147 -174.521250 7218707.214672 line : 1000 10970.253022 54.804451 -176.037109 7217997.045853 line : 1100 10970.253600 57.620018 -177.748779 7217322.926230 Opening data.NORTH1 and writing header line: 1186 line : 1200 10970.254179 60.413257 -179.711203 7216687.747664 line : 1300 10970.254758 63.177706 177.999466 7216094.242992 line : 1400 10970.255337 65.904006 175.275198 7215544.967549 line : 1500 10970.255915 68.578172 171.958994 7215042.281859 line : 1600 10970.256494 71.178581 167.817370 7214588.335675 line : 1700 10970.257073 73.670584 162.497178 7214185.053488 line : 1800 10970.257651 75.996815 155.465453 7213834.121661 line : 1900 10970.258230 78.060580 145.961580 7213536.977298 line : 2000 10970.258809 79.703358 133.114637 7213294.798956 line : 2100 10970.259387 80.699698 116.628823 7213108.499278 line : 2200 10970.259966 80.836421 98.076200 7212978.719616 line : 2300 10970.260545 80.077870 80.702795 7212905.826697 line : 2400 10970.261124 78.601176 66.745797 7212889.911352 line : 2500 10970.261702 76.642086 56.333800 7212930.789323 line : 2600 10970.262281 74.380666 48.656672 7213028.004125 line : 2700 10970.262860 71.929613 42.893102 7213180.831941 line : 2800 10970.263438 69.355883 38.444781 7213388.288495 line : 2900 10970.264017 66.699604 34.911925 7213649.137827 line : 3000 10970.264596 63.985562 32.030818 7213961.902890 line : 3100 10970.265175 61.229621 29.625201 7214324.877842 line : 3200 10970.265753 58.442296 27.574648 7214736.141944 line : 3300 10970.266332 55.630783 25.794873 7215193.574885 line : 3400 10970.266911 52.800153 24.225475 7215694.873422 line : 3500 10970.267489 49.954080 22.822201 7216237.569136 line : 3600 10970.268068 47.095292 21.551963 7216819.047161 line : 3700 10970.268647 44.225864 20.389554 7217436.565682 line : 3800 10970.269225 41.347412 19.315441 7218087.276035 line : 3900 10970.269804 38.461224 18.314245 7218768.243192 line : 4000 10970.270383 35.568351 17.373678 7219476.466466 line : 4100 10970.270962 32.669670 16.483785 7220208.900220 line : 4200 10970.271540 29.765932 15.636387 7220962.474398 line : 4300 10970.272119 26.857794 14.824684 7221734.114686 line : 4400 10970.272698 23.945842 14.042939 7222520.762130 line : 4500 10970.273276 21.030612 13.286255 7223319.392023 line : 4600 10970.273855 18.112601 12.550391 7224127.031904 line : 4700 10970.274434 15.192278 11.831623 7224940.778523 line : 4800 10970.275012 12.270092 11.126628 7225757.813615 line : 4900 10970.275591 9.346477 10.432397 7226575.418369 line : 5000 10970.276170 6.421854 9.746158 7227390.986479 line : 5100 10970.276749 3.496639 9.065308 7228202.035675 line : 5200 10970.277327 0.571242 8.387355 7229006.217669 line : 5300 10970.277906 -2.353930 7.709871 7229801.326447 line : 5400 10970.278485 -5.278472 7.030436 7230585.304863 line : 5500 10970.279063 -8.201979 6.346590 7231356.249530 line : 5600 10970.279642 -11.124041 5.655787 7232112.413975 line : 5700 10970.280221 -14.044248 4.955331 7232852.210105 line : 5800 10970.280800 -16.962179 4.242322 7233574.207988 line : 5900 10970.281378 -19.877403 3.513582 7234277.134019 line : 6000 10970.281957 -22.789474 2.765569 7234959.867528 line : 6100 10970.282536 -25.697921 1.994280 7235621.435914 line : 6200 10970.283114 -28.602244 1.195117 7236261.008404 line : 6300 10970.283693 -31.501896 0.362730 7236877.888549 line : 6400 10970.284272 -34.396275 -0.509188 7237471.505580 line : 6500 10970.284850 -37.284696 -1.428172 7238041.404758 line : 6600 10970.285429 -40.166364 -2.403345 7238587.236861 line : 6700 10970.286008 -43.040335 -3.445890 7239108.746962 line : 6800 10970.286587 -45.905464 -4.569710 7239605.762653 line : 6900 10970.287165 -48.760319 -5.792340 7240078.181879 line : 7000 10970.287744 -51.603082 -7.136225 7240525.960543 line : 7100 10970.288323 -54.431379 -8.630581 7240949.100047 line : 7200 10970.288901 -57.242042 -10.314115 7241347.634940 Opening data.SOUTH1 and writing header line: 7299 line : 7300 10970.289480 -60.030742 -12.239115 7241721.620817 line : 7400 10970.290059 -62.791405 -14.477715 7242071.122642 line : 7500 10970.290637 -65.515277 -17.131726 7242396.203637 line : 7600 10970.291216 -68.189342 -20.348282 7242696.914873 line : 7700 10970.291795 -70.793599 -24.344957 7242973.285707 line : 7800 10970.292374 -73.296208 -29.449247 7243225.315179 line : 7900 10970.292952 -75.644775 -36.154753 7243452.964476 line : 8000 10970.293531 -77.751228 -45.173058 7243656.150565 line : 8100 10970.294110 -79.470057 -57.361018 7243834.741078 line : 8200 10970.294688 -80.587140 -73.171752 7243988.550509 line : 8300 10970.295267 -80.879074 -91.430629 7244117.337780 line : 8400 10970.295846 -80.271457 -109.092477 7244220.805207 line : 8500 10970.296425 -78.911121 -123.625144 7244298.598894 line : 8600 10970.297003 -77.032600 -134.582540 7244350.310545 line : 8700 10970.297582 -74.826805 -142.675656 7244375.480685 line : 8800 10970.298161 -72.416046 -148.737021 7244373.603261 line : 8900 10970.298739 -69.873370 -153.397267 7244344.131572 line : 9000 10970.299318 -67.242449 -157.083204 7244286.485466 line : 9100 10970.299897 -64.550123 -160.077265 7244200.059726 line : 9200 10970.300475 -61.813465 -162.568080 7244084.233550 line : 9300 10970.301054 -59.043720 -164.684227 7243938.381022 line : 9400 10970.301633 -56.248538 -166.515438 7243761.882456 line : 9500 10970.302212 -53.433275 -168.125823 7243554.136479 line : 9600 10970.302790 -50.601787 -169.562212 7243314.572721 line : 9700 10970.303369 -47.756916 -170.859523 7243042.664959 line : 9800 10970.303948 -44.900809 -172.044283 7242737.944561 line : 9900 10970.304526 -42.035122 -173.136997 7242400.014078 line : 10000 10970.305105 -39.161166 -174.153770 7242028.560809 line : 10100 10970.305684 -36.280001 -175.107440 7241623.370184 line : 10200 10970.306262 -33.392502 -176.008385 7241184.338799 line : 10300 10970.306841 -30.499412 -176.865109 7240711.486936 line : 10400 10970.307420 -27.601376 -177.684669 7240204.970408 line : 10500 10970.307999 -24.698964 -178.473000 7239665.091580 line : 10600 10970.308577 -21.792694 -179.235159 7239092.309411 line : 10700 10970.309156 -18.883045 -179.975511 7238487.248386 line : 10800 10970.309735 -15.970468 179.302121 7237850.706192 line : 10900 10970.310313 -13.055392 178.594341 7237183.660042 line : 11000 10970.310892 -10.138233 177.898082 7236487.271519 line : 11100 10970.311471 -7.219397 177.210531 7235762.889865 line : 11200 10970.312050 -4.299281 176.529055 7235012.053627 line : 11300 10970.312628 -1.378283 175.851152 7234236.490606 line : 11400 10970.313207 1.543204 175.174389 7233438.116058 line : 11500 10970.313786 4.464787 174.496356 7232619.029127 line : 11600 10970.314364 7.386069 173.814617 7231781.507496 line : 11700 10970.314943 10.306650 173.126659 7230928.000268 line : 11800 10970.315522 13.226124 172.429838 7230061.119104 line : 11900 10970.316100 16.144078 171.721318 7229183.627662 line : 12000 10970.316679 19.060085 170.998009 7228298.429397 line : 12100 10970.317258 21.973700 170.256478 7227408.553817 line : 12200 10970.317837 24.884458 169.492858 7226517.141275 line : 12300 10970.318415 27.791860 168.702724 7225627.426419 line : 12400 10970.318994 30.695368 167.880945 7224742.720429 line : 12500 10970.319573 33.594385 167.021488 7223866.392181 line : 12600 10970.320151 36.488236 166.117166 7223001.848497 line : 12700 10970.320730 39.376145 165.159305 7222152.513636 line : 12800 10970.321309 42.257195 164.137301 7221321.808211 line : 12900 10970.321887 45.130279 163.038010 7220513.127713 line : 13000 10970.322466 47.994024 161.844908 7219729.820825 line : 13100 10970.323045 50.846698 160.536906 7218975.167725 line : 13200 10970.323624 53.686056 159.086654 7218252.358560 line : 13300 10970.324202 56.509122 157.458044 7217564.472306 line : 13400 10970.324781 59.311855 155.602494 7216914.456183 Opening data.NORTH2 and writing header line: 13425 line : 13500 10970.325360 62.088631 153.453252 7216305.105830 could not read line 13528 writing header for file 0 goint into getcorrectsdsvals year: 2011 day: 13 miilsecs: 21955578 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 going into makeheader with taos: 10970.254115 satid: 16 nlines: 1959 IN MAKEHEADER going into first make1btime in make1btime taos: 10970.254115 millsec: 21955578 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 after first make1btime in make1btime taos: 10970.257894 millsec: 22282078 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 DONE WITH MAKEHEADER writing header for file 1 goint into getcorrectsdsvals year: 2011 day: 13 miilsecs: 28075078 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 going into makeheader with taos: 10970.324943 satid: 16 nlines: 103 IN MAKEHEADER going into first make1btime in make1btime taos: 10970.324943 millsec: 28075078 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 after first make1btime in make1btime taos: 10970.325142 millsec: 28092245 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 DONE WITH MAKEHEADER writing header for file 2 goint into getcorrectsdsvals year: 2011 day: 13 miilsecs: 25012078 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 going into makeheader with taos: 10970.289492 satid: 16 nlines: 1967 IN MAKEHEADER going into first make1btime in make1btime taos: 10970.289492 millsec: 25012078 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 after first make1btime in make1btime taos: 10970.293286 millsec: 25339911 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 DONE WITH MAKEHEADER ***** Running navigation/calibration at Fri Jan 14 02:17:53 CST 2011 ***** Working on year and julian day (yyddd): 11013 (2011 Jan 13) no H option specified TBMFLAG: compval: 0 reading input header input header has been read satid from header : 2 XX satid: 16 getting time from firstline getting time in gettime in: 7 db 0 d 0 6b 1 4f 3 fa year: 2011 day: 13 ymd year: 2011 ymd yeardif: 30 after getheader done with 1959 lines header count: 0 actual: 1959 header will be rewritten output header follows: satid: 16 orbnum: 0 nlines: 1959 julday: 10970 taos: 21955578 NEW PROCESSGENERICGAC year: 2011 input file is : tmp output file is : tmp.p new processraw opening raw file: tmp opening archive file and writing header to tmp.p header written to newdataset dumsat: 3 satid from first line is: 16 year before julianday call: 2011 firstline curday: 13 julian: 10970 time: 21955578 linein: 0 curtime: 21956078 lasttime: 21955578 lastgood: 21955578 timdif: 500 linein: 100 curtime: 22006078 lasttime: 22005578 lastgood: 22005578 timdif: 500 linein: 200 curtime: 22056078 lasttime: 22055578 lastgood: 22055578 timdif: 500 linein: 300 curtime: 22106078 lasttime: 22105578 lastgood: 22105578 timdif: 500 linein: 400 curtime: 22156078 lasttime: 22155578 lastgood: 22155578 timdif: 500 linein: 500 curtime: 22206078 lasttime: 22205578 lastgood: 22205578 timdif: 500 linein: 600 curtime: 22256078 lasttime: 22255578 lastgood: 22255578 timdif: 500 linein: 700 curtime: 22306078 lasttime: 22305578 lastgood: 22305578 timdif: 500 linein: 800 curtime: 22356078 lasttime: 22355578 lastgood: 22355578 timdif: 500 linein: 900 curtime: 22406078 lasttime: 22405578 lastgood: 22405578 timdif: 500 linein: 1000 curtime: 22456078 lasttime: 22455578 lastgood: 22455578 timdif: 500 linein: 1100 curtime: 22506078 lasttime: 22505578 lastgood: 22505578 timdif: 500 linein: 1200 curtime: 22556078 lasttime: 22555578 lastgood: 22555578 timdif: 500 linein: 1300 curtime: 22606078 lasttime: 22605578 lastgood: 22605578 timdif: 500 linein: 1400 curtime: 22656078 lasttime: 22655578 lastgood: 22655578 timdif: 500 linein: 1500 curtime: 22706078 lasttime: 22705578 lastgood: 22705578 timdif: 500 linein: 1600 curtime: 22756078 lasttime: 22755578 lastgood: 22755578 timdif: 500 linein: 1700 curtime: 22806078 lasttime: 22805578 lastgood: 22805578 timdif: 500 linein: 1800 curtime: 22856078 lasttime: 22855578 lastgood: 22855578 timdif: 500 linein: 1900 curtime: 22906078 lasttime: 22905578 lastgood: 22905578 timdif: 500 could not read line bytes read: 0 error reading line: 1958 archive corect to here will rewrite header correctly cleaning up archive file new header being written as: satid: 16 orbit number: 0 dum: 0 number of lines: 1959 julian day: 10970d time of first scan: 6.098772 processing GAC data satid: 16 orbit number: 0 dum: 0 number of lines: 1959 julian day: 10970d time of first scan: 6.098772 Seasonal correction for julian date 10970.254115 = 0.967313 flag is : S 11/01/13 00:00:00110113000000 year: 11 month: 1 day: 13 dayofyear: 13 file containing coefficients is COEFFS.16 calling openparm16 before sprintf parmfilename: /Users/jkey/nav/cal/calib16.dat i: 0 nu: 2226.179930 i: 1 nu: 782.472410 i: 2 nu: 714.285640 chan: 0 nuc: 2700.114800 A: 1.592459 B: 0.998147 chan: 1 nuc: 917.228900 A: 0.332380 B: 0.998522 chan: 2 nuc: 838.125500 A: 0.674623 B: 0.998363 i: 0 wave:0.000000 i: 1 wave:0.000000 i: 2 wave:2700.114800 i: 3 wave:917.228900 i: 4 wave:838.125500 before look for Z after look for Z about to leave openparm newflag is 1: 1 about to open: tmp.p headstuff: sat: 16 orb: 0 julianday: 10970 taos: 21955578 length of headstuff: 57 headstuff: sat: 16 orb: 0 julianday: 10970 taos: 21955578 0.000 0.000 2700.1148 917.2289 838.1255 length of headstuff: 106 ************** results of initial calibration ******** from header firstday is : 13 arcsize: 5626 in sequence numlines: 1 day: 13 val: 388 arcsize: 5626 in sequence numlines: 2 day: 13 val: 392 arcsize: 5626 in sequence numlines: 3 day: 13 val: 0 realline before: 3 spaceref: 0.000000 targtemp: 296.594587 space rad: 0.000000 -4.500000 -3.610000 average space counts: 990.400000 991.280000 994.380000 average internal counts: 793.960000 397.280000 381.540000 satid: 16 launch_indx: -1 chan: 3 radspace: 0.000000 radtarget: 0.502951 spacebar:990.400000 internalbar: 793.960000 chan: 3 radspace: 0.000000 radtarget: 0.502951 spacebar:990.400000 internalbar: 793.960000 gain: -0.002560 offset: 2.535752 chan: 4 radspace: -4.500000 radtarget: 108.489965 spacebar:991.280000 internalbar: 397.280000 chan: 4 radspace: -4.500000 radtarget: 108.489965 spacebar:991.280000 internalbar: 397.280000 gain: -0.190219 offset: 184.060089 chan: 5 radspace: -3.610000 radtarget: 122.683753 spacebar:994.380000 internalbar: 381.540000 chan: 5 radspace: -3.610000 radtarget: 122.683753 spacebar:994.380000 internalbar: 381.540000 gain: -0.206079 offset: 201.311310 gain after: 0.054943 gain after: 0.054943 gain and offset up to scan line 53 : 0.054943 -2.115901 0.057652 -2.330838 -0.002560 2.535752 -0.190219 184.060089 -0.206079 201.311310 ************************************************************ trouble reading line in main DONE WITH CALIBRATION there were 1959 lines done THIS IS ACTUALLY rawcal15_new AS IT SHOULD BE CALIBRATION FILE: COEFFS.16 RADFLAG: 1 calib_dir: /Users/jkey/nav/cal name of caldatfile is: /Users/jkey/nav/cal/calibnew16.dat have found CENTRAL WAVE in string CENTRAL WAVE NUMBER TABLE 190.000000 230.000000 2638.652000 928.260300 834.449600 230.000000 270.000000 2642.807000 928.828400 834.806600 270.000000 310.000000 2645.899000 929.332300 835.164700 have found SPLIT CAL in string SPLIT CAL TABLE SPLIT GAINS and OFFSETS CHAN 1 count 0-490 gain: 0.052300 offset: -2.016000 CHAN 1 count 491-1023 gain: 0.152800 offset: -51.910000 CHAN 2 count 0-500 gain: 0.051300 offset: -1.943000 CHAN 2 count 501-1023 gain: 0.151000 offset: -51.770000 CHAN 3 count 0-499 gain: 0.028700 offset: -2.043000 CHAN 3 count 500-1023 gain: 0.180600 offset: -78.030000 WE ARE GOING NON LINEAR name of caldatfile is: /Users/jkey/nav/cal/calibnew16.dat have found NON LINEAR in string ABOUT TO READ NON LINEAR MATRIX have READ NON LINEAR MATRIX DONE WITH NON LINEAR STUFF have found NEW COEFFS in string ABOUT TO READ NEW COEFFS i: 0 NUC: 2700.114800 Anew: 1.592459 Bnew: 0.998147 NS: 0.000000 B0: 0.000000 B1: 0.000000 B2: 0.000000 i: 1 NUC: 917.228900 Anew: 0.332380 Bnew: 0.998522 NS: -2.467000 B0: 2.960000 B1: -0.054110 B2: 0.000245 i: 2 NUC: 838.125500 Anew: 0.674623 Bnew: 0.998363 NS: -2.009000 B0: 2.225000 B1: -0.036650 B2: 0.000149 DONE WITH NEW COEFFS calhead: sat: 16 orb: 0 julianday: 10970 taos: 21955578 0.000 0.000 2700.1148 917.2289 838.1255 jHy/Users/jkey/nav/cal/calibnew16.dat calhead: 0.000 0.000 2700.1148 917.2289 838.1255 jHy/Users/jkey/nav/cal/calibnew16.dat wavecent: 0.000000 0.000000 2700.114800 917.228900 838.125500 INVWAVE: 0.000000 size of cal file is: 207866 have read in cal array number of lines 1959 doing raw line: 0 doing raw line: 500 doing raw line: 1000 doing raw line: 1500 TIME calculation WAS REQUESTED SZA calculation WAS REQUESTED LINE and SAMPLE DATA WAS REQUESTED OSCULATING CORRECTIONS WILL BE APPLIED dashv: temp: strlen: 0 dashH: n strlen: 1 AFTER GET OPTIONS GAC DATA OPTION HAS BEEN CHOOSEN AFTER INIT input file has been opened, fp: 1883758400 after openarc fp: 1883758400 sid: 16d orbnum: 0d numscan: 1959d milday: 21955578d *** data header *** satid: 16 orbit number: 0 number of lines: 1959 julian day: 10970 time of first scan: 6.098772 ******************** AFTER INITDATA julday: 10970 taos: 21955578 TIME OF FIRST SCAN : 11/01/13 06:05:56 looking for ephemeris data for taos: 10970.254115 opening ephemeris after opening ephemeris size: 76 *******ephemeris elements ************ satid: 26536 orbit: 65195 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 ecc: 0.001062 argper: 0.364140 ascnode: 0.799605 inclin: 0.275446 ephoc: 110105000000 **************************** ******ephemnot structure follows*******: satid: 26536 orbit: 65195 size: 76 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 eccen: 0.001062 argper: 0.364140 ascenode: 0.799605 inclin: 0.275446 earadius: 6378137.000000 oblat: 0.001083 ***************************************************************** *********epheminit structure follows******* timnot: 10962.000000 smajaxis: 1.132905 decay: -0.000000 eccen: 0.001062 inclin: 1.730681 argper: 2.287962 perrate: -0.000551 longan: 5.024068 nodrate: 0.000201 ,meananom: 1.717550 meanmot: 0.828813 meanmotrate: 0.000000 grav constant: 398598005011040.375000 ***************************************************************** satlat1: 1.046178 satlat2: 1.071382 asnflag: 1 DATA IS ASCENDING **************** INITAILIZATION OVER ****************** dashr: 81.38011 RANGE0: 81.380110 IN SATGEO line: 0 spot: 204 time: 10970.254115 IN SATGEO line: 5 spot: 204 time: 10970.254144 RANGE: 81.380110 Pass is Ascending at start center lat: 90.000000 center lon: 0.000000 range: 81.380110 images will be processed using chunks of 361 lines getting space for 10 bit image image.proj: 8 fpsza: 7047dfd8 fpsaza: 7047e070 opening 135324313.NSS.GHRR.NL.D11013.S0556.E0748.B5314950.WI.N1.1 OPENING chan: 0 fp: 1883759312 opening 135324313.NSS.GHRR.NL.D11013.S0556.E0748.B5314950.WI.N1.2 OPENING chan: 1 fp: 1883759464 opening 135324313.NSS.GHRR.NL.D11013.S0556.E0748.B5314950.WI.N1.3 OPENING chan: 2 fp: 1883759616 opening 135324313.NSS.GHRR.NL.D11013.S0556.E0748.B5314950.WI.N1.4 OPENING chan: 3 fp: 1883759768 opening 135324313.NSS.GHRR.NL.D11013.S0556.E0748.B5314950.WI.N1.5 OPENING chan: 4 fp: 1883759920 getting space for time array getting space for sza array getting space for saza array getting space for satelv array getting space for sataz array ************************************* total bytes malloced is : 4217234 ************************************* ******** current elements follow******** taos: 10970.254115 time: 10970.254115 smajaxis: 7225817.047637 eccentricity: 0.001062 inclin: 1.730734 argper: 1.884065 longan: -2.850698 meananom: 5.469616 trueanom: 5.468072 altitude: 7220536.312237 ********************************************** satpos: -3620747.729097 -32802.276813 6242649.408801 satvel: 6082.642942 2414.860561 3526.304053 satlat: 59.885170 satlon: -179.480941 COMMAND>DASHD: n INTERPOLATION CHOOSEN , every 8 x pixel and every 8 ypixel going through pixels **** before templat: 29.712678 centtodet: 29.878633 CORNERS OF WHOLE IMAGE FOLLOW North West Corner lat: 29.878633 lon: 225.000000 North East Corner lat: 30.063244 lon: 135.159155 South East Corner lat: 30.248190 lon: 45.000000 South West Corner lat: 30.063244 lon: -45.159155 interpolation choosen every 8 i pixels and every 8 j pixels image will be processed in 1 chunks of 361 image lines segment 0 startj: 0 stopj: 361 starti: 0 stopi: 360 numj: 361 north west----- lat: 29.712678 lon: 225.000000 line: -999 spot: -999 north east----- lat: 29.896666 lon: 135.159155 line: -999 spot: -999 south east-----lat: 29.896666 lon: 44.840845 line: -999 spot: -999 south west-----lat: 29.712678 lon: -45.000000 line: -999 spot: -999 doing chunk number: 0 from line: 0 to line: 360 numcelx: 45 numcely: 45 extrai: 0 extraj: 0 ****minline: 2 maxline: 1956 in data aquisiton maxline: 1956 minline: 2 in data aquistion module image is contained within lines : 2 and 1956 data will be processed using 20 chunks of 100 lines in get10 searching data lines 2 to 102 for image lines 0 to 361 in get10 searching data lines 102 to 202 for image lines 0 to 361 in get10 searching data lines 202 to 302 for image lines 0 to 361 in get10 searching data lines 302 to 402 for image lines 0 to 361 in get10 searching data lines 402 to 502 for image lines 0 to 361 in get10 searching data lines 502 to 602 for image lines 0 to 361 in get10 searching data lines 602 to 702 for image lines 0 to 361 in get10 searching data lines 702 to 802 for image lines 0 to 361 in get10 searching data lines 802 to 902 for image lines 0 to 361 in get10 searching data lines 902 to 1002 for image lines 0 to 361 in get10 searching data lines 1002 to 1102 for image lines 0 to 361 in get10 searching data lines 1102 to 1202 for image lines 0 to 361 in get10 searching data lines 1202 to 1302 for image lines 0 to 361 in get10 searching data lines 1302 to 1402 for image lines 0 to 361 in get10 searching data lines 1402 to 1502 for image lines 0 to 361 in get10 searching data lines 1502 to 1602 for image lines 0 to 361 in get10 searching data lines 1602 to 1702 for image lines 0 to 361 in get10 searching data lines 1702 to 1802 for image lines 0 to 361 in get10 searching data lines 1802 to 1902 for image lines 0 to 361 done processing 1959 lines in get10 searching data lines 1902 to 2002 for image lines 0 to 361 dumping SZA array in dumpother j1: 0 j2: 361 ysize: 361 fpother: 1883758552 writing other type image in dumpother j1: 0 j2: 361 ysize: 361 fpother: 1883758704 writing other type image *************** dashY: y dumping ELEV array in dumpother j1: 0 j2: 361 ysize: 361 fpother: 1883759160 writing other type image dumping AZIM array in dumpother j1: 0 j2: 361 ysize: 361 fpother: 1883759008 writing other type image constructing TIME array in puttime j1: 0 j2: 361 ysize: 361 dumping TIME array in dumpother j1: 0 j2: 361 ysize: 361 fpother: 1883758856 writing other type image nchan: 5 dumping ch: 0 fp: 1883759312 about to dump image number: 0 channel: 1 xsize: 361 ysize: 361 IN WRITEIMAGE chan: 0 fp: 1883759312 DOne with dumpimage fp: 1883759312 have dumped ch: 0 fp: 1883759312 dumping ch: 1 fp: 1883759464 about to dump image number: 1 channel: 2 xsize: 361 ysize: 361 IN WRITEIMAGE chan: 1 fp: 1883759464 DOne with dumpimage fp: 1883759464 have dumped ch: 1 fp: 1883759464 dumping ch: 2 fp: 1883759616 about to dump image number: 2 channel: 3 xsize: 361 ysize: 361 IN WRITEIMAGE chan: 2 fp: 1883759616 DOne with dumpimage fp: 1883759616 have dumped ch: 2 fp: 1883759616 dumping ch: 3 fp: 1883759768 about to dump image number: 3 channel: 4 xsize: 361 ysize: 361 IN WRITEIMAGE chan: 3 fp: 1883759768 DOne with dumpimage fp: 1883759768 have dumped ch: 3 fp: 1883759768 dumping ch: 4 fp: 1883759920 about to dump image number: 4 channel: 5 xsize: 361 ysize: 361 IN WRITEIMAGE chan: 4 fp: 1883759920 DOne with dumpimage fp: 1883759920 have dumped ch: 4 fp: 1883759920 About to write headers fp: 1883759768 done with navigation--retrieving data ***** Running navigation/calibration at Fri Jan 14 02:17:54 CST 2011 ***** Working on year and julian day (yyddd): 11013 (2011 Jan 13) no H option specified TBMFLAG: compval: 0 reading input header input header has been read satid from header : 2 XX satid: 16 getting time from firstline getting time in gettime in: 7 db 0 d 0 6b 1 ac 64 46 year: 2011 day: 13 ymd year: 2011 ymd yeardif: 30 after getheader done with 103 lines header count: 0 actual: 103 header will be rewritten output header follows: satid: 16 orbnum: 0 nlines: 103 julday: 10970 taos: 28075078 NEW PROCESSGENERICGAC year: 2011 input file is : tmp output file is : tmp.p new processraw opening raw file: tmp opening archive file and writing header to tmp.p header written to newdataset dumsat: 3 satid from first line is: 16 year before julianday call: 2011 firstline curday: 13 julian: 10970 time: 28075078 linein: 0 curtime: 28075578 lasttime: 28075078 lastgood: 28075078 timdif: 500 linein: 100 curtime: 28125578 lasttime: 28125078 lastgood: 28125078 timdif: 500 could not read line bytes read: 0 error reading line: 102 archive corect to here will rewrite header correctly cleaning up archive file new header being written as: satid: 16 orbit number: 0 dum: 0 number of lines: 103 julian day: 10970d time of first scan: 7.798633 processing GAC data satid: 16 orbit number: 0 dum: 0 number of lines: 103 julian day: 10970d time of first scan: 7.798633 Seasonal correction for julian date 10970.324943 = 0.967320 flag is : S 11/01/13 00:00:00110113000000 year: 11 month: 1 day: 13 dayofyear: 13 file containing coefficients is COEFFS.16 calling openparm16 before sprintf parmfilename: /Users/jkey/nav/cal/calib16.dat i: 0 nu: 2226.179930 i: 1 nu: 782.472410 i: 2 nu: 714.285640 chan: 0 nuc: 2700.114800 A: 1.592459 B: 0.998147 chan: 1 nuc: 917.228900 A: 0.332380 B: 0.998522 chan: 2 nuc: 838.125500 A: 0.674623 B: 0.998363 i: 0 wave:0.000000 i: 1 wave:0.000000 i: 2 wave:2700.114800 i: 3 wave:917.228900 i: 4 wave:838.125500 before look for Z after look for Z about to leave openparm newflag is 1: 1 about to open: tmp.p headstuff: sat: 16 orb: 0 julianday: 10970 taos: 28075078 length of headstuff: 57 headstuff: sat: 16 orb: 0 julianday: 10970 taos: 28075078 0.000 0.000 2700.1148 917.2289 838.1255 length of headstuff: 106 ************** results of initial calibration ******** from header firstday is : 13 arcsize: 5626 in sequence numlines: 1 day: 13 val: 386 arcsize: 5626 in sequence numlines: 2 day: 13 val: 388 arcsize: 5626 in sequence numlines: 3 day: 13 val: 391 arcsize: 5626 in sequence numlines: 4 day: 13 val: 0 realline before: 4 spaceref: 0.000000 targtemp: 296.562265 space rad: 0.000000 -4.500000 -3.610000 average space counts: 990.380000 991.380000 994.320000 average internal counts: 794.280000 397.740000 381.980000 satid: 16 launch_indx: -1 chan: 3 radspace: 0.000000 radtarget: 0.502240 spacebar:990.380000 internalbar: 794.280000 chan: 3 radspace: 0.000000 radtarget: 0.502240 spacebar:990.380000 internalbar: 794.280000 gain: -0.002561 offset: 2.536505 chan: 4 radspace: -4.500000 radtarget: 108.436785 spacebar:991.380000 internalbar: 397.740000 chan: 4 radspace: -4.500000 radtarget: 108.436785 spacebar:991.380000 internalbar: 397.740000 gain: -0.190245 offset: 184.104660 chan: 5 radspace: -3.610000 radtarget: 122.628611 spacebar:994.320000 internalbar: 381.980000 chan: 5 radspace: -3.610000 radtarget: 122.628611 spacebar:994.320000 internalbar: 381.980000 gain: -0.206158 offset: 201.376740 gain after: 0.054944 gain after: 0.054944 gain and offset up to scan line 54 : 0.054944 -2.115916 0.057652 -2.330854 -0.002561 2.536505 -0.190245 184.104660 -0.206158 201.376740 ************************************************************ trouble reading line in main DONE WITH CALIBRATION there were 103 lines done THIS IS ACTUALLY rawcal15_new AS IT SHOULD BE CALIBRATION FILE: COEFFS.16 RADFLAG: 1 calib_dir: /Users/jkey/nav/cal name of caldatfile is: /Users/jkey/nav/cal/calibnew16.dat have found CENTRAL WAVE in string CENTRAL WAVE NUMBER TABLE 190.000000 230.000000 2638.652000 928.260300 834.449600 230.000000 270.000000 2642.807000 928.828400 834.806600 270.000000 310.000000 2645.899000 929.332300 835.164700 have found SPLIT CAL in string SPLIT CAL TABLE SPLIT GAINS and OFFSETS CHAN 1 count 0-490 gain: 0.052300 offset: -2.016000 CHAN 1 count 491-1023 gain: 0.152800 offset: -51.910000 CHAN 2 count 0-500 gain: 0.051300 offset: -1.943000 CHAN 2 count 501-1023 gain: 0.151000 offset: -51.770000 CHAN 3 count 0-499 gain: 0.028700 offset: -2.043000 CHAN 3 count 500-1023 gain: 0.180600 offset: -78.030000 WE ARE GOING NON LINEAR name of caldatfile is: /Users/jkey/nav/cal/calibnew16.dat have found NON LINEAR in string ABOUT TO READ NON LINEAR MATRIX have READ NON LINEAR MATRIX DONE WITH NON LINEAR STUFF have found NEW COEFFS in string ABOUT TO READ NEW COEFFS i: 0 NUC: 2700.114800 Anew: 1.592459 Bnew: 0.998147 NS: 0.000000 B0: 0.000000 B1: 0.000000 B2: 0.000000 i: 1 NUC: 917.228900 Anew: 0.332380 Bnew: 0.998522 NS: -2.467000 B0: 2.960000 B1: -0.054110 B2: 0.000245 i: 2 NUC: 838.125500 Anew: 0.674623 Bnew: 0.998363 NS: -2.009000 B0: 2.225000 B1: -0.036650 B2: 0.000149 DONE WITH NEW COEFFS calhead: sat: 16 orb: 0 julianday: 10970 taos: 28075078 0.000 0.000 2700.1148 917.2289 838.1255 l;/Users/jkey/nav/cal/calibnew16.dat calhead: 0.000 0.000 2700.1148 917.2289 838.1255 l;/Users/jkey/nav/cal/calibnew16.dat wavecent: 0.000000 0.000000 2700.114800 917.228900 838.125500 INVWAVE: 0.000000 size of cal file is: 11130 have read in cal array number of lines 103 doing raw line: 0 TIME calculation WAS REQUESTED SZA calculation WAS REQUESTED LINE and SAMPLE DATA WAS REQUESTED OSCULATING CORRECTIONS WILL BE APPLIED dashv: temp: strlen: 0 dashH: n strlen: 1 AFTER GET OPTIONS GAC DATA OPTION HAS BEEN CHOOSEN AFTER INIT input file has been opened, fp: 1883758400 after openarc fp: 1883758400 sid: 16d orbnum: 0d numscan: 103d milday: 28075078d *** data header *** satid: 16 orbit number: 0 number of lines: 103 julian day: 10970 time of first scan: 7.798633 ******************** AFTER INITDATA julday: 10970 taos: 28075078 TIME OF FIRST SCAN : 11/01/13 07:47:55 looking for ephemeris data for taos: 10970.324943 opening ephemeris after opening ephemeris size: 76 *******ephemeris elements ************ satid: 26536 orbit: 65195 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 ecc: 0.001062 argper: 0.364140 ascnode: 0.799605 inclin: 0.275446 ephoc: 110105000000 **************************** ******ephemnot structure follows*******: satid: 26536 orbit: 65195 size: 76 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 eccen: 0.001062 argper: 0.364140 ascenode: 0.799605 inclin: 0.275446 earadius: 6378137.000000 oblat: 0.001083 ***************************************************************** *********epheminit structure follows******* timnot: 10962.000000 smajaxis: 1.132905 decay: -0.000000 eccen: 0.001062 inclin: 1.730681 argper: 2.287962 perrate: -0.000551 longan: 5.024068 nodrate: 0.000201 ,meananom: 1.717550 meanmot: 0.828813 meanmotrate: 0.000000 grav constant: 398598005011040.375000 ***************************************************************** satlat1: 1.045915 satlat2: 1.071121 asnflag: 1 DATA IS ASCENDING **************** INITAILIZATION OVER ****************** dashr: 81.38011 RANGE0: 81.380110 IN SATGEO line: 0 spot: 204 time: 10970.324943 IN SATGEO line: 5 spot: 204 time: 10970.324972 RANGE: 81.380110 Pass is Ascending at start center lat: 90.000000 center lon: 0.000000 range: 81.380110 images will be processed using chunks of 361 lines getting space for 10 bit image image.proj: 8 fpsza: 7047dfd8 fpsaza: 7047e070 opening 135324313.NSS.GHRR.NL.D11013.S0556.E0748.B5314950.WI.N2.1 OPENING chan: 0 fp: 1883759312 opening 135324313.NSS.GHRR.NL.D11013.S0556.E0748.B5314950.WI.N2.2 OPENING chan: 1 fp: 1883759464 opening 135324313.NSS.GHRR.NL.D11013.S0556.E0748.B5314950.WI.N2.3 OPENING chan: 2 fp: 1883759616 opening 135324313.NSS.GHRR.NL.D11013.S0556.E0748.B5314950.WI.N2.4 OPENING chan: 3 fp: 1883759768 opening 135324313.NSS.GHRR.NL.D11013.S0556.E0748.B5314950.WI.N2.5 OPENING chan: 4 fp: 1883759920 getting space for time array getting space for sza array getting space for saza array getting space for satelv array getting space for sataz array ************************************* total bytes malloced is : 4217234 ************************************* ******** current elements follow******** taos: 10970.324943 time: 10970.324943 smajaxis: 7225817.009345 eccentricity: 0.001062 inclin: 1.730734 argper: 1.880600 longan: -3.295677 meananom: 5.472801 trueanom: 5.471261 altitude: 7220518.560829 ********************************************** satpos: -3284027.490806 1529014.280327 6241683.223009 satvel: 6528.838638 -438.063075 3528.109970 satlat: 59.870104 satlon: 155.033728 COMMAND>DASHD: n INTERPOLATION CHOOSEN , every 8 x pixel and every 8 ypixel going through pixels **** before templat: 29.712678 centtodet: 29.878633 CORNERS OF WHOLE IMAGE FOLLOW North West Corner lat: 29.878633 lon: 225.000000 North East Corner lat: 30.063244 lon: 135.159155 South East Corner lat: 30.248190 lon: 45.000000 South West Corner lat: 30.063244 lon: -45.159155 interpolation choosen every 8 i pixels and every 8 j pixels image will be processed in 1 chunks of 361 image lines segment 0 startj: 0 stopj: 361 starti: 0 stopi: 360 numj: 361 north west----- lat: 29.712678 lon: 225.000000 line: -999 spot: -999 north east----- lat: 29.896666 lon: 135.159155 line: -999 spot: 344 south east-----lat: 29.896666 lon: 44.840845 line: -999 spot: -999 south west-----lat: 29.712678 lon: -45.000000 line: -999 spot: -999 doing chunk number: 0 from line: 0 to line: 360 numcelx: 45 numcely: 45 extrai: 0 extraj: 0 ****minline: 0 maxline: 100 in data aquisiton maxline: 100 minline: 0 in data aquistion module image is contained within lines : 1 and 100 data will be processed using 1 chunks of 100 lines in get10 searching data lines 1 to 101 for image lines 0 to 361 dumping SZA array in dumpother j1: 0 j2: 361 ysize: 361 fpother: 1883758552 writing other type image in dumpother j1: 0 j2: 361 ysize: 361 fpother: 1883758704 writing other type image *************** dashY: y dumping ELEV array in dumpother j1: 0 j2: 361 ysize: 361 fpother: 1883759160 writing other type image dumping AZIM array in dumpother j1: 0 j2: 361 ysize: 361 fpother: 1883759008 writing other type image constructing TIME array in puttime j1: 0 j2: 361 ysize: 361 dumping TIME array in dumpother j1: 0 j2: 361 ysize: 361 fpother: 1883758856 writing other type image nchan: 5 dumping ch: 0 fp: 1883759312 about to dump image number: 0 channel: 1 xsize: 361 ysize: 361 IN WRITEIMAGE chan: 0 fp: 1883759312 DOne with dumpimage fp: 1883759312 have dumped ch: 0 fp: 1883759312 dumping ch: 1 fp: 1883759464 about to dump image number: 1 channel: 2 xsize: 361 ysize: 361 IN WRITEIMAGE chan: 1 fp: 1883759464 DOne with dumpimage fp: 1883759464 have dumped ch: 1 fp: 1883759464 dumping ch: 2 fp: 1883759616 about to dump image number: 2 channel: 3 xsize: 361 ysize: 361 IN WRITEIMAGE chan: 2 fp: 1883759616 DOne with dumpimage fp: 1883759616 have dumped ch: 2 fp: 1883759616 dumping ch: 3 fp: 1883759768 about to dump image number: 3 channel: 4 xsize: 361 ysize: 361 IN WRITEIMAGE chan: 3 fp: 1883759768 DOne with dumpimage fp: 1883759768 have dumped ch: 3 fp: 1883759768 dumping ch: 4 fp: 1883759920 about to dump image number: 4 channel: 5 xsize: 361 ysize: 361 IN WRITEIMAGE chan: 4 fp: 1883759920 DOne with dumpimage fp: 1883759920 have dumped ch: 4 fp: 1883759920 About to write headers fp: 1883759768 done with navigation--retrieving data rm: data.*: No such file or directory ***** Running polar regions subsetting at Fri Jan 14 02:17:55 CST 2011 ***** Working on year and julian day (yyddd): 11013 (2011 Jan 13) command line args: ephemfile: /Users/jkey/nav/ephemeris northlimit: 60.000000 southlimit: -60.000000 data is type: G sds-type is: H region is: O SDS GAC data selected. year: 2011 day: 13 miilsecs: 21361078 before md doy: 13 year: 2011 **julianday: 10970 year: 2011 day: 13 miilsecs: 21361078 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 year: 2011 day: 13 miilsecs: 21361578 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 year: 2011 day: 13 miilsecs: 21362078 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 taos: 21361078 satid: 16 julian day: 10970 nlines: 13531 GOING INTO initorb4 satnum: 16 navsatid: 26536 calling readephem taos: 10970.247235 opening ephemeris after opening ephemeris size: 76 *******ephemeris elements ************ satid: 26536 orbit: 65195 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 ecc: 0.001062 argper: 0.364140 ascnode: 0.799605 inclin: 0.275446 ephoc: 110105000000 **************************** ******ephemnot structure follows*******: satid: 26536 orbit: 65195 size: 76 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 eccen: 0.001062 argper: 0.364140 ascenode: 0.799605 inclin: 0.275446 earadius: 6378137.000000 oblat: 0.001083 ***************************************************************** YEAR HERE: 11 *********epheminit structure follows******* timnot: 10962.000000 smajaxis: 1.132905 decay: -0.000000 eccen: 0.001062 inclin: 1.730681 argper: 2.287962 perrate: -0.000551 longan: 5.024068 nodrate: 0.000201 ,meananom: 1.717550 meanmot: 0.828813 meanmotrate: 0.000000 grav constant: 398598005011040.375000 ***************************************************************** ******** current elements follow******** taos: 10970.247235 time: 10970.247235 smajaxis: 7225817.051357 eccentricity: 0.001062 inclin: 1.730681 argper: 1.884402 longan: -2.807384 meananom: 733.708401 trueanom: 733.706299 altitude: 7224704.812393 ********************************************** ******** current elements follow******** taos: 10970.247235 time: 10970.247235 smajaxis: 7225817.051357 eccentricity: 0.001062 inclin: 1.730681 argper: 1.884402 longan: -2.807384 meananom: 733.708401 trueanom: 733.706299 altitude: 7224704.812393 ********************************************** SPECIFIC DATA: bytesperline: 4608 scanspersec: 2.000000 line : 0 10970.247235 26.034681 -165.319662 7226191.244096 line : 100 10970.247813 28.940590 -166.121648 7225302.880856 line : 200 10970.248392 31.842376 -166.957543 7224420.784013 line : 300 10970.248971 34.739415 -167.833804 7223548.340572 line : 400 10970.249550 37.630996 -168.758160 7222688.967636 line : 500 10970.250128 40.516292 -169.739987 7221846.091647 line : 600 10970.250707 43.394318 -170.790810 7221023.127123 line : 700 10970.251286 46.263871 -171.924993 7220223.455075 line : 800 10970.251864 49.123452 -173.160698 7219450.401289 line : 900 10970.252443 51.971147 -174.521250 7218707.214672 line : 1000 10970.253022 54.804451 -176.037109 7217997.045853 line : 1100 10970.253600 57.620018 -177.748779 7217322.926230 Opening data.NORTH1 and writing header line: 1186 line : 1200 10970.254179 60.413257 -179.711203 7216687.747664 line : 1300 10970.254758 63.177706 177.999466 7216094.242992 line : 1400 10970.255337 65.904006 175.275198 7215544.967549 line : 1500 10970.255915 68.578172 171.958994 7215042.281859 line : 1600 10970.256494 71.178581 167.817370 7214588.335675 line : 1700 10970.257073 73.670584 162.497178 7214185.053488 line : 1800 10970.257651 75.996815 155.465453 7213834.121661 line : 1900 10970.258230 78.060580 145.961580 7213536.977298 line : 2000 10970.258809 79.703358 133.114637 7213294.798956 line : 2100 10970.259387 80.699698 116.628823 7213108.499278 line : 2200 10970.259966 80.836421 98.076200 7212978.719616 line : 2300 10970.260545 80.077870 80.702795 7212905.826697 line : 2400 10970.261124 78.601176 66.745797 7212889.911352 line : 2500 10970.261702 76.642086 56.333800 7212930.789323 line : 2600 10970.262281 74.380666 48.656672 7213028.004125 line : 2700 10970.262860 71.929613 42.893102 7213180.831941 line : 2800 10970.263438 69.355883 38.444781 7213388.288495 line : 2900 10970.264017 66.699604 34.911925 7213649.137827 line : 3000 10970.264596 63.985562 32.030818 7213961.902890 line : 3100 10970.265175 61.229621 29.625201 7214324.877842 line : 3200 10970.265753 58.442296 27.574648 7214736.141944 line : 3300 10970.266332 55.630783 25.794873 7215193.574885 line : 3400 10970.266911 52.800153 24.225475 7215694.873422 line : 3500 10970.267489 49.954080 22.822201 7216237.569136 line : 3600 10970.268068 47.095292 21.551963 7216819.047161 line : 3700 10970.268647 44.225864 20.389554 7217436.565682 line : 3800 10970.269225 41.347412 19.315441 7218087.276035 line : 3900 10970.269804 38.461224 18.314245 7218768.243192 line : 4000 10970.270383 35.568351 17.373678 7219476.466466 line : 4100 10970.270962 32.669670 16.483785 7220208.900220 line : 4200 10970.271540 29.765932 15.636387 7220962.474398 line : 4300 10970.272119 26.857794 14.824684 7221734.114686 line : 4400 10970.272698 23.945842 14.042939 7222520.762130 line : 4500 10970.273276 21.030612 13.286255 7223319.392023 line : 4600 10970.273855 18.112601 12.550391 7224127.031904 line : 4700 10970.274434 15.192278 11.831623 7224940.778523 line : 4800 10970.275012 12.270092 11.126628 7225757.813615 line : 4900 10970.275591 9.346477 10.432397 7226575.418369 line : 5000 10970.276170 6.421854 9.746158 7227390.986479 line : 5100 10970.276749 3.496639 9.065308 7228202.035675 line : 5200 10970.277327 0.571242 8.387355 7229006.217669 line : 5300 10970.277906 -2.353930 7.709871 7229801.326447 line : 5400 10970.278485 -5.278472 7.030436 7230585.304863 line : 5500 10970.279063 -8.201979 6.346590 7231356.249530 line : 5600 10970.279642 -11.124041 5.655787 7232112.413975 line : 5700 10970.280221 -14.044248 4.955331 7232852.210105 line : 5800 10970.280800 -16.962179 4.242322 7233574.207988 line : 5900 10970.281378 -19.877403 3.513582 7234277.134019 line : 6000 10970.281957 -22.789474 2.765569 7234959.867528 line : 6100 10970.282536 -25.697921 1.994280 7235621.435914 line : 6200 10970.283114 -28.602244 1.195117 7236261.008404 line : 6300 10970.283693 -31.501896 0.362730 7236877.888549 line : 6400 10970.284272 -34.396275 -0.509188 7237471.505580 line : 6500 10970.284850 -37.284696 -1.428172 7238041.404758 line : 6600 10970.285429 -40.166364 -2.403345 7238587.236861 line : 6700 10970.286008 -43.040335 -3.445890 7239108.746962 line : 6800 10970.286587 -45.905464 -4.569710 7239605.762653 line : 6900 10970.287165 -48.760319 -5.792340 7240078.181879 line : 7000 10970.287744 -51.603082 -7.136225 7240525.960543 line : 7100 10970.288323 -54.431379 -8.630581 7240949.100047 line : 7200 10970.288901 -57.242042 -10.314115 7241347.634940 Opening data.SOUTH1 and writing header line: 7299 line : 7300 10970.289480 -60.030742 -12.239115 7241721.620817 line : 7400 10970.290059 -62.791405 -14.477715 7242071.122642 line : 7500 10970.290637 -65.515277 -17.131726 7242396.203637 line : 7600 10970.291216 -68.189342 -20.348282 7242696.914873 line : 7700 10970.291795 -70.793599 -24.344957 7242973.285707 line : 7800 10970.292374 -73.296208 -29.449247 7243225.315179 line : 7900 10970.292952 -75.644775 -36.154753 7243452.964476 line : 8000 10970.293531 -77.751228 -45.173058 7243656.150565 line : 8100 10970.294110 -79.470057 -57.361018 7243834.741078 line : 8200 10970.294688 -80.587140 -73.171752 7243988.550509 line : 8300 10970.295267 -80.879074 -91.430629 7244117.337780 line : 8400 10970.295846 -80.271457 -109.092477 7244220.805207 line : 8500 10970.296425 -78.911121 -123.625144 7244298.598894 line : 8600 10970.297003 -77.032600 -134.582540 7244350.310545 line : 8700 10970.297582 -74.826805 -142.675656 7244375.480685 line : 8800 10970.298161 -72.416046 -148.737021 7244373.603261 line : 8900 10970.298739 -69.873370 -153.397267 7244344.131572 line : 9000 10970.299318 -67.242449 -157.083204 7244286.485466 line : 9100 10970.299897 -64.550123 -160.077265 7244200.059726 line : 9200 10970.300475 -61.813465 -162.568080 7244084.233550 line : 9300 10970.301054 -59.043720 -164.684227 7243938.381022 line : 9400 10970.301633 -56.248538 -166.515438 7243761.882456 line : 9500 10970.302212 -53.433275 -168.125823 7243554.136479 line : 9600 10970.302790 -50.601787 -169.562212 7243314.572721 line : 9700 10970.303369 -47.756916 -170.859523 7243042.664959 line : 9800 10970.303948 -44.900809 -172.044283 7242737.944561 line : 9900 10970.304526 -42.035122 -173.136997 7242400.014078 line : 10000 10970.305105 -39.161166 -174.153770 7242028.560809 line : 10100 10970.305684 -36.280001 -175.107440 7241623.370184 line : 10200 10970.306262 -33.392502 -176.008385 7241184.338799 line : 10300 10970.306841 -30.499412 -176.865109 7240711.486936 line : 10400 10970.307420 -27.601376 -177.684669 7240204.970408 line : 10500 10970.307999 -24.698964 -178.473000 7239665.091580 line : 10600 10970.308577 -21.792694 -179.235159 7239092.309411 line : 10700 10970.309156 -18.883045 -179.975511 7238487.248386 line : 10800 10970.309735 -15.970468 179.302121 7237850.706192 line : 10900 10970.310313 -13.055392 178.594341 7237183.660042 line : 11000 10970.310892 -10.138233 177.898082 7236487.271519 line : 11100 10970.311471 -7.219397 177.210531 7235762.889865 line : 11200 10970.312050 -4.299281 176.529055 7235012.053627 line : 11300 10970.312628 -1.378283 175.851152 7234236.490606 line : 11400 10970.313207 1.543204 175.174389 7233438.116058 line : 11500 10970.313786 4.464787 174.496356 7232619.029127 line : 11600 10970.314364 7.386069 173.814617 7231781.507496 line : 11700 10970.314943 10.306650 173.126659 7230928.000268 line : 11800 10970.315522 13.226124 172.429838 7230061.119104 line : 11900 10970.316100 16.144078 171.721318 7229183.627662 line : 12000 10970.316679 19.060085 170.998009 7228298.429397 line : 12100 10970.317258 21.973700 170.256478 7227408.553817 line : 12200 10970.317837 24.884458 169.492858 7226517.141275 line : 12300 10970.318415 27.791860 168.702724 7225627.426419 line : 12400 10970.318994 30.695368 167.880945 7224742.720429 line : 12500 10970.319573 33.594385 167.021488 7223866.392181 line : 12600 10970.320151 36.488236 166.117166 7223001.848497 line : 12700 10970.320730 39.376145 165.159305 7222152.513636 line : 12800 10970.321309 42.257195 164.137301 7221321.808211 line : 12900 10970.321887 45.130279 163.038010 7220513.127713 line : 13000 10970.322466 47.994024 161.844908 7219729.820825 line : 13100 10970.323045 50.846698 160.536906 7218975.167725 line : 13200 10970.323624 53.686056 159.086654 7218252.358560 line : 13300 10970.324202 56.509122 157.458044 7217564.472306 line : 13400 10970.324781 59.311855 155.602494 7216914.456183 Opening data.NORTH2 and writing header line: 13425 line : 13500 10970.325360 62.088631 153.453252 7216305.105830 could not read line 13528 writing header for file 0 goint into getcorrectsdsvals year: 2011 day: 13 miilsecs: 21955578 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 going into makeheader with taos: 10970.254115 satid: 16 nlines: 1959 IN MAKEHEADER going into first make1btime in make1btime taos: 10970.254115 millsec: 21955578 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 after first make1btime in make1btime taos: 10970.257894 millsec: 22282078 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 DONE WITH MAKEHEADER writing header for file 1 goint into getcorrectsdsvals year: 2011 day: 13 miilsecs: 28075078 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 going into makeheader with taos: 10970.324943 satid: 16 nlines: 103 IN MAKEHEADER going into first make1btime in make1btime taos: 10970.324943 millsec: 28075078 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 after first make1btime in make1btime taos: 10970.325142 millsec: 28092245 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 DONE WITH MAKEHEADER writing header for file 2 goint into getcorrectsdsvals year: 2011 day: 13 miilsecs: 25012078 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 going into makeheader with taos: 10970.289492 satid: 16 nlines: 1967 IN MAKEHEADER going into first make1btime in make1btime taos: 10970.289492 millsec: 25012078 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 after first make1btime in make1btime taos: 10970.293286 millsec: 25339911 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 DONE WITH MAKEHEADER ***** Running navigation/calibration at Fri Jan 14 02:17:55 CST 2011 ***** Working on year and julian day (yyddd): 11013 (2011 Jan 13) no H option specified TBMFLAG: compval: 0 reading input header input header has been read satid from header : 2 XX satid: 16 getting time from firstline getting time in gettime in: 7 db 0 d 0 6b 1 7d a7 6e year: 2011 day: 13 ymd year: 2011 ymd yeardif: 30 after getheader done with 1967 lines header count: 0 actual: 1967 header will be rewritten output header follows: satid: 16 orbnum: 0 nlines: 1967 julday: 10970 taos: 25012078 NEW PROCESSGENERICGAC year: 2011 input file is : tmp output file is : tmp.p new processraw opening raw file: tmp opening archive file and writing header to tmp.p header written to newdataset dumsat: 3 satid from first line is: 16 year before julianday call: 2011 firstline curday: 13 julian: 10970 time: 25012078 linein: 0 curtime: 25012578 lasttime: 25012078 lastgood: 25012078 timdif: 500 linein: 100 curtime: 25062578 lasttime: 25062078 lastgood: 25062078 timdif: 500 linein: 200 curtime: 25112578 lasttime: 25112078 lastgood: 25112078 timdif: 500 linein: 300 curtime: 25162578 lasttime: 25162078 lastgood: 25162078 timdif: 500 linein: 400 curtime: 25212578 lasttime: 25212078 lastgood: 25212078 timdif: 500 linein: 500 curtime: 25262578 lasttime: 25262078 lastgood: 25262078 timdif: 500 linein: 600 curtime: 25312578 lasttime: 25312078 lastgood: 25312078 timdif: 500 linein: 700 curtime: 25362578 lasttime: 25362078 lastgood: 25362078 timdif: 500 linein: 800 curtime: 25412578 lasttime: 25412078 lastgood: 25412078 timdif: 500 linein: 900 curtime: 25462578 lasttime: 25462078 lastgood: 25462078 timdif: 500 linein: 1000 curtime: 25512578 lasttime: 25512078 lastgood: 25512078 timdif: 500 linein: 1100 curtime: 25562578 lasttime: 25562078 lastgood: 25562078 timdif: 500 linein: 1200 curtime: 25612578 lasttime: 25612078 lastgood: 25612078 timdif: 500 linein: 1300 curtime: 25662578 lasttime: 25662078 lastgood: 25662078 timdif: 500 linein: 1400 curtime: 25712578 lasttime: 25712078 lastgood: 25712078 timdif: 500 linein: 1500 curtime: 25762578 lasttime: 25762078 lastgood: 25762078 timdif: 500 linein: 1600 curtime: 25812578 lasttime: 25812078 lastgood: 25812078 timdif: 500 linein: 1700 curtime: 25862578 lasttime: 25862078 lastgood: 25862078 timdif: 500 linein: 1800 curtime: 25912578 lasttime: 25912078 lastgood: 25912078 timdif: 500 linein: 1900 curtime: 25962578 lasttime: 25962078 lastgood: 25962078 timdif: 500 could not read line bytes read: 0 error reading line: 1966 archive corect to here will rewrite header correctly cleaning up archive file new header being written as: satid: 16 orbit number: 0 dum: 0 number of lines: 1967 julian day: 10970d time of first scan: 6.947800 processing GAC data satid: 16 orbit number: 0 dum: 0 number of lines: 1967 julian day: 10970d time of first scan: 6.947800 Seasonal correction for julian date 10970.289492 = 0.967317 flag is : S 11/01/13 00:00:00110113000000 year: 11 month: 1 day: 13 dayofyear: 13 file containing coefficients is COEFFS.16 calling openparm16 before sprintf parmfilename: /Users/jkey/nav/cal/calib16.dat i: 0 nu: 2226.179930 i: 1 nu: 782.472410 i: 2 nu: 714.285640 chan: 0 nuc: 2700.114800 A: 1.592459 B: 0.998147 chan: 1 nuc: 917.228900 A: 0.332380 B: 0.998522 chan: 2 nuc: 838.125500 A: 0.674623 B: 0.998363 i: 0 wave:0.000000 i: 1 wave:0.000000 i: 2 wave:2700.114800 i: 3 wave:917.228900 i: 4 wave:838.125500 before look for Z after look for Z about to leave openparm newflag is 1: 1 about to open: tmp.p headstuff: sat: 16 orb: 0 julianday: 10970 taos: 25012078 length of headstuff: 57 headstuff: sat: 16 orb: 0 julianday: 10970 taos: 25012078 0.000 0.000 2700.1148 917.2289 838.1255 length of headstuff: 106 ************** results of initial calibration ******** from header firstday is : 13 arcsize: 5626 in sequence numlines: 1 day: 13 val: 412 arcsize: 5626 in sequence numlines: 2 day: 13 val: 408 arcsize: 5626 in sequence numlines: 3 day: 13 val: 413 arcsize: 5626 in sequence numlines: 4 day: 13 val: 419 arcsize: 5626 in sequence numlines: 5 day: 13 val: 0 realline before: 5 spaceref: 0.000000 targtemp: 297.807491 space rad: 0.000000 -4.500000 -3.610000 average space counts: 990.420000 991.320000 994.520000 average internal counts: 783.900000 389.140000 372.440000 satid: 16 launch_indx: -1 chan: 3 radspace: 0.000000 radtarget: 0.530261 spacebar:990.420000 internalbar: 783.900000 chan: 3 radspace: 0.000000 radtarget: 0.530261 spacebar:990.420000 internalbar: 783.900000 gain: -0.002568 offset: 2.543004 chan: 4 radspace: -4.500000 radtarget: 110.496218 spacebar:991.320000 internalbar: 389.140000 chan: 4 radspace: -4.500000 radtarget: 110.496218 spacebar:991.320000 internalbar: 389.140000 gain: -0.190967 offset: 184.808929 chan: 5 radspace: -3.610000 radtarget: 124.762515 spacebar:994.520000 internalbar: 372.440000 chan: 5 radspace: -3.610000 radtarget: 124.762515 spacebar:994.520000 internalbar: 372.440000 gain: -0.206360 offset: 201.619278 gain after: 0.054944 gain after: 0.054944 gain and offset up to scan line 55 : 0.054944 -2.115909 0.057652 -2.330846 -0.002568 2.543004 -0.190967 184.808929 -0.206360 201.619278 ************************************************************ trouble reading line in main DONE WITH CALIBRATION there were 1967 lines done THIS IS ACTUALLY rawcal15_new AS IT SHOULD BE CALIBRATION FILE: COEFFS.16 RADFLAG: 1 calib_dir: /Users/jkey/nav/cal name of caldatfile is: /Users/jkey/nav/cal/calibnew16.dat have found CENTRAL WAVE in string CENTRAL WAVE NUMBER TABLE 190.000000 230.000000 2638.652000 928.260300 834.449600 230.000000 270.000000 2642.807000 928.828400 834.806600 270.000000 310.000000 2645.899000 929.332300 835.164700 have found SPLIT CAL in string SPLIT CAL TABLE SPLIT GAINS and OFFSETS CHAN 1 count 0-490 gain: 0.052300 offset: -2.016000 CHAN 1 count 491-1023 gain: 0.152800 offset: -51.910000 CHAN 2 count 0-500 gain: 0.051300 offset: -1.943000 CHAN 2 count 501-1023 gain: 0.151000 offset: -51.770000 CHAN 3 count 0-499 gain: 0.028700 offset: -2.043000 CHAN 3 count 500-1023 gain: 0.180600 offset: -78.030000 WE ARE GOING NON LINEAR name of caldatfile is: /Users/jkey/nav/cal/calibnew16.dat have found NON LINEAR in string ABOUT TO READ NON LINEAR MATRIX have READ NON LINEAR MATRIX DONE WITH NON LINEAR STUFF have found NEW COEFFS in string ABOUT TO READ NEW COEFFS i: 0 NUC: 2700.114800 Anew: 1.592459 Bnew: 0.998147 NS: 0.000000 B0: 0.000000 B1: 0.000000 B2: 0.000000 i: 1 NUC: 917.228900 Anew: 0.332380 Bnew: 0.998522 NS: -2.467000 B0: 2.960000 B1: -0.054110 B2: 0.000245 i: 2 NUC: 838.125500 Anew: 0.674623 Bnew: 0.998363 NS: -2.009000 B0: 2.225000 B1: -0.036650 B2: 0.000149 DONE WITH NEW COEFFS calhead: sat: 16 orb: 0 julianday: 10970 taos: 25012078 0.000 0.000 2700.1148 917.2289 838.1255 Ƿk/Users/jkey/nav/cal/calibnew16.dat calhead: 0.000 0.000 2700.1148 917.2289 838.1255 Ƿk/Users/jkey/nav/cal/calibnew16.dat wavecent: 0.000000 0.000000 2700.114800 917.228900 838.125500 INVWAVE: 0.000000 size of cal file is: 208714 have read in cal array number of lines 1967 doing raw line: 0 doing raw line: 500 doing raw line: 1000 doing raw line: 1500 TIME calculation WAS REQUESTED SZA calculation WAS REQUESTED LINE and SAMPLE DATA WAS REQUESTED OSCULATING CORRECTIONS WILL BE APPLIED dashv: temp: strlen: 0 dashH: n strlen: 1 AFTER GET OPTIONS GAC DATA OPTION HAS BEEN CHOOSEN AFTER INIT input file has been opened, fp: 1883758400 after openarc fp: 1883758400 sid: 16d orbnum: 0d numscan: 1967d milday: 25012078d *** data header *** satid: 16 orbit number: 0 number of lines: 1967 julian day: 10970 time of first scan: 6.947800 ******************** AFTER INITDATA julday: 10970 taos: 25012078 TIME OF FIRST SCAN : 11/01/13 06:56:52 looking for ephemeris data for taos: 10970.289492 opening ephemeris after opening ephemeris size: 76 *******ephemeris elements ************ satid: 26536 orbit: 65195 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 ecc: 0.001062 argper: 0.364140 ascnode: 0.799605 inclin: 0.275446 ephoc: 110105000000 **************************** ******ephemnot structure follows*******: satid: 26536 orbit: 65195 size: 76 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 eccen: 0.001062 argper: 0.364140 ascenode: 0.799605 inclin: 0.275446 earadius: 6378137.000000 oblat: 0.001083 ***************************************************************** *********epheminit structure follows******* timnot: 10962.000000 smajaxis: 1.132905 decay: -0.000000 eccen: 0.001062 inclin: 1.730681 argper: 2.287962 perrate: -0.000551 longan: 5.024068 nodrate: 0.000201 ,meananom: 1.717550 meanmot: 0.828813 meanmotrate: 0.000000 grav constant: 398598005011040.375000 ***************************************************************** satlat1: -1.045810 satlat2: -1.070942 asnflag: -1 DATA IS DESCENDING **************** INITAILIZATION OVER ****************** dashr: 72.363 RANGE0: 72.363000 IN SATGEO line: 0 spot: 204 time: 10970.289492 IN SATGEO line: 5 spot: 204 time: 10970.289521 RANGE: 72.363000 Pass is Descending at start center lat: -89.999943 center lon: 180.000000 range: 72.363000 images will be processed using chunks of 321 lines getting space for 10 bit image image.proj: 8 fpsza: 7047dfd8 fpsaza: 7047e070 opening 135324313.NSS.GHRR.NL.D11013.S0556.E0748.B5314950.WI.S.1 OPENING chan: 0 fp: 1883759312 opening 135324313.NSS.GHRR.NL.D11013.S0556.E0748.B5314950.WI.S.2 OPENING chan: 1 fp: 1883759464 opening 135324313.NSS.GHRR.NL.D11013.S0556.E0748.B5314950.WI.S.3 OPENING chan: 2 fp: 1883759616 opening 135324313.NSS.GHRR.NL.D11013.S0556.E0748.B5314950.WI.S.4 OPENING chan: 3 fp: 1883759768 opening 135324313.NSS.GHRR.NL.D11013.S0556.E0748.B5314950.WI.S.5 OPENING chan: 4 fp: 1883759920 getting space for time array getting space for sza array getting space for saza array getting space for satelv array getting space for sataz array ************************************* total bytes malloced is : 3453394 ************************************* ******** current elements follow******** taos: 10970.289492 time: 10970.289492 smajaxis: 7225817.028511 eccentricity: 0.001062 inclin: 1.730734 argper: 1.882334 longan: -3.072950 meananom: 2.326277 trueanom: 2.327822 altitude: 7231096.619917 ********************************************** satpos: 3539818.543540 -770546.147648 -6270452.941311 satvel: -6439.994512 -1011.849431 -3519.533320 satlat: -59.983101 satlon: -12.280543 COMMAND>DASHD: n INTERPOLATION CHOOSEN , every 8 x pixel and every 8 ypixel going through pixels **** before templat: -36.957736 centtodet: -37.142800 CORNERS OF WHOLE IMAGE FOLLOW North West Corner lat: -37.142800 lon: -45.000061 North East Corner lat: -37.320927 lon: 44.821012 South East Corner lat: -37.499365 lon: 135.000061 South West Corner lat: -37.320826 lon: 225.178988 interpolation choosen every 8 i pixels and every 8 j pixels image will be processed in 1 chunks of 321 image lines segment 0 startj: 0 stopj: 321 starti: 0 stopi: 320 numj: 321 north west----- lat: -36.957736 lon: -45.000061 line: -999 spot: 2 north east----- lat: -37.135539 lon: 44.821012 line: -999 spot: -999 south east-----lat: -37.135438 lon: 135.179109 line: -999 spot: -999 south west-----lat: -36.957635 lon: 224.999939 line: -999 spot: -999 doing chunk number: 0 from line: 0 to line: 320 numcelx: 40 numcely: 40 extrai: 0 extraj: 0 ****minline: 0 maxline: 1966 in data aquisiton maxline: 1966 minline: 0 in data aquistion module image is contained within lines : 1 and 1966 data will be processed using 20 chunks of 100 lines in get10 searching data lines 1 to 101 for image lines 0 to 321 in get10 searching data lines 101 to 201 for image lines 0 to 321 in get10 searching data lines 201 to 301 for image lines 0 to 321 in get10 searching data lines 301 to 401 for image lines 0 to 321 in get10 searching data lines 401 to 501 for image lines 0 to 321 in get10 searching data lines 501 to 601 for image lines 0 to 321 in get10 searching data lines 601 to 701 for image lines 0 to 321 in get10 searching data lines 701 to 801 for image lines 0 to 321 in get10 searching data lines 801 to 901 for image lines 0 to 321 in get10 searching data lines 901 to 1001 for image lines 0 to 321 in get10 searching data lines 1001 to 1101 for image lines 0 to 321 in get10 searching data lines 1101 to 1201 for image lines 0 to 321 in get10 searching data lines 1201 to 1301 for image lines 0 to 321 in get10 searching data lines 1301 to 1401 for image lines 0 to 321 in get10 searching data lines 1401 to 1501 for image lines 0 to 321 in get10 searching data lines 1501 to 1601 for image lines 0 to 321 in get10 searching data lines 1601 to 1701 for image lines 0 to 321 in get10 searching data lines 1701 to 1801 for image lines 0 to 321 in get10 searching data lines 1801 to 1901 for image lines 0 to 321 Undefined error: 0 eof or error after 1965 lines in get10 searching data lines 1901 to 2001 for image lines 0 to 321 dumping SZA array in dumpother j1: 0 j2: 321 ysize: 321 fpother: 1883758552 writing other type image in dumpother j1: 0 j2: 321 ysize: 321 fpother: 1883758704 writing other type image *************** dashY: y dumping ELEV array in dumpother j1: 0 j2: 321 ysize: 321 fpother: 1883759160 writing other type image dumping AZIM array in dumpother j1: 0 j2: 321 ysize: 321 fpother: 1883759008 writing other type image constructing TIME array in puttime j1: 0 j2: 321 ysize: 321 dumping TIME array in dumpother j1: 0 j2: 321 ysize: 321 fpother: 1883758856 writing other type image nchan: 5 dumping ch: 0 fp: 1883759312 about to dump image number: 0 channel: 1 xsize: 321 ysize: 321 IN WRITEIMAGE chan: 0 fp: 1883759312 DOne with dumpimage fp: 1883759312 have dumped ch: 0 fp: 1883759312 dumping ch: 1 fp: 1883759464 about to dump image number: 1 channel: 2 xsize: 321 ysize: 321 IN WRITEIMAGE chan: 1 fp: 1883759464 DOne with dumpimage fp: 1883759464 have dumped ch: 1 fp: 1883759464 dumping ch: 2 fp: 1883759616 about to dump image number: 2 channel: 3 xsize: 321 ysize: 321 IN WRITEIMAGE chan: 2 fp: 1883759616 DOne with dumpimage fp: 1883759616 have dumped ch: 2 fp: 1883759616 dumping ch: 3 fp: 1883759768 about to dump image number: 3 channel: 4 xsize: 321 ysize: 321 IN WRITEIMAGE chan: 3 fp: 1883759768 DOne with dumpimage fp: 1883759768 have dumped ch: 3 fp: 1883759768 dumping ch: 4 fp: 1883759920 about to dump image number: 4 channel: 5 xsize: 321 ysize: 321 IN WRITEIMAGE chan: 4 fp: 1883759920 DOne with dumpimage fp: 1883759920 have dumped ch: 4 fp: 1883759920 About to write headers fp: 1883759768 done with navigation--retrieving data ***** Running polar regions subsetting at Fri Jan 14 02:17:56 CST 2011 ***** Working on year and julian day (yyddd): 11013 (2011 Jan 13) command line args: ephemfile: /Users/jkey/nav/ephemeris northlimit: 60.000000 southlimit: -60.000000 data is type: G sds-type is: H region is: O SDS GAC data selected. year: 2011 day: 13 miilsecs: 27824078 before md doy: 13 year: 2011 **julianday: 10970 year: 2011 day: 13 miilsecs: 27824078 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 year: 2011 day: 13 miilsecs: 27824578 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 year: 2011 day: 13 miilsecs: 27825078 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 taos: 27824078 satid: 16 julian day: 10970 nlines: 13723 GOING INTO initorb4 satnum: 16 navsatid: 26536 calling readephem taos: 10970.322038 opening ephemeris after opening ephemeris size: 76 *******ephemeris elements ************ satid: 26536 orbit: 65195 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 ecc: 0.001062 argper: 0.364140 ascnode: 0.799605 inclin: 0.275446 ephoc: 110105000000 **************************** ******ephemnot structure follows*******: satid: 26536 orbit: 65195 size: 76 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 eccen: 0.001062 argper: 0.364140 ascenode: 0.799605 inclin: 0.275446 earadius: 6378137.000000 oblat: 0.001083 ***************************************************************** YEAR HERE: 11 *********epheminit structure follows******* timnot: 10962.000000 smajaxis: 1.132905 decay: -0.000000 eccen: 0.001062 inclin: 1.730681 argper: 2.287962 perrate: -0.000551 longan: 5.024068 nodrate: 0.000201 ,meananom: 1.717550 meanmot: 0.828813 meanmotrate: 0.000000 grav constant: 398598005011040.375000 ***************************************************************** ******** current elements follow******** taos: 10970.322038 time: 10970.322038 smajaxis: 7225817.010916 eccentricity: 0.001062 inclin: 1.730681 argper: 1.880742 longan: -3.277340 meananom: 740.347637 trueanom: 740.345775 altitude: 7222127.319728 ********************************************** ******** current elements follow******** taos: 10970.322038 time: 10970.322038 smajaxis: 7225817.010916 eccentricity: 0.001062 inclin: 1.730681 argper: 1.880742 longan: -3.277340 meananom: 740.347637 trueanom: 740.345775 altitude: 7222127.319728 ********************************************** SPECIFIC DATA: bytesperline: 4608 scanspersec: 2.000000 line : 0 10970.322038 45.875843 162.737577 7220306.884848 line : 100 10970.322617 48.736895 161.516846 7219530.715944 line : 200 10970.323195 51.586347 160.174791 7218784.039822 line : 300 10970.323774 54.421791 158.682064 7218070.019739 line : 400 10970.324353 57.240012 156.999735 7217391.702367 Opening data.NORTH1 and writing header line: 499 line : 500 10970.324931 60.036617 155.075149 7216751.997385 line : 600 10970.325510 62.805448 152.835540 7216153.657882 line : 700 10970.326089 65.537618 150.178015 7215599.261735 line : 800 10970.326668 68.219908 146.953532 7215091.194144 line : 900 10970.327246 70.831976 142.941085 7214631.631479 line : 1000 10970.327825 73.341382 137.806926 7214222.526596 line : 1100 10970.328404 75.694627 131.046216 7213865.595749 line : 1200 10970.328982 77.801604 121.928886 7213562.307229 line : 1300 10970.329561 79.513346 109.576800 7213313.871827 line : 1400 10970.330140 80.611524 93.544671 7213121.235210 line : 1500 10970.330718 80.872126 75.096275 7212985.072288 line : 1600 10970.331297 80.227882 57.382784 7212905.783607 line : 1700 10970.331876 78.834130 42.917788 7212883.493808 line : 1800 10970.332455 76.928131 32.066199 7212918.052163 line : 1900 10970.333033 74.699741 24.071197 7213009.035174 line : 2000 10970.333612 72.269652 18.088768 7213155.751201 line : 2100 10970.334191 69.709729 13.489562 7213357.247090 line : 2200 10970.334769 67.062916 9.850667 7213612.316698 line : 2300 10970.335348 64.355613 6.893213 7213919.511261 line : 2400 10970.335927 61.604638 4.431283 7214277.151482 line : 2500 10970.336506 58.821085 2.338258 7214683.341218 line : 2600 10970.337084 56.012515 0.525807 7215135.982643 line : 2700 10970.337663 53.184238 -1.069176 7215632.792717 line : 2800 10970.338242 50.340085 -2.492787 7216171.320823 line : 2900 10970.338820 47.482893 -3.779406 7216748.967375 line : 3000 10970.339399 44.614811 -4.955157 7217363.003236 line : 3100 10970.339978 41.737509 -6.040239 7218010.589756 line : 3200 10970.340556 38.852313 -7.050523 7218688.799226 line : 3300 10970.341135 35.960302 -7.998665 7219394.635569 line : 3400 10970.341714 33.062374 -8.894902 7220125.055072 line : 3500 10970.342293 30.159294 -9.747624 7220876.986955 line : 3600 10970.342871 27.251731 -10.563800 7221647.353603 line : 3700 10970.343450 24.340278 -11.349295 7222433.090275 line : 3800 10970.344029 21.425478 -12.109107 7223231.164101 line : 3900 10970.344607 18.507833 -12.847559 7224038.592223 line : 4000 10970.345186 15.587814 -13.568437 7224852.458907 line : 4100 10970.345765 12.665873 -14.275111 7225669.931495 line : 4200 10970.346343 9.742444 -14.970629 7226488.275060 line : 4300 10970.346922 6.817953 -15.657792 7227304.865659 line : 4400 10970.347501 3.892814 -16.339221 7228117.202080 line : 4500 10970.348080 0.967438 -17.017420 7228922.916009 line : 4600 10970.348658 -1.957768 -17.694823 7229719.780549 line : 4700 10970.349237 -4.882398 -18.373848 7230505.717053 line : 4800 10970.349816 -7.806048 -19.056946 7231278.800242 line : 4900 10970.350394 -10.728309 -19.746649 7232037.261603 line : 5000 10970.350973 -13.648770 -20.445630 7232779.491078 line : 5100 10970.351552 -16.567013 -21.156755 7233504.037077 line : 5200 10970.352131 -19.482608 -21.883162 7234209.604857 line : 5300 10970.352709 -22.395112 -22.628336 7234895.053333 line : 5400 10970.353288 -25.304057 -23.396213 7235559.390415 line : 5500 10970.353867 -28.208948 -24.191300 7236201.766937 line : 5600 10970.354445 -31.109247 -25.018835 7236821.469326 line : 5700 10970.355024 -34.004358 -25.884979 7237417.911094 line : 5800 10970.355603 -36.893610 -26.797086 7237990.623321 line : 5900 10970.356181 -39.776224 -27.764034 7238539.244246 line : 6000 10970.356760 -42.651282 -28.796696 7239063.508129 line : 6100 10970.357339 -45.517666 -29.908558 7239563.233539 line : 6200 10970.357918 -48.373993 -31.116598 7240038.311227 line : 6300 10970.358496 -51.218502 -32.442500 7240488.691748 line : 6400 10970.359075 -54.048908 -33.914428 7240914.372999 line : 6500 10970.359654 -56.862169 -35.569598 7241315.387838 line : 6600 10970.360232 -59.654140 -37.458147 7241691.791932 Opening data.SOUTH1 and writing header line: 6613 line : 6700 10970.360811 -62.419031 -39.649041 7242043.652012 line : 6800 10970.361390 -65.148525 -42.239307 7242371.034667 line : 6900 10970.361968 -67.830310 -45.368719 7242673.995829 line : 7000 10970.362547 -70.445556 -49.243355 7242952.571079 line : 7100 10970.363126 -72.964430 -54.172849 7243206.766902 line : 7200 10970.363705 -75.338044 -60.624599 7243436.552989 line : 7300 10970.364283 -77.484336 -69.279741 7243641.855705 line : 7400 10970.364862 -79.266874 -80.991873 7243822.552786 line : 7500 10970.365441 -80.479790 -96.330375 7243978.469347 line : 7600 10970.366019 -80.893046 -114.409707 7244109.375254 line : 7700 10970.366598 -80.402979 -132.342759 7244214.983891 line : 7800 10970.367177 -79.131058 -147.368802 7244294.952344 line : 7900 10970.367756 -77.310027 -158.780738 7244348.883018 line : 8000 10970.368334 -75.140075 -167.210434 7244376.326658 line : 8100 10970.368913 -72.751979 -173.505278 7244376.786753 line : 8200 10970.369492 -70.224143 -178.326602 7244349.725285 line : 8300 10970.370070 -67.603335 177.874478 7244294.569742 line : 8400 10970.370649 -64.918168 174.799301 7244210.721343 line : 8500 10970.371228 -62.186760 172.248838 7244097.564365 line : 8600 10970.371806 -59.420987 170.087833 7243954.476478 line : 8700 10970.372385 -56.628895 168.222200 7243780.839966 line : 8800 10970.372964 -53.816097 166.584927 7243576.053713 line : 8900 10970.373543 -50.986617 165.127206 7243339.545805 line : 9000 10970.374121 -48.143414 163.812743 7243070.786616 line : 9100 10970.374700 -45.288715 162.614033 7242769.302213 line : 9200 10970.375279 -42.424234 161.509862 7242434.687925 line : 9300 10970.375857 -39.551322 160.483604 7242066.621916 line : 9400 10970.376436 -36.671068 159.522030 7241664.878598 line : 9500 10970.377015 -33.784369 158.614467 7241229.341708 line : 9600 10970.377593 -30.891984 157.752187 7240760.016906 line : 9700 10970.378172 -27.994569 156.927955 7240257.043712 line : 9800 10970.378751 -25.092703 156.135700 7239720.706641 line : 9900 10970.379330 -22.186912 155.370259 7239151.445379 line : 10000 10970.379908 -19.277677 154.627182 7238549.863869 line : 10100 10970.380487 -16.365454 153.902580 7237916.738158 line : 10200 10970.381066 -13.450674 153.193006 7237253.022905 line : 10300 10970.381644 -10.533755 152.495352 7236559.856428 line : 10400 10970.382223 -7.615103 151.806775 7235838.564202 line : 10500 10970.382802 -4.695118 151.124621 7235090.660730 line : 10600 10970.383381 -1.774196 150.446374 7234317.849714 line : 10700 10970.383959 1.147268 149.769595 7233522.022499 line : 10800 10970.384538 4.068882 149.091872 7232705.254740 line : 10900 10970.385117 6.990249 148.410777 7231869.801290 line : 11000 10970.385695 9.910970 147.723810 7231018.089316 line : 11100 10970.386274 12.830640 147.028346 7230152.709674 line : 11200 10970.386853 15.748846 146.321583 7229276.406562 line : 11300 10970.387431 18.665163 145.600466 7228392.065548 line : 11400 10970.388010 21.579151 144.861616 7227502.700020 line : 11500 10970.388589 24.490345 144.101229 7226611.436170 line : 11600 10970.389168 27.398254 143.314965 7225721.496622 line : 11700 10970.389746 30.302344 142.497800 7224836.182818 line : 11800 10970.390325 33.202027 141.643834 7223958.856327 line : 11900 10970.390904 36.096641 140.746053 7223092.919201 line : 12000 10970.391482 38.985426 139.796011 7222241.793566 line : 12100 10970.392061 41.867484 138.783394 7221408.900605 line : 12200 10970.392640 44.741739 137.695445 7220597.639129 line : 12300 10970.393218 47.606859 136.516158 7219811.363907 line : 12400 10970.393797 50.461169 135.225148 7219053.363960 line : 12500 10970.394376 53.302502 133.796036 7218326.841015 line : 12600 10970.394955 56.127998 132.194085 7217634.888294 line : 12700 10970.395533 58.933787 130.372681 7216980.469852 Opening data.NORTH2 and writing header line: 12739 line : 12800 10970.396112 61.714498 128.267963 7216366.400644 line : 12900 10970.396691 64.462470 125.790464 7215795.327499 line : 13000 10970.397269 67.166449 122.811824 7215269.711184 line : 13100 10970.397848 69.809351 119.143406 7214791.809725 line : 13200 10970.398427 72.364317 114.502078 7214363.663126 line : 13300 10970.399006 74.787607 108.458451 7213987.079649 line : 13400 10970.399584 77.005959 100.374670 7213663.623758 line : 13500 10970.400163 78.896429 89.401314 7213394.605865 line : 13600 10970.400742 80.266525 74.799249 7213181.073946 line : 13700 10970.401320 80.878935 57.001736 7213023.807124 could not read line 13720 writing header for file 0 goint into getcorrectsdsvals year: 2011 day: 13 miilsecs: 28075078 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 going into makeheader with taos: 10970.324943 satid: 16 nlines: 1959 IN MAKEHEADER going into first make1btime in make1btime taos: 10970.324943 millsec: 28075078 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 after first make1btime in make1btime taos: 10970.328722 millsec: 28401578 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 DONE WITH MAKEHEADER writing header for file 1 goint into getcorrectsdsvals year: 2011 day: 13 miilsecs: 34195078 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 going into makeheader with taos: 10970.395776 satid: 16 nlines: 981 IN MAKEHEADER going into first make1btime in make1btime taos: 10970.395776 millsec: 34195078 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 after first make1btime in make1btime taos: 10970.397669 millsec: 34358578 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 DONE WITH MAKEHEADER writing header for file 2 goint into getcorrectsdsvals year: 2011 day: 13 miilsecs: 31132078 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 going into makeheader with taos: 10970.360325 satid: 16 nlines: 1967 IN MAKEHEADER going into first make1btime in make1btime taos: 10970.360325 millsec: 31132078 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 after first make1btime in make1btime taos: 10970.364119 millsec: 31459911 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 DONE WITH MAKEHEADER ***** Running navigation/calibration at Fri Jan 14 02:17:56 CST 2011 ***** Working on year and julian day (yyddd): 11013 (2011 Jan 13) no H option specified TBMFLAG: compval: 0 reading input header input header has been read satid from header : 2 XX satid: 16 getting time from firstline getting time in gettime in: 7 db 0 d 0 6b 1 ac 64 46 year: 2011 day: 13 ymd year: 2011 ymd yeardif: 30 after getheader done with 1959 lines header count: 0 actual: 1959 header will be rewritten output header follows: satid: 16 orbnum: 0 nlines: 1959 julday: 10970 taos: 28075078 NEW PROCESSGENERICGAC year: 2011 input file is : tmp output file is : tmp.p new processraw opening raw file: tmp opening archive file and writing header to tmp.p header written to newdataset dumsat: 3 satid from first line is: 16 year before julianday call: 2011 firstline curday: 13 julian: 10970 time: 28075078 linein: 0 curtime: 28075578 lasttime: 28075078 lastgood: 28075078 timdif: 500 linein: 100 curtime: 28125578 lasttime: 28125078 lastgood: 28125078 timdif: 500 linein: 200 curtime: 28175578 lasttime: 28175078 lastgood: 28175078 timdif: 500 linein: 300 curtime: 28225578 lasttime: 28225078 lastgood: 28225078 timdif: 500 linein: 400 curtime: 28275578 lasttime: 28275078 lastgood: 28275078 timdif: 500 linein: 500 curtime: 28325578 lasttime: 28325078 lastgood: 28325078 timdif: 500 linein: 600 curtime: 28375578 lasttime: 28375078 lastgood: 28375078 timdif: 500 linein: 700 curtime: 28425578 lasttime: 28425078 lastgood: 28425078 timdif: 500 linein: 800 curtime: 28475578 lasttime: 28475078 lastgood: 28475078 timdif: 500 linein: 900 curtime: 28525578 lasttime: 28525078 lastgood: 28525078 timdif: 500 linein: 1000 curtime: 28575578 lasttime: 28575078 lastgood: 28575078 timdif: 500 linein: 1100 curtime: 28625578 lasttime: 28625078 lastgood: 28625078 timdif: 500 linein: 1200 curtime: 28675578 lasttime: 28675078 lastgood: 28675078 timdif: 500 linein: 1300 curtime: 28725578 lasttime: 28725078 lastgood: 28725078 timdif: 500 linein: 1400 curtime: 28775578 lasttime: 28775078 lastgood: 28775078 timdif: 500 linein: 1500 curtime: 28825578 lasttime: 28825078 lastgood: 28825078 timdif: 500 linein: 1600 curtime: 28875578 lasttime: 28875078 lastgood: 28875078 timdif: 500 linein: 1700 curtime: 28925578 lasttime: 28925078 lastgood: 28925078 timdif: 500 linein: 1800 curtime: 28975578 lasttime: 28975078 lastgood: 28975078 timdif: 500 linein: 1900 curtime: 29025578 lasttime: 29025078 lastgood: 29025078 timdif: 500 could not read line bytes read: 0 error reading line: 1958 archive corect to here will rewrite header correctly cleaning up archive file new header being written as: satid: 16 orbit number: 0 dum: 0 number of lines: 1959 julian day: 10970d time of first scan: 7.798633 processing GAC data satid: 16 orbit number: 0 dum: 0 number of lines: 1959 julian day: 10970d time of first scan: 7.798633 Seasonal correction for julian date 10970.324943 = 0.967320 flag is : S 11/01/13 00:00:00110113000000 year: 11 month: 1 day: 13 dayofyear: 13 file containing coefficients is COEFFS.16 calling openparm16 before sprintf parmfilename: /Users/jkey/nav/cal/calib16.dat i: 0 nu: 2226.179930 i: 1 nu: 782.472410 i: 2 nu: 714.285640 chan: 0 nuc: 2700.114800 A: 1.592459 B: 0.998147 chan: 1 nuc: 917.228900 A: 0.332380 B: 0.998522 chan: 2 nuc: 838.125500 A: 0.674623 B: 0.998363 i: 0 wave:0.000000 i: 1 wave:0.000000 i: 2 wave:2700.114800 i: 3 wave:917.228900 i: 4 wave:838.125500 before look for Z after look for Z about to leave openparm newflag is 1: 1 about to open: tmp.p headstuff: sat: 16 orb: 0 julianday: 10970 taos: 28075078 length of headstuff: 57 headstuff: sat: 16 orb: 0 julianday: 10970 taos: 28075078 0.000 0.000 2700.1148 917.2289 838.1255 length of headstuff: 106 ************** results of initial calibration ******** from header firstday is : 13 arcsize: 5626 in sequence numlines: 1 day: 13 val: 386 arcsize: 5626 in sequence numlines: 2 day: 13 val: 388 arcsize: 5626 in sequence numlines: 3 day: 13 val: 391 arcsize: 5626 in sequence numlines: 4 day: 13 val: 0 realline before: 4 spaceref: 0.000000 targtemp: 296.562265 space rad: 0.000000 -4.500000 -3.610000 average space counts: 990.380000 991.380000 994.320000 average internal counts: 794.280000 397.740000 381.980000 satid: 16 launch_indx: -1 chan: 3 radspace: 0.000000 radtarget: 0.502240 spacebar:990.380000 internalbar: 794.280000 chan: 3 radspace: 0.000000 radtarget: 0.502240 spacebar:990.380000 internalbar: 794.280000 gain: -0.002561 offset: 2.536505 chan: 4 radspace: -4.500000 radtarget: 108.436785 spacebar:991.380000 internalbar: 397.740000 chan: 4 radspace: -4.500000 radtarget: 108.436785 spacebar:991.380000 internalbar: 397.740000 gain: -0.190245 offset: 184.104660 chan: 5 radspace: -3.610000 radtarget: 122.628611 spacebar:994.320000 internalbar: 381.980000 chan: 5 radspace: -3.610000 radtarget: 122.628611 spacebar:994.320000 internalbar: 381.980000 gain: -0.206158 offset: 201.376740 gain after: 0.054944 gain after: 0.054944 gain and offset up to scan line 54 : 0.054944 -2.115916 0.057652 -2.330854 -0.002561 2.536505 -0.190245 184.104660 -0.206158 201.376740 ************************************************************ trouble reading line in main DONE WITH CALIBRATION there were 1959 lines done THIS IS ACTUALLY rawcal15_new AS IT SHOULD BE CALIBRATION FILE: COEFFS.16 RADFLAG: 1 calib_dir: /Users/jkey/nav/cal name of caldatfile is: /Users/jkey/nav/cal/calibnew16.dat have found CENTRAL WAVE in string CENTRAL WAVE NUMBER TABLE 190.000000 230.000000 2638.652000 928.260300 834.449600 230.000000 270.000000 2642.807000 928.828400 834.806600 270.000000 310.000000 2645.899000 929.332300 835.164700 have found SPLIT CAL in string SPLIT CAL TABLE SPLIT GAINS and OFFSETS CHAN 1 count 0-490 gain: 0.052300 offset: -2.016000 CHAN 1 count 491-1023 gain: 0.152800 offset: -51.910000 CHAN 2 count 0-500 gain: 0.051300 offset: -1.943000 CHAN 2 count 501-1023 gain: 0.151000 offset: -51.770000 CHAN 3 count 0-499 gain: 0.028700 offset: -2.043000 CHAN 3 count 500-1023 gain: 0.180600 offset: -78.030000 WE ARE GOING NON LINEAR name of caldatfile is: /Users/jkey/nav/cal/calibnew16.dat have found NON LINEAR in string ABOUT TO READ NON LINEAR MATRIX have READ NON LINEAR MATRIX DONE WITH NON LINEAR STUFF have found NEW COEFFS in string ABOUT TO READ NEW COEFFS i: 0 NUC: 2700.114800 Anew: 1.592459 Bnew: 0.998147 NS: 0.000000 B0: 0.000000 B1: 0.000000 B2: 0.000000 i: 1 NUC: 917.228900 Anew: 0.332380 Bnew: 0.998522 NS: -2.467000 B0: 2.960000 B1: -0.054110 B2: 0.000245 i: 2 NUC: 838.125500 Anew: 0.674623 Bnew: 0.998363 NS: -2.009000 B0: 2.225000 B1: -0.036650 B2: 0.000149 DONE WITH NEW COEFFS calhead: sat: 16 orb: 0 julianday: 10970 taos: 28075078 0.000 0.000 2700.1148 917.2289 838.1255 Z/Users/jkey/nav/cal/calibnew16.dat calhead: 0.000 0.000 2700.1148 917.2289 838.1255 Z/Users/jkey/nav/cal/calibnew16.dat wavecent: 0.000000 0.000000 2700.114800 917.228900 838.125500 INVWAVE: 0.000000 size of cal file is: 207866 have read in cal array number of lines 1959 doing raw line: 0 doing raw line: 500 doing raw line: 1000 doing raw line: 1500 TIME calculation WAS REQUESTED SZA calculation WAS REQUESTED LINE and SAMPLE DATA WAS REQUESTED OSCULATING CORRECTIONS WILL BE APPLIED dashv: temp: strlen: 0 dashH: n strlen: 1 AFTER GET OPTIONS GAC DATA OPTION HAS BEEN CHOOSEN AFTER INIT input file has been opened, fp: 1883758400 after openarc fp: 1883758400 sid: 16d orbnum: 0d numscan: 1959d milday: 28075078d *** data header *** satid: 16 orbit number: 0 number of lines: 1959 julian day: 10970 time of first scan: 7.798633 ******************** AFTER INITDATA julday: 10970 taos: 28075078 TIME OF FIRST SCAN : 11/01/13 07:47:55 looking for ephemeris data for taos: 10970.324943 opening ephemeris after opening ephemeris size: 76 *******ephemeris elements ************ satid: 26536 orbit: 65195 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 ecc: 0.001062 argper: 0.364140 ascnode: 0.799605 inclin: 0.275446 ephoc: 110105000000 **************************** ******ephemnot structure follows*******: satid: 26536 orbit: 65195 size: 76 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 eccen: 0.001062 argper: 0.364140 ascenode: 0.799605 inclin: 0.275446 earadius: 6378137.000000 oblat: 0.001083 ***************************************************************** *********epheminit structure follows******* timnot: 10962.000000 smajaxis: 1.132905 decay: -0.000000 eccen: 0.001062 inclin: 1.730681 argper: 2.287962 perrate: -0.000551 longan: 5.024068 nodrate: 0.000201 ,meananom: 1.717550 meanmot: 0.828813 meanmotrate: 0.000000 grav constant: 398598005011040.375000 ***************************************************************** satlat1: 1.045915 satlat2: 1.071121 asnflag: 1 DATA IS ASCENDING **************** INITAILIZATION OVER ****************** dashr: 81.38011 RANGE0: 81.380110 IN SATGEO line: 0 spot: 204 time: 10970.324943 IN SATGEO line: 5 spot: 204 time: 10970.324972 RANGE: 81.380110 Pass is Ascending at start center lat: 90.000000 center lon: 0.000000 range: 81.380110 images will be processed using chunks of 361 lines getting space for 10 bit image image.proj: 8 fpsza: 7047dfd8 fpsaza: 7047e070 opening 135324363.NSS.GHRR.NL.D11013.S0743.E0938.B5315051.WI.N1.1 OPENING chan: 0 fp: 1883759312 opening 135324363.NSS.GHRR.NL.D11013.S0743.E0938.B5315051.WI.N1.2 OPENING chan: 1 fp: 1883759464 opening 135324363.NSS.GHRR.NL.D11013.S0743.E0938.B5315051.WI.N1.3 OPENING chan: 2 fp: 1883759616 opening 135324363.NSS.GHRR.NL.D11013.S0743.E0938.B5315051.WI.N1.4 OPENING chan: 3 fp: 1883759768 opening 135324363.NSS.GHRR.NL.D11013.S0743.E0938.B5315051.WI.N1.5 OPENING chan: 4 fp: 1883759920 getting space for time array getting space for sza array getting space for saza array getting space for satelv array getting space for sataz array ************************************* total bytes malloced is : 4217234 ************************************* ******** current elements follow******** taos: 10970.324943 time: 10970.324943 smajaxis: 7225817.009345 eccentricity: 0.001062 inclin: 1.730734 argper: 1.880600 longan: -3.295677 meananom: 5.472801 trueanom: 5.471261 altitude: 7220518.560829 ********************************************** satpos: -3284027.490806 1529014.280327 6241683.223009 satvel: 6528.838638 -438.063075 3528.109970 satlat: 59.870104 satlon: 155.033728 COMMAND>DASHD: n INTERPOLATION CHOOSEN , every 8 x pixel and every 8 ypixel going through pixels **** before templat: 29.712678 centtodet: 29.878633 CORNERS OF WHOLE IMAGE FOLLOW North West Corner lat: 29.878633 lon: 225.000000 North East Corner lat: 30.063244 lon: 135.159155 South East Corner lat: 30.248190 lon: 45.000000 South West Corner lat: 30.063244 lon: -45.159155 interpolation choosen every 8 i pixels and every 8 j pixels image will be processed in 1 chunks of 361 image lines segment 0 startj: 0 stopj: 361 starti: 0 stopi: 360 numj: 361 north west----- lat: 29.712678 lon: 225.000000 line: -999 spot: -999 north east----- lat: 29.896666 lon: 135.159155 line: -999 spot: 344 south east-----lat: 29.896666 lon: 44.840845 line: -999 spot: -999 south west-----lat: 29.712678 lon: -45.000000 line: -999 spot: -999 doing chunk number: 0 from line: 0 to line: 360 numcelx: 45 numcely: 45 extrai: 0 extraj: 0 ****minline: 0 maxline: 1956 in data aquisiton maxline: 1956 minline: 0 in data aquistion module image is contained within lines : 1 and 1956 data will be processed using 20 chunks of 100 lines in get10 searching data lines 1 to 101 for image lines 0 to 361 in get10 searching data lines 101 to 201 for image lines 0 to 361 in get10 searching data lines 201 to 301 for image lines 0 to 361 in get10 searching data lines 301 to 401 for image lines 0 to 361 in get10 searching data lines 401 to 501 for image lines 0 to 361 in get10 searching data lines 501 to 601 for image lines 0 to 361 in get10 searching data lines 601 to 701 for image lines 0 to 361 in get10 searching data lines 701 to 801 for image lines 0 to 361 in get10 searching data lines 801 to 901 for image lines 0 to 361 in get10 searching data lines 901 to 1001 for image lines 0 to 361 in get10 searching data lines 1001 to 1101 for image lines 0 to 361 in get10 searching data lines 1101 to 1201 for image lines 0 to 361 in get10 searching data lines 1201 to 1301 for image lines 0 to 361 in get10 searching data lines 1301 to 1401 for image lines 0 to 361 in get10 searching data lines 1401 to 1501 for image lines 0 to 361 in get10 searching data lines 1501 to 1601 for image lines 0 to 361 in get10 searching data lines 1601 to 1701 for image lines 0 to 361 in get10 searching data lines 1701 to 1801 for image lines 0 to 361 in get10 searching data lines 1801 to 1901 for image lines 0 to 361 done processing 1959 lines in get10 searching data lines 1901 to 2001 for image lines 0 to 361 dumping SZA array in dumpother j1: 0 j2: 361 ysize: 361 fpother: 1883758552 writing other type image in dumpother j1: 0 j2: 361 ysize: 361 fpother: 1883758704 writing other type image *************** dashY: y dumping ELEV array in dumpother j1: 0 j2: 361 ysize: 361 fpother: 1883759160 writing other type image dumping AZIM array in dumpother j1: 0 j2: 361 ysize: 361 fpother: 1883759008 writing other type image constructing TIME array in puttime j1: 0 j2: 361 ysize: 361 dumping TIME array in dumpother j1: 0 j2: 361 ysize: 361 fpother: 1883758856 writing other type image nchan: 5 dumping ch: 0 fp: 1883759312 about to dump image number: 0 channel: 1 xsize: 361 ysize: 361 IN WRITEIMAGE chan: 0 fp: 1883759312 DOne with dumpimage fp: 1883759312 have dumped ch: 0 fp: 1883759312 dumping ch: 1 fp: 1883759464 about to dump image number: 1 channel: 2 xsize: 361 ysize: 361 IN WRITEIMAGE chan: 1 fp: 1883759464 DOne with dumpimage fp: 1883759464 have dumped ch: 1 fp: 1883759464 dumping ch: 2 fp: 1883759616 about to dump image number: 2 channel: 3 xsize: 361 ysize: 361 IN WRITEIMAGE chan: 2 fp: 1883759616 DOne with dumpimage fp: 1883759616 have dumped ch: 2 fp: 1883759616 dumping ch: 3 fp: 1883759768 about to dump image number: 3 channel: 4 xsize: 361 ysize: 361 IN WRITEIMAGE chan: 3 fp: 1883759768 DOne with dumpimage fp: 1883759768 have dumped ch: 3 fp: 1883759768 dumping ch: 4 fp: 1883759920 about to dump image number: 4 channel: 5 xsize: 361 ysize: 361 IN WRITEIMAGE chan: 4 fp: 1883759920 DOne with dumpimage fp: 1883759920 have dumped ch: 4 fp: 1883759920 About to write headers fp: 1883759768 done with navigation--retrieving data ***** Running navigation/calibration at Fri Jan 14 02:17:58 CST 2011 ***** Working on year and julian day (yyddd): 11013 (2011 Jan 13) no H option specified TBMFLAG: compval: 0 reading input header input header has been read satid from header : 2 XX satid: 16 getting time from firstline getting time in gettime in: 7 db 0 d 0 6b 2 9 c6 86 year: 2011 day: 13 ymd year: 2011 ymd yeardif: 30 after getheader done with 981 lines header count: 0 actual: 981 header will be rewritten output header follows: satid: 16 orbnum: 0 nlines: 981 julday: 10970 taos: 34195078 NEW PROCESSGENERICGAC year: 2011 input file is : tmp output file is : tmp.p new processraw opening raw file: tmp opening archive file and writing header to tmp.p header written to newdataset dumsat: 3 satid from first line is: 16 year before julianday call: 2011 firstline curday: 13 julian: 10970 time: 34195078 linein: 0 curtime: 34195578 lasttime: 34195078 lastgood: 34195078 timdif: 500 linein: 100 curtime: 34245578 lasttime: 34245078 lastgood: 34245078 timdif: 500 linein: 200 curtime: 34295578 lasttime: 34295078 lastgood: 34295078 timdif: 500 linein: 300 curtime: 34345578 lasttime: 34345078 lastgood: 34345078 timdif: 500 linein: 400 curtime: 34395578 lasttime: 34395078 lastgood: 34395078 timdif: 500 linein: 500 curtime: 34445578 lasttime: 34445078 lastgood: 34445078 timdif: 500 linein: 600 curtime: 34495578 lasttime: 34495078 lastgood: 34495078 timdif: 500 linein: 700 curtime: 34545578 lasttime: 34545078 lastgood: 34545078 timdif: 500 linein: 800 curtime: 34595578 lasttime: 34595078 lastgood: 34595078 timdif: 500 linein: 900 curtime: 34645578 lasttime: 34645078 lastgood: 34645078 timdif: 500 could not read line bytes read: 0 error reading line: 980 archive corect to here will rewrite header correctly cleaning up archive file new header being written as: satid: 16 orbit number: 0 dum: 0 number of lines: 981 julian day: 10970d time of first scan: 9.498633 processing GAC data satid: 16 orbit number: 0 dum: 0 number of lines: 981 julian day: 10970d time of first scan: 9.498633 Seasonal correction for julian date 10970.395776 = 0.967327 flag is : S 11/01/13 00:00:00110113000000 year: 11 month: 1 day: 13 dayofyear: 13 file containing coefficients is COEFFS.16 calling openparm16 before sprintf parmfilename: /Users/jkey/nav/cal/calib16.dat i: 0 nu: 2226.179930 i: 1 nu: 782.472410 i: 2 nu: 714.285640 chan: 0 nuc: 2700.114800 A: 1.592459 B: 0.998147 chan: 1 nuc: 917.228900 A: 0.332380 B: 0.998522 chan: 2 nuc: 838.125500 A: 0.674623 B: 0.998363 i: 0 wave:0.000000 i: 1 wave:0.000000 i: 2 wave:2700.114800 i: 3 wave:917.228900 i: 4 wave:838.125500 before look for Z after look for Z about to leave openparm newflag is 1: 1 about to open: tmp.p headstuff: sat: 16 orb: 0 julianday: 10970 taos: 34195078 length of headstuff: 57 headstuff: sat: 16 orb: 0 julianday: 10970 taos: 34195078 0.000 0.000 2700.1148 917.2289 838.1255 length of headstuff: 106 ************** results of initial calibration ******** from header firstday is : 13 arcsize: 5626 in sequence numlines: 1 day: 13 val: 386 arcsize: 5626 in sequence numlines: 2 day: 13 val: 387 arcsize: 5626 in sequence numlines: 3 day: 13 val: 391 arcsize: 5626 in sequence numlines: 4 day: 13 val: 0 realline before: 4 spaceref: 0.000000 targtemp: 296.535114 space rad: 0.000000 -4.500000 -3.610000 average space counts: 990.460000 991.260000 994.500000 average internal counts: 794.500000 397.840000 382.160000 satid: 16 launch_indx: -1 chan: 3 radspace: 0.000000 radtarget: 0.501644 spacebar:990.460000 internalbar: 794.500000 chan: 3 radspace: 0.000000 radtarget: 0.501644 spacebar:990.460000 internalbar: 794.500000 gain: -0.002560 offset: 2.535506 chan: 4 radspace: -4.500000 radtarget: 108.392126 spacebar:991.260000 internalbar: 397.840000 chan: 4 radspace: -4.500000 radtarget: 108.392126 spacebar:991.260000 internalbar: 397.840000 gain: -0.190240 offset: 184.077148 chan: 5 radspace: -3.610000 radtarget: 122.582302 spacebar:994.500000 internalbar: 382.160000 chan: 5 radspace: -3.610000 radtarget: 122.582302 spacebar:994.500000 internalbar: 382.160000 gain: -0.206082 offset: 201.338623 gain after: 0.054944 gain after: 0.054944 gain and offset up to scan line 54 : 0.054944 -2.115931 0.057653 -2.330871 -0.002560 2.535506 -0.190240 184.077148 -0.206082 201.338623 ************************************************************ trouble reading line in main DONE WITH CALIBRATION there were 981 lines done THIS IS ACTUALLY rawcal15_new AS IT SHOULD BE CALIBRATION FILE: COEFFS.16 RADFLAG: 1 calib_dir: /Users/jkey/nav/cal name of caldatfile is: /Users/jkey/nav/cal/calibnew16.dat have found CENTRAL WAVE in string CENTRAL WAVE NUMBER TABLE 190.000000 230.000000 2638.652000 928.260300 834.449600 230.000000 270.000000 2642.807000 928.828400 834.806600 270.000000 310.000000 2645.899000 929.332300 835.164700 have found SPLIT CAL in string SPLIT CAL TABLE SPLIT GAINS and OFFSETS CHAN 1 count 0-490 gain: 0.052300 offset: -2.016000 CHAN 1 count 491-1023 gain: 0.152800 offset: -51.910000 CHAN 2 count 0-500 gain: 0.051300 offset: -1.943000 CHAN 2 count 501-1023 gain: 0.151000 offset: -51.770000 CHAN 3 count 0-499 gain: 0.028700 offset: -2.043000 CHAN 3 count 500-1023 gain: 0.180600 offset: -78.030000 WE ARE GOING NON LINEAR name of caldatfile is: /Users/jkey/nav/cal/calibnew16.dat have found NON LINEAR in string ABOUT TO READ NON LINEAR MATRIX have READ NON LINEAR MATRIX DONE WITH NON LINEAR STUFF have found NEW COEFFS in string ABOUT TO READ NEW COEFFS i: 0 NUC: 2700.114800 Anew: 1.592459 Bnew: 0.998147 NS: 0.000000 B0: 0.000000 B1: 0.000000 B2: 0.000000 i: 1 NUC: 917.228900 Anew: 0.332380 Bnew: 0.998522 NS: -2.467000 B0: 2.960000 B1: -0.054110 B2: 0.000245 i: 2 NUC: 838.125500 Anew: 0.674623 Bnew: 0.998363 NS: -2.009000 B0: 2.225000 B1: -0.036650 B2: 0.000149 DONE WITH NEW COEFFS calhead: sat: 16 orb: 0 julianday: 10970 taos: 34195078 0.000 0.000 2700.1148 917.2289 838.1255 %fd/Users/jkey/nav/cal/calibnew16.dat calhead: 0.000 0.000 2700.1148 917.2289 838.1255 %fd/Users/jkey/nav/cal/calibnew16.dat wavecent: 0.000000 0.000000 2700.114800 917.228900 838.125500 INVWAVE: 0.000000 size of cal file is: 104198 have read in cal array number of lines 981 doing raw line: 0 doing raw line: 500 TIME calculation WAS REQUESTED SZA calculation WAS REQUESTED LINE and SAMPLE DATA WAS REQUESTED OSCULATING CORRECTIONS WILL BE APPLIED dashv: temp: strlen: 0 dashH: n strlen: 1 AFTER GET OPTIONS GAC DATA OPTION HAS BEEN CHOOSEN AFTER INIT input file has been opened, fp: 1883758400 after openarc fp: 1883758400 sid: 16d orbnum: 0d numscan: 981d milday: 34195078d *** data header *** satid: 16 orbit number: 0 number of lines: 981 julian day: 10970 time of first scan: 9.498633 ******************** AFTER INITDATA julday: 10970 taos: 34195078 TIME OF FIRST SCAN : 11/01/13 09:29:55 looking for ephemeris data for taos: 10970.395776 opening ephemeris after opening ephemeris size: 76 *******ephemeris elements ************ satid: 26536 orbit: 65195 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 ecc: 0.001062 argper: 0.364140 ascnode: 0.799605 inclin: 0.275446 ephoc: 110105000000 **************************** ******ephemnot structure follows*******: satid: 26536 orbit: 65195 size: 76 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 eccen: 0.001062 argper: 0.364140 ascenode: 0.799605 inclin: 0.275446 earadius: 6378137.000000 oblat: 0.001083 ***************************************************************** *********epheminit structure follows******* timnot: 10962.000000 smajaxis: 1.132905 decay: -0.000000 eccen: 0.001062 inclin: 1.730681 argper: 2.287962 perrate: -0.000551 longan: 5.024068 nodrate: 0.000201 ,meananom: 1.717550 meanmot: 0.828813 meanmotrate: 0.000000 grav constant: 398598005011040.375000 ***************************************************************** satlat1: 1.046140 satlat2: 1.071345 asnflag: 1 DATA IS ASCENDING **************** INITAILIZATION OVER ****************** dashr: 81.38011 RANGE0: 81.380110 IN SATGEO line: 0 spot: 204 time: 10970.395776 IN SATGEO line: 5 spot: 204 time: 10970.395805 RANGE: 81.380110 Pass is Ascending at start center lat: 90.000000 center lon: 0.000000 range: 81.380110 images will be processed using chunks of 361 lines getting space for 10 bit image image.proj: 8 fpsza: 7047dfd8 fpsaza: 7047e070 opening 135324363.NSS.GHRR.NL.D11013.S0743.E0938.B5315051.WI.N2.1 OPENING chan: 0 fp: 1883759312 opening 135324363.NSS.GHRR.NL.D11013.S0743.E0938.B5315051.WI.N2.2 OPENING chan: 1 fp: 1883759464 opening 135324363.NSS.GHRR.NL.D11013.S0743.E0938.B5315051.WI.N2.3 OPENING chan: 2 fp: 1883759616 opening 135324363.NSS.GHRR.NL.D11013.S0743.E0938.B5315051.WI.N2.4 OPENING chan: 3 fp: 1883759768 opening 135324363.NSS.GHRR.NL.D11013.S0743.E0938.B5315051.WI.N2.5 OPENING chan: 4 fp: 1883759920 getting space for time array getting space for sza array getting space for saza array getting space for satelv array getting space for sataz array ************************************* total bytes malloced is : 4217234 ************************************* ******** current elements follow******** taos: 10970.395776 time: 10970.395776 smajaxis: 7225816.971051 eccentricity: 0.001062 inclin: 1.730734 argper: 1.877134 longan: -3.740691 meananom: 5.476499 trueanom: 5.474964 altitude: 7220498.019218 ********************************************** satpos: -2304657.236351 2793026.189124 6242481.154424 satvel: 5704.956288 -3206.557528 3526.608339 satlat: 59.883030 satlon: 129.527643 COMMAND>DASHD: n INTERPOLATION CHOOSEN , every 8 x pixel and every 8 ypixel going through pixels **** before templat: 29.712678 centtodet: 29.878633 CORNERS OF WHOLE IMAGE FOLLOW North West Corner lat: 29.878633 lon: 225.000000 North East Corner lat: 30.063244 lon: 135.159155 South East Corner lat: 30.248190 lon: 45.000000 South West Corner lat: 30.063244 lon: -45.159155 interpolation choosen every 8 i pixels and every 8 j pixels image will be processed in 1 chunks of 361 image lines segment 0 startj: 0 stopj: 361 starti: 0 stopi: 360 numj: 361 north west----- lat: 29.712678 lon: 225.000000 line: -999 spot: -999 north east----- lat: 29.896666 lon: 135.159155 line: -999 spot: -999 south east-----lat: 29.896666 lon: 44.840845 line: -999 spot: -999 south west-----lat: 29.712678 lon: -45.000000 line: -999 spot: 38 doing chunk number: 0 from line: 0 to line: 360 numcelx: 45 numcely: 45 extrai: 0 extraj: 0 ****minline: 1 maxline: 976 in data aquisiton maxline: 976 minline: 1 in data aquistion module image is contained within lines : 1 and 976 data will be processed using 10 chunks of 100 lines in get10 searching data lines 1 to 101 for image lines 0 to 361 in get10 searching data lines 101 to 201 for image lines 0 to 361 in get10 searching data lines 201 to 301 for image lines 0 to 361 in get10 searching data lines 301 to 401 for image lines 0 to 361 in get10 searching data lines 401 to 501 for image lines 0 to 361 in get10 searching data lines 501 to 601 for image lines 0 to 361 in get10 searching data lines 601 to 701 for image lines 0 to 361 in get10 searching data lines 701 to 801 for image lines 0 to 361 in get10 searching data lines 801 to 901 for image lines 0 to 361 done processing 981 lines in get10 searching data lines 901 to 1001 for image lines 0 to 361 dumping SZA array in dumpother j1: 0 j2: 361 ysize: 361 fpother: 1883758552 writing other type image in dumpother j1: 0 j2: 361 ysize: 361 fpother: 1883758704 writing other type image *************** dashY: y dumping ELEV array in dumpother j1: 0 j2: 361 ysize: 361 fpother: 1883759160 writing other type image dumping AZIM array in dumpother j1: 0 j2: 361 ysize: 361 fpother: 1883759008 writing other type image constructing TIME array in puttime j1: 0 j2: 361 ysize: 361 dumping TIME array in dumpother j1: 0 j2: 361 ysize: 361 fpother: 1883758856 writing other type image nchan: 5 dumping ch: 0 fp: 1883759312 about to dump image number: 0 channel: 1 xsize: 361 ysize: 361 IN WRITEIMAGE chan: 0 fp: 1883759312 DOne with dumpimage fp: 1883759312 have dumped ch: 0 fp: 1883759312 dumping ch: 1 fp: 1883759464 about to dump image number: 1 channel: 2 xsize: 361 ysize: 361 IN WRITEIMAGE chan: 1 fp: 1883759464 DOne with dumpimage fp: 1883759464 have dumped ch: 1 fp: 1883759464 dumping ch: 2 fp: 1883759616 about to dump image number: 2 channel: 3 xsize: 361 ysize: 361 IN WRITEIMAGE chan: 2 fp: 1883759616 DOne with dumpimage fp: 1883759616 have dumped ch: 2 fp: 1883759616 dumping ch: 3 fp: 1883759768 about to dump image number: 3 channel: 4 xsize: 361 ysize: 361 IN WRITEIMAGE chan: 3 fp: 1883759768 DOne with dumpimage fp: 1883759768 have dumped ch: 3 fp: 1883759768 dumping ch: 4 fp: 1883759920 about to dump image number: 4 channel: 5 xsize: 361 ysize: 361 IN WRITEIMAGE chan: 4 fp: 1883759920 DOne with dumpimage fp: 1883759920 have dumped ch: 4 fp: 1883759920 About to write headers fp: 1883759768 done with navigation--retrieving data rm: data.*: No such file or directory ***** Running polar regions subsetting at Fri Jan 14 02:17:58 CST 2011 ***** Working on year and julian day (yyddd): 11013 (2011 Jan 13) command line args: ephemfile: /Users/jkey/nav/ephemeris northlimit: 60.000000 southlimit: -60.000000 data is type: G sds-type is: H region is: O SDS GAC data selected. year: 2011 day: 13 miilsecs: 27824078 before md doy: 13 year: 2011 **julianday: 10970 year: 2011 day: 13 miilsecs: 27824078 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 year: 2011 day: 13 miilsecs: 27824578 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 year: 2011 day: 13 miilsecs: 27825078 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 taos: 27824078 satid: 16 julian day: 10970 nlines: 13723 GOING INTO initorb4 satnum: 16 navsatid: 26536 calling readephem taos: 10970.322038 opening ephemeris after opening ephemeris size: 76 *******ephemeris elements ************ satid: 26536 orbit: 65195 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 ecc: 0.001062 argper: 0.364140 ascnode: 0.799605 inclin: 0.275446 ephoc: 110105000000 **************************** ******ephemnot structure follows*******: satid: 26536 orbit: 65195 size: 76 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 eccen: 0.001062 argper: 0.364140 ascenode: 0.799605 inclin: 0.275446 earadius: 6378137.000000 oblat: 0.001083 ***************************************************************** YEAR HERE: 11 *********epheminit structure follows******* timnot: 10962.000000 smajaxis: 1.132905 decay: -0.000000 eccen: 0.001062 inclin: 1.730681 argper: 2.287962 perrate: -0.000551 longan: 5.024068 nodrate: 0.000201 ,meananom: 1.717550 meanmot: 0.828813 meanmotrate: 0.000000 grav constant: 398598005011040.375000 ***************************************************************** ******** current elements follow******** taos: 10970.322038 time: 10970.322038 smajaxis: 7225817.010916 eccentricity: 0.001062 inclin: 1.730681 argper: 1.880742 longan: -3.277340 meananom: 740.347637 trueanom: 740.345775 altitude: 7222127.319728 ********************************************** ******** current elements follow******** taos: 10970.322038 time: 10970.322038 smajaxis: 7225817.010916 eccentricity: 0.001062 inclin: 1.730681 argper: 1.880742 longan: -3.277340 meananom: 740.347637 trueanom: 740.345775 altitude: 7222127.319728 ********************************************** SPECIFIC DATA: bytesperline: 4608 scanspersec: 2.000000 line : 0 10970.322038 45.875843 162.737577 7220306.884848 line : 100 10970.322617 48.736895 161.516846 7219530.715944 line : 200 10970.323195 51.586347 160.174791 7218784.039822 line : 300 10970.323774 54.421791 158.682064 7218070.019739 line : 400 10970.324353 57.240012 156.999735 7217391.702367 Opening data.NORTH1 and writing header line: 499 line : 500 10970.324931 60.036617 155.075149 7216751.997385 line : 600 10970.325510 62.805448 152.835540 7216153.657882 line : 700 10970.326089 65.537618 150.178015 7215599.261735 line : 800 10970.326668 68.219908 146.953532 7215091.194144 line : 900 10970.327246 70.831976 142.941085 7214631.631479 line : 1000 10970.327825 73.341382 137.806926 7214222.526596 line : 1100 10970.328404 75.694627 131.046216 7213865.595749 line : 1200 10970.328982 77.801604 121.928886 7213562.307229 line : 1300 10970.329561 79.513346 109.576800 7213313.871827 line : 1400 10970.330140 80.611524 93.544671 7213121.235210 line : 1500 10970.330718 80.872126 75.096275 7212985.072288 line : 1600 10970.331297 80.227882 57.382784 7212905.783607 line : 1700 10970.331876 78.834130 42.917788 7212883.493808 line : 1800 10970.332455 76.928131 32.066199 7212918.052163 line : 1900 10970.333033 74.699741 24.071197 7213009.035174 line : 2000 10970.333612 72.269652 18.088768 7213155.751201 line : 2100 10970.334191 69.709729 13.489562 7213357.247090 line : 2200 10970.334769 67.062916 9.850667 7213612.316698 line : 2300 10970.335348 64.355613 6.893213 7213919.511261 line : 2400 10970.335927 61.604638 4.431283 7214277.151482 line : 2500 10970.336506 58.821085 2.338258 7214683.341218 line : 2600 10970.337084 56.012515 0.525807 7215135.982643 line : 2700 10970.337663 53.184238 -1.069176 7215632.792717 line : 2800 10970.338242 50.340085 -2.492787 7216171.320823 line : 2900 10970.338820 47.482893 -3.779406 7216748.967375 line : 3000 10970.339399 44.614811 -4.955157 7217363.003236 line : 3100 10970.339978 41.737509 -6.040239 7218010.589756 line : 3200 10970.340556 38.852313 -7.050523 7218688.799226 line : 3300 10970.341135 35.960302 -7.998665 7219394.635569 line : 3400 10970.341714 33.062374 -8.894902 7220125.055072 line : 3500 10970.342293 30.159294 -9.747624 7220876.986955 line : 3600 10970.342871 27.251731 -10.563800 7221647.353603 line : 3700 10970.343450 24.340278 -11.349295 7222433.090275 line : 3800 10970.344029 21.425478 -12.109107 7223231.164101 line : 3900 10970.344607 18.507833 -12.847559 7224038.592223 line : 4000 10970.345186 15.587814 -13.568437 7224852.458907 line : 4100 10970.345765 12.665873 -14.275111 7225669.931495 line : 4200 10970.346343 9.742444 -14.970629 7226488.275060 line : 4300 10970.346922 6.817953 -15.657792 7227304.865659 line : 4400 10970.347501 3.892814 -16.339221 7228117.202080 line : 4500 10970.348080 0.967438 -17.017420 7228922.916009 line : 4600 10970.348658 -1.957768 -17.694823 7229719.780549 line : 4700 10970.349237 -4.882398 -18.373848 7230505.717053 line : 4800 10970.349816 -7.806048 -19.056946 7231278.800242 line : 4900 10970.350394 -10.728309 -19.746649 7232037.261603 line : 5000 10970.350973 -13.648770 -20.445630 7232779.491078 line : 5100 10970.351552 -16.567013 -21.156755 7233504.037077 line : 5200 10970.352131 -19.482608 -21.883162 7234209.604857 line : 5300 10970.352709 -22.395112 -22.628336 7234895.053333 line : 5400 10970.353288 -25.304057 -23.396213 7235559.390415 line : 5500 10970.353867 -28.208948 -24.191300 7236201.766937 line : 5600 10970.354445 -31.109247 -25.018835 7236821.469326 line : 5700 10970.355024 -34.004358 -25.884979 7237417.911094 line : 5800 10970.355603 -36.893610 -26.797086 7237990.623321 line : 5900 10970.356181 -39.776224 -27.764034 7238539.244246 line : 6000 10970.356760 -42.651282 -28.796696 7239063.508129 line : 6100 10970.357339 -45.517666 -29.908558 7239563.233539 line : 6200 10970.357918 -48.373993 -31.116598 7240038.311227 line : 6300 10970.358496 -51.218502 -32.442500 7240488.691748 line : 6400 10970.359075 -54.048908 -33.914428 7240914.372999 line : 6500 10970.359654 -56.862169 -35.569598 7241315.387838 line : 6600 10970.360232 -59.654140 -37.458147 7241691.791932 Opening data.SOUTH1 and writing header line: 6613 line : 6700 10970.360811 -62.419031 -39.649041 7242043.652012 line : 6800 10970.361390 -65.148525 -42.239307 7242371.034667 line : 6900 10970.361968 -67.830310 -45.368719 7242673.995829 line : 7000 10970.362547 -70.445556 -49.243355 7242952.571079 line : 7100 10970.363126 -72.964430 -54.172849 7243206.766902 line : 7200 10970.363705 -75.338044 -60.624599 7243436.552989 line : 7300 10970.364283 -77.484336 -69.279741 7243641.855705 line : 7400 10970.364862 -79.266874 -80.991873 7243822.552786 line : 7500 10970.365441 -80.479790 -96.330375 7243978.469347 line : 7600 10970.366019 -80.893046 -114.409707 7244109.375254 line : 7700 10970.366598 -80.402979 -132.342759 7244214.983891 line : 7800 10970.367177 -79.131058 -147.368802 7244294.952344 line : 7900 10970.367756 -77.310027 -158.780738 7244348.883018 line : 8000 10970.368334 -75.140075 -167.210434 7244376.326658 line : 8100 10970.368913 -72.751979 -173.505278 7244376.786753 line : 8200 10970.369492 -70.224143 -178.326602 7244349.725285 line : 8300 10970.370070 -67.603335 177.874478 7244294.569742 line : 8400 10970.370649 -64.918168 174.799301 7244210.721343 line : 8500 10970.371228 -62.186760 172.248838 7244097.564365 line : 8600 10970.371806 -59.420987 170.087833 7243954.476478 line : 8700 10970.372385 -56.628895 168.222200 7243780.839966 line : 8800 10970.372964 -53.816097 166.584927 7243576.053713 line : 8900 10970.373543 -50.986617 165.127206 7243339.545805 line : 9000 10970.374121 -48.143414 163.812743 7243070.786616 line : 9100 10970.374700 -45.288715 162.614033 7242769.302213 line : 9200 10970.375279 -42.424234 161.509862 7242434.687925 line : 9300 10970.375857 -39.551322 160.483604 7242066.621916 line : 9400 10970.376436 -36.671068 159.522030 7241664.878598 line : 9500 10970.377015 -33.784369 158.614467 7241229.341708 line : 9600 10970.377593 -30.891984 157.752187 7240760.016906 line : 9700 10970.378172 -27.994569 156.927955 7240257.043712 line : 9800 10970.378751 -25.092703 156.135700 7239720.706641 line : 9900 10970.379330 -22.186912 155.370259 7239151.445379 line : 10000 10970.379908 -19.277677 154.627182 7238549.863869 line : 10100 10970.380487 -16.365454 153.902580 7237916.738158 line : 10200 10970.381066 -13.450674 153.193006 7237253.022905 line : 10300 10970.381644 -10.533755 152.495352 7236559.856428 line : 10400 10970.382223 -7.615103 151.806775 7235838.564202 line : 10500 10970.382802 -4.695118 151.124621 7235090.660730 line : 10600 10970.383381 -1.774196 150.446374 7234317.849714 line : 10700 10970.383959 1.147268 149.769595 7233522.022499 line : 10800 10970.384538 4.068882 149.091872 7232705.254740 line : 10900 10970.385117 6.990249 148.410777 7231869.801290 line : 11000 10970.385695 9.910970 147.723810 7231018.089316 line : 11100 10970.386274 12.830640 147.028346 7230152.709674 line : 11200 10970.386853 15.748846 146.321583 7229276.406562 line : 11300 10970.387431 18.665163 145.600466 7228392.065548 line : 11400 10970.388010 21.579151 144.861616 7227502.700020 line : 11500 10970.388589 24.490345 144.101229 7226611.436170 line : 11600 10970.389168 27.398254 143.314965 7225721.496622 line : 11700 10970.389746 30.302344 142.497800 7224836.182818 line : 11800 10970.390325 33.202027 141.643834 7223958.856327 line : 11900 10970.390904 36.096641 140.746053 7223092.919201 line : 12000 10970.391482 38.985426 139.796011 7222241.793566 line : 12100 10970.392061 41.867484 138.783394 7221408.900605 line : 12200 10970.392640 44.741739 137.695445 7220597.639129 line : 12300 10970.393218 47.606859 136.516158 7219811.363907 line : 12400 10970.393797 50.461169 135.225148 7219053.363960 line : 12500 10970.394376 53.302502 133.796036 7218326.841015 line : 12600 10970.394955 56.127998 132.194085 7217634.888294 line : 12700 10970.395533 58.933787 130.372681 7216980.469852 Opening data.NORTH2 and writing header line: 12739 line : 12800 10970.396112 61.714498 128.267963 7216366.400644 line : 12900 10970.396691 64.462470 125.790464 7215795.327499 line : 13000 10970.397269 67.166449 122.811824 7215269.711184 line : 13100 10970.397848 69.809351 119.143406 7214791.809725 line : 13200 10970.398427 72.364317 114.502078 7214363.663126 line : 13300 10970.399006 74.787607 108.458451 7213987.079649 line : 13400 10970.399584 77.005959 100.374670 7213663.623758 line : 13500 10970.400163 78.896429 89.401314 7213394.605865 line : 13600 10970.400742 80.266525 74.799249 7213181.073946 line : 13700 10970.401320 80.878935 57.001736 7213023.807124 could not read line 13720 writing header for file 0 goint into getcorrectsdsvals year: 2011 day: 13 miilsecs: 28075078 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 going into makeheader with taos: 10970.324943 satid: 16 nlines: 1959 IN MAKEHEADER going into first make1btime in make1btime taos: 10970.324943 millsec: 28075078 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 after first make1btime in make1btime taos: 10970.328722 millsec: 28401578 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 DONE WITH MAKEHEADER writing header for file 1 goint into getcorrectsdsvals year: 2011 day: 13 miilsecs: 34195078 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 going into makeheader with taos: 10970.395776 satid: 16 nlines: 981 IN MAKEHEADER going into first make1btime in make1btime taos: 10970.395776 millsec: 34195078 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 after first make1btime in make1btime taos: 10970.397669 millsec: 34358578 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 DONE WITH MAKEHEADER writing header for file 2 goint into getcorrectsdsvals year: 2011 day: 13 miilsecs: 31132078 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 going into makeheader with taos: 10970.360325 satid: 16 nlines: 1967 IN MAKEHEADER going into first make1btime in make1btime taos: 10970.360325 millsec: 31132078 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 after first make1btime in make1btime taos: 10970.364119 millsec: 31459911 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 DONE WITH MAKEHEADER ***** Running navigation/calibration at Fri Jan 14 02:17:59 CST 2011 ***** Working on year and julian day (yyddd): 11013 (2011 Jan 13) no H option specified TBMFLAG: compval: 0 reading input header input header has been read satid from header : 2 XX satid: 16 getting time from firstline getting time in gettime in: 7 db 0 d 0 6b 1 db 9 ae year: 2011 day: 13 ymd year: 2011 ymd yeardif: 30 after getheader done with 1967 lines header count: 0 actual: 1967 header will be rewritten output header follows: satid: 16 orbnum: 0 nlines: 1967 julday: 10970 taos: 31132078 NEW PROCESSGENERICGAC year: 2011 input file is : tmp output file is : tmp.p new processraw opening raw file: tmp opening archive file and writing header to tmp.p header written to newdataset dumsat: 3 satid from first line is: 16 year before julianday call: 2011 firstline curday: 13 julian: 10970 time: 31132078 linein: 0 curtime: 31132578 lasttime: 31132078 lastgood: 31132078 timdif: 500 linein: 100 curtime: 31182578 lasttime: 31182078 lastgood: 31182078 timdif: 500 linein: 200 curtime: 31232578 lasttime: 31232078 lastgood: 31232078 timdif: 500 linein: 300 curtime: 31282578 lasttime: 31282078 lastgood: 31282078 timdif: 500 linein: 400 curtime: 31332578 lasttime: 31332078 lastgood: 31332078 timdif: 500 linein: 500 curtime: 31382578 lasttime: 31382078 lastgood: 31382078 timdif: 500 linein: 600 curtime: 31432578 lasttime: 31432078 lastgood: 31432078 timdif: 500 linein: 700 curtime: 31482578 lasttime: 31482078 lastgood: 31482078 timdif: 500 linein: 800 curtime: 31532578 lasttime: 31532078 lastgood: 31532078 timdif: 500 linein: 900 curtime: 31582578 lasttime: 31582078 lastgood: 31582078 timdif: 500 linein: 1000 curtime: 31632578 lasttime: 31632078 lastgood: 31632078 timdif: 500 linein: 1100 curtime: 31682578 lasttime: 31682078 lastgood: 31682078 timdif: 500 linein: 1200 curtime: 31732578 lasttime: 31732078 lastgood: 31732078 timdif: 500 linein: 1300 curtime: 31782578 lasttime: 31782078 lastgood: 31782078 timdif: 500 linein: 1400 curtime: 31832578 lasttime: 31832078 lastgood: 31832078 timdif: 500 linein: 1500 curtime: 31882578 lasttime: 31882078 lastgood: 31882078 timdif: 500 linein: 1600 curtime: 31932578 lasttime: 31932078 lastgood: 31932078 timdif: 500 linein: 1700 curtime: 31982578 lasttime: 31982078 lastgood: 31982078 timdif: 500 linein: 1800 curtime: 32032578 lasttime: 32032078 lastgood: 32032078 timdif: 500 linein: 1900 curtime: 32082578 lasttime: 32082078 lastgood: 32082078 timdif: 500 could not read line bytes read: 0 error reading line: 1966 archive corect to here will rewrite header correctly cleaning up archive file new header being written as: satid: 16 orbit number: 0 dum: 0 number of lines: 1967 julian day: 10970d time of first scan: 8.647799 processing GAC data satid: 16 orbit number: 0 dum: 0 number of lines: 1967 julian day: 10970d time of first scan: 8.647799 Seasonal correction for julian date 10970.360325 = 0.967323 flag is : S 11/01/13 00:00:00110113000000 year: 11 month: 1 day: 13 dayofyear: 13 file containing coefficients is COEFFS.16 calling openparm16 before sprintf parmfilename: /Users/jkey/nav/cal/calib16.dat i: 0 nu: 2226.179930 i: 1 nu: 782.472410 i: 2 nu: 714.285640 chan: 0 nuc: 2700.114800 A: 1.592459 B: 0.998147 chan: 1 nuc: 917.228900 A: 0.332380 B: 0.998522 chan: 2 nuc: 838.125500 A: 0.674623 B: 0.998363 i: 0 wave:0.000000 i: 1 wave:0.000000 i: 2 wave:2700.114800 i: 3 wave:917.228900 i: 4 wave:838.125500 before look for Z after look for Z about to leave openparm newflag is 1: 1 about to open: tmp.p headstuff: sat: 16 orb: 0 julianday: 10970 taos: 31132078 length of headstuff: 57 headstuff: sat: 16 orb: 0 julianday: 10970 taos: 31132078 0.000 0.000 2700.1148 917.2289 838.1255 length of headstuff: 106 ************** results of initial calibration ******** from header firstday is : 13 arcsize: 5626 in sequence numlines: 1 day: 13 val: 412 arcsize: 5626 in sequence numlines: 2 day: 13 val: 407 arcsize: 5626 in sequence numlines: 3 day: 13 val: 413 arcsize: 5626 in sequence numlines: 4 day: 13 val: 418 arcsize: 5626 in sequence numlines: 5 day: 13 val: 0 realline before: 5 spaceref: 0.000000 targtemp: 297.785474 space rad: 0.000000 -4.500000 -3.610000 average space counts: 990.400000 991.300000 994.220000 average internal counts: 784.140000 389.300000 372.760000 satid: 16 launch_indx: -1 chan: 3 radspace: 0.000000 radtarget: 0.529754 spacebar:990.400000 internalbar: 784.140000 chan: 3 radspace: 0.000000 radtarget: 0.529754 spacebar:990.400000 internalbar: 784.140000 gain: -0.002568 offset: 2.543725 chan: 4 radspace: -4.500000 radtarget: 110.459614 spacebar:991.300000 internalbar: 389.300000 chan: 4 radspace: -4.500000 radtarget: 110.459614 spacebar:991.300000 internalbar: 389.300000 gain: -0.190963 offset: 184.801437 chan: 5 radspace: -3.610000 radtarget: 124.724615 spacebar:994.220000 internalbar: 372.760000 chan: 5 radspace: -3.610000 radtarget: 124.724615 spacebar:994.220000 internalbar: 372.760000 gain: -0.206505 offset: 201.701431 gain after: 0.054944 gain after: 0.054944 gain and offset up to scan line 55 : 0.054944 -2.115923 0.057652 -2.330863 -0.002568 2.543725 -0.190963 184.801437 -0.206505 201.701431 ************************************************************ trouble reading line in main DONE WITH CALIBRATION there were 1967 lines done THIS IS ACTUALLY rawcal15_new AS IT SHOULD BE CALIBRATION FILE: COEFFS.16 RADFLAG: 1 calib_dir: /Users/jkey/nav/cal name of caldatfile is: /Users/jkey/nav/cal/calibnew16.dat have found CENTRAL WAVE in string CENTRAL WAVE NUMBER TABLE 190.000000 230.000000 2638.652000 928.260300 834.449600 230.000000 270.000000 2642.807000 928.828400 834.806600 270.000000 310.000000 2645.899000 929.332300 835.164700 have found SPLIT CAL in string SPLIT CAL TABLE SPLIT GAINS and OFFSETS CHAN 1 count 0-490 gain: 0.052300 offset: -2.016000 CHAN 1 count 491-1023 gain: 0.152800 offset: -51.910000 CHAN 2 count 0-500 gain: 0.051300 offset: -1.943000 CHAN 2 count 501-1023 gain: 0.151000 offset: -51.770000 CHAN 3 count 0-499 gain: 0.028700 offset: -2.043000 CHAN 3 count 500-1023 gain: 0.180600 offset: -78.030000 WE ARE GOING NON LINEAR name of caldatfile is: /Users/jkey/nav/cal/calibnew16.dat have found NON LINEAR in string ABOUT TO READ NON LINEAR MATRIX have READ NON LINEAR MATRIX DONE WITH NON LINEAR STUFF have found NEW COEFFS in string ABOUT TO READ NEW COEFFS i: 0 NUC: 2700.114800 Anew: 1.592459 Bnew: 0.998147 NS: 0.000000 B0: 0.000000 B1: 0.000000 B2: 0.000000 i: 1 NUC: 917.228900 Anew: 0.332380 Bnew: 0.998522 NS: -2.467000 B0: 2.960000 B1: -0.054110 B2: 0.000245 i: 2 NUC: 838.125500 Anew: 0.674623 Bnew: 0.998363 NS: -2.009000 B0: 2.225000 B1: -0.036650 B2: 0.000149 DONE WITH NEW COEFFS calhead: sat: 16 orb: 0 julianday: 10970 taos: 31132078 0.000 0.000 2700.1148 917.2289 838.1255 I"/Users/jkey/nav/cal/calibnew16.dat calhead: 0.000 0.000 2700.1148 917.2289 838.1255 I"/Users/jkey/nav/cal/calibnew16.dat wavecent: 0.000000 0.000000 2700.114800 917.228900 838.125500 INVWAVE: 0.000000 size of cal file is: 208714 have read in cal array number of lines 1967 doing raw line: 0 doing raw line: 500 doing raw line: 1000 doing raw line: 1500 TIME calculation WAS REQUESTED SZA calculation WAS REQUESTED LINE and SAMPLE DATA WAS REQUESTED OSCULATING CORRECTIONS WILL BE APPLIED dashv: temp: strlen: 0 dashH: n strlen: 1 AFTER GET OPTIONS GAC DATA OPTION HAS BEEN CHOOSEN AFTER INIT input file has been opened, fp: 1883758400 after openarc fp: 1883758400 sid: 16d orbnum: 0d numscan: 1967d milday: 31132078d *** data header *** satid: 16 orbit number: 0 number of lines: 1967 julian day: 10970 time of first scan: 8.647799 ******************** AFTER INITDATA julday: 10970 taos: 31132078 TIME OF FIRST SCAN : 11/01/13 08:38:52 looking for ephemeris data for taos: 10970.360325 opening ephemeris after opening ephemeris size: 76 *******ephemeris elements ************ satid: 26536 orbit: 65195 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 ecc: 0.001062 argper: 0.364140 ascnode: 0.799605 inclin: 0.275446 ephoc: 110105000000 **************************** ******ephemnot structure follows*******: satid: 26536 orbit: 65195 size: 76 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 eccen: 0.001062 argper: 0.364140 ascenode: 0.799605 inclin: 0.275446 earadius: 6378137.000000 oblat: 0.001083 ***************************************************************** *********epheminit structure follows******* timnot: 10962.000000 smajaxis: 1.132905 decay: -0.000000 eccen: 0.001062 inclin: 1.730681 argper: 2.287962 perrate: -0.000551 longan: 5.024068 nodrate: 0.000201 ,meananom: 1.717550 meanmot: 0.828813 meanmotrate: 0.000000 grav constant: 398598005011040.375000 ***************************************************************** satlat1: -1.046025 satlat2: -1.071155 asnflag: -1 DATA IS DESCENDING **************** INITAILIZATION OVER ****************** dashr: 72.363 RANGE0: 72.363000 IN SATGEO line: 0 spot: 204 time: 10970.360325 IN SATGEO line: 5 spot: 204 time: 10970.360354 RANGE: 72.363000 Pass is Descending at start center lat: -89.999943 center lon: 180.000000 range: 72.363000 images will be processed using chunks of 321 lines getting space for 10 bit image image.proj: 8 fpsza: 7047dfd8 fpsaza: 7047e070 opening 135324363.NSS.GHRR.NL.D11013.S0743.E0938.B5315051.WI.S.1 OPENING chan: 0 fp: 1883759312 opening 135324363.NSS.GHRR.NL.D11013.S0743.E0938.B5315051.WI.S.2 OPENING chan: 1 fp: 1883759464 opening 135324363.NSS.GHRR.NL.D11013.S0743.E0938.B5315051.WI.S.3 OPENING chan: 2 fp: 1883759616 opening 135324363.NSS.GHRR.NL.D11013.S0743.E0938.B5315051.WI.S.4 OPENING chan: 3 fp: 1883759768 opening 135324363.NSS.GHRR.NL.D11013.S0743.E0938.B5315051.WI.S.5 OPENING chan: 4 fp: 1883759920 getting space for time array getting space for sza array getting space for saza array getting space for satelv array getting space for sataz array ************************************* total bytes malloced is : 3453394 ************************************* ******** current elements follow******** taos: 10970.360325 time: 10970.360325 smajaxis: 7225816.990217 eccentricity: 0.001062 inclin: 1.730734 argper: 1.878868 longan: -3.517965 meananom: 2.329975 trueanom: 2.331515 altitude: 7231117.121082 ********************************************** satpos: 2861984.153205 -2218883.147323 -6271247.369393 satvel: -6248.991418 1859.446153 -3518.054359 satlat: -59.995382 satlon: -37.786257 COMMAND>DASHD: n INTERPOLATION CHOOSEN , every 8 x pixel and every 8 ypixel going through pixels **** before templat: -36.957736 centtodet: -37.142800 CORNERS OF WHOLE IMAGE FOLLOW North West Corner lat: -37.142800 lon: -45.000061 North East Corner lat: -37.320927 lon: 44.821012 South East Corner lat: -37.499365 lon: 135.000061 South West Corner lat: -37.320826 lon: 225.178988 interpolation choosen every 8 i pixels and every 8 j pixels image will be processed in 1 chunks of 321 image lines segment 0 startj: 0 stopj: 321 starti: 0 stopi: 320 numj: 321 north west----- lat: -36.957736 lon: -45.000061 line: -999 spot: 335 north east----- lat: -37.135539 lon: 44.821012 line: -999 spot: -999 south east-----lat: -37.135438 lon: 135.179109 line: -999 spot: -999 south west-----lat: -36.957635 lon: 224.999939 line: -999 spot: -999 doing chunk number: 0 from line: 0 to line: 320 numcelx: 40 numcely: 40 extrai: 0 extraj: 0 ****minline: 0 maxline: 1963 in data aquisiton maxline: 1963 minline: 0 in data aquistion module image is contained within lines : 1 and 1963 data will be processed using 20 chunks of 100 lines in get10 searching data lines 1 to 101 for image lines 0 to 321 in get10 searching data lines 101 to 201 for image lines 0 to 321 in get10 searching data lines 201 to 301 for image lines 0 to 321 in get10 searching data lines 301 to 401 for image lines 0 to 321 in get10 searching data lines 401 to 501 for image lines 0 to 321 in get10 searching data lines 501 to 601 for image lines 0 to 321 in get10 searching data lines 601 to 701 for image lines 0 to 321 in get10 searching data lines 701 to 801 for image lines 0 to 321 in get10 searching data lines 801 to 901 for image lines 0 to 321 in get10 searching data lines 901 to 1001 for image lines 0 to 321 in get10 searching data lines 1001 to 1101 for image lines 0 to 321 in get10 searching data lines 1101 to 1201 for image lines 0 to 321 in get10 searching data lines 1201 to 1301 for image lines 0 to 321 in get10 searching data lines 1301 to 1401 for image lines 0 to 321 in get10 searching data lines 1401 to 1501 for image lines 0 to 321 in get10 searching data lines 1501 to 1601 for image lines 0 to 321 in get10 searching data lines 1601 to 1701 for image lines 0 to 321 in get10 searching data lines 1701 to 1801 for image lines 0 to 321 in get10 searching data lines 1801 to 1901 for image lines 0 to 321 done processing 1967 lines in get10 searching data lines 1901 to 2001 for image lines 0 to 321 dumping SZA array in dumpother j1: 0 j2: 321 ysize: 321 fpother: 1883758552 writing other type image in dumpother j1: 0 j2: 321 ysize: 321 fpother: 1883758704 writing other type image *************** dashY: y dumping ELEV array in dumpother j1: 0 j2: 321 ysize: 321 fpother: 1883759160 writing other type image dumping AZIM array in dumpother j1: 0 j2: 321 ysize: 321 fpother: 1883759008 writing other type image constructing TIME array in puttime j1: 0 j2: 321 ysize: 321 dumping TIME array in dumpother j1: 0 j2: 321 ysize: 321 fpother: 1883758856 writing other type image nchan: 5 dumping ch: 0 fp: 1883759312 about to dump image number: 0 channel: 1 xsize: 321 ysize: 321 IN WRITEIMAGE chan: 0 fp: 1883759312 DOne with dumpimage fp: 1883759312 have dumped ch: 0 fp: 1883759312 dumping ch: 1 fp: 1883759464 about to dump image number: 1 channel: 2 xsize: 321 ysize: 321 IN WRITEIMAGE chan: 1 fp: 1883759464 DOne with dumpimage fp: 1883759464 have dumped ch: 1 fp: 1883759464 dumping ch: 2 fp: 1883759616 about to dump image number: 2 channel: 3 xsize: 321 ysize: 321 IN WRITEIMAGE chan: 2 fp: 1883759616 DOne with dumpimage fp: 1883759616 have dumped ch: 2 fp: 1883759616 dumping ch: 3 fp: 1883759768 about to dump image number: 3 channel: 4 xsize: 321 ysize: 321 IN WRITEIMAGE chan: 3 fp: 1883759768 DOne with dumpimage fp: 1883759768 have dumped ch: 3 fp: 1883759768 dumping ch: 4 fp: 1883759920 about to dump image number: 4 channel: 5 xsize: 321 ysize: 321 IN WRITEIMAGE chan: 4 fp: 1883759920 DOne with dumpimage fp: 1883759920 have dumped ch: 4 fp: 1883759920 About to write headers fp: 1883759768 done with navigation--retrieving data ***** Running polar regions subsetting at Fri Jan 14 02:18:00 CST 2011 ***** Working on year and julian day (yyddd): 11013 (2011 Jan 13) command line args: ephemfile: /Users/jkey/nav/ephemeris northlimit: 60.000000 southlimit: -60.000000 data is type: G sds-type is: H region is: O SDS GAC data selected. year: 2011 day: 13 miilsecs: 34372078 before md doy: 13 year: 2011 **julianday: 10970 year: 2011 day: 13 miilsecs: 34372078 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 year: 2011 day: 13 miilsecs: 34372578 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 year: 2011 day: 13 miilsecs: 34373078 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 taos: 34372078 satid: 16 julian day: 10970 nlines: 13729 GOING INTO initorb4 satnum: 16 navsatid: 26536 calling readephem taos: 10970.397825 opening ephemeris after opening ephemeris size: 76 *******ephemeris elements ************ satid: 26536 orbit: 65195 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 ecc: 0.001062 argper: 0.364140 ascnode: 0.799605 inclin: 0.275446 ephoc: 110105000000 **************************** ******ephemnot structure follows*******: satid: 26536 orbit: 65195 size: 76 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 eccen: 0.001062 argper: 0.364140 ascenode: 0.799605 inclin: 0.275446 earadius: 6378137.000000 oblat: 0.001083 ***************************************************************** YEAR HERE: 11 *********epheminit structure follows******* timnot: 10962.000000 smajaxis: 1.132905 decay: -0.000000 eccen: 0.001062 inclin: 1.730681 argper: 2.287962 perrate: -0.000551 longan: 5.024068 nodrate: 0.000201 ,meananom: 1.717550 meanmot: 0.828813 meanmotrate: 0.000000 grav constant: 398598005011040.375000 ***************************************************************** ******** current elements follow******** taos: 10970.397825 time: 10970.397825 smajaxis: 7225816.969943 eccentricity: 0.001062 inclin: 1.730681 argper: 1.877033 longan: -3.753476 meananom: 747.074192 trueanom: 747.072948 altitude: 7219596.536014 ********************************************** ******** current elements follow******** taos: 10970.397825 time: 10970.397825 smajaxis: 7225816.969943 eccentricity: 0.001062 inclin: 1.730681 argper: 1.877033 longan: -3.753476 meananom: 747.074192 trueanom: 747.072948 altitude: 7219596.536014 ********************************************** SPECIFIC DATA: bytesperline: 4608 scanspersec: 2.000000 line : 0 10970.397825 69.705129 119.306500 7214809.978527 Opening data.NORTH1 and writing header line: 0 line : 100 10970.398404 72.264307 114.711142 7214379.805965 line : 200 10970.398982 74.694017 108.734268 7214001.128818 line : 300 10970.399561 76.922515 100.747296 7213675.521510 line : 400 10970.400140 78.829300 89.906714 7213404.304785 line : 500 10970.400718 80.224735 75.454163 7213188.537251 line : 600 10970.401297 80.871514 57.748439 7213029.008880 line : 700 10970.401876 80.613647 39.296675 7212926.236525 line : 800 10970.402455 79.517551 23.253073 7212880.461486 line : 900 10970.403033 77.806952 10.888917 7212891.649155 line : 1000 10970.403612 75.700336 1.762266 7212959.490728 line : 1100 10970.404191 73.346890 -5.004970 7213083.406966 line : 1200 10970.404769 70.836874 -10.143625 7213262.553968 line : 1300 10970.405348 68.223877 -14.159219 7213495.830896 line : 1400 10970.405927 65.540392 -17.385962 7213781.889557 line : 1500 10970.406506 62.806796 -20.045158 7214119.145770 line : 1600 10970.407084 60.036329 -22.286042 7214505.792385 line : 1700 10970.407663 57.237891 -24.211627 7214939.813828 line : 1800 10970.408242 54.417655 -25.894762 7215419.002034 line : 1900 10970.408820 51.580022 -27.388157 7215940.973601 line : 2000 10970.409399 48.728215 -28.730780 7216503.188012 line : 2100 10970.409978 45.864653 -29.952006 7217102.966733 line : 2200 10970.410556 42.991194 -31.074382 7217737.513008 line : 2300 10970.411135 40.109300 -32.115504 7218403.932166 line : 2400 10970.411714 37.220148 -33.089312 7219099.252245 line : 2500 10970.412293 34.324708 -34.007015 7219820.444732 line : 2600 10970.412871 31.423797 -34.877747 7220564.445240 line : 2700 10970.413450 28.518123 -35.709051 7221328.173910 line : 2800 10970.414029 25.608309 -36.507240 7222108.555381 line : 2900 10970.414607 22.694919 -37.277664 7222902.538122 line : 3000 10970.415186 19.778469 -38.024919 7223707.112974 line : 3100 10970.415765 16.859445 -38.753009 7224519.330728 line : 3200 10970.416343 13.938304 -39.465473 7225336.318610 line : 3300 10970.416922 11.015489 -40.165488 7226155.295516 line : 3400 10970.417501 8.091428 -40.855954 7226973.585895 line : 3500 10970.418080 5.166540 -41.539563 7227788.632162 line : 3600 10970.418658 2.241237 -42.218864 7228598.005570 line : 3700 10970.419237 -0.684072 -42.896313 7229399.415453 line : 3800 10970.419816 -3.608982 -43.574330 7230190.716801 line : 3900 10970.420394 -6.533088 -44.255346 7230969.916127 line : 4000 10970.420973 -9.455983 -44.941850 7231735.175620 line : 4100 10970.421552 -12.377257 -45.636448 7232484.815570 line : 4200 10970.422131 -15.296497 -46.341913 7233217.315115 line : 4300 10970.422709 -18.213277 -47.061255 7233931.311318 line : 4400 10970.423288 -21.127162 -47.797798 7234625.596657 line : 4500 10970.423867 -24.037694 -48.555267 7235299.114990 line : 4600 10970.424445 -26.944393 -49.337903 7235950.956088 line : 4700 10970.425024 -29.846740 -50.150604 7236580.348833 line : 4800 10970.425603 -32.744168 -50.999102 7237186.653210 line : 4900 10970.426181 -35.636039 -51.890194 7237769.351207 line : 5000 10970.426760 -38.521628 -52.832045 7238328.036777 line : 5100 10970.427339 -41.400082 -53.834594 7238862.404996 line : 5200 10970.427918 -44.270377 -54.910098 7239372.240577 line : 5300 10970.428496 -47.131258 -56.073886 7239857.405903 line : 5400 10970.429075 -49.981142 -57.345414 7240317.828733 line : 5500 10970.429654 -52.817997 -58.749761 7240753.489754 line : 5600 10970.430232 -55.639144 -60.319815 7241164.410135 line : 5700 10970.430811 -58.440972 -62.099499 7241550.639259 Opening data.SOUTH1 and writing header line: 5757 line : 5800 10970.431390 -61.218492 -64.148676 7241912.242771 line : 5900 10970.431968 -63.964625 -66.550727 7242249.291113 line : 6000 10970.432547 -66.669034 -69.424528 7242561.848690 line : 6100 10970.433126 -69.316137 -72.943620 7242849.963790 line : 6200 10970.433705 -71.881625 -77.366864 7243113.659407 line : 6300 10970.434283 -74.326226 -83.085326 7243352.925069 line : 6400 10970.434862 -76.584556 -90.682253 7243567.709776 line : 6500 10970.435441 -78.546737 -100.957056 7243757.916143 line : 6600 10970.436019 -80.036991 -114.705937 7243923.395828 line : 6700 10970.436598 -80.823034 -131.845425 7244063.946287 line : 6800 10970.437177 -80.724394 -150.262368 7244179.308928 line : 6900 10970.437756 -79.766677 -166.769705 7244269.168661 line : 7000 10970.438334 -78.156339 -179.723699 7244333.154888 line : 7100 10970.438913 -76.118386 170.655558 7244370.843903 line : 7200 10970.439492 -73.813147 163.525645 7244381.762687 line : 7300 10970.440070 -71.338969 158.129105 7244365.394071 line : 7400 10970.440649 -68.754304 153.929080 7244321.183196 line : 7500 10970.441228 -66.094454 150.567944 7244248.545213 line : 7600 10970.441806 -63.381431 147.808638 7244146.874128 line : 7700 10970.442385 -60.629451 145.491562 7244015.552707 line : 7800 10970.442964 -57.848010 143.506837 7243853.963313 line : 7900 10970.443543 -55.043653 141.776995 7243661.499568 line : 8000 10970.444121 -52.221017 140.246149 7243437.578696 line : 8100 10970.444700 -49.383474 138.873108 7243181.654406 line : 8200 10970.445279 -46.533537 137.626904 7242893.230170 line : 8300 10970.445857 -43.673123 136.483830 7242571.872732 line : 8400 10970.446436 -40.803726 135.425433 7242217.225689 line : 8500 10970.447015 -37.926538 134.437125 7241829.022990 line : 8600 10970.447593 -35.042533 133.507208 7241407.102169 line : 8700 10970.448172 -32.152526 132.626168 7240951.417166 line : 8800 10970.448751 -29.257212 131.786168 7240462.050565 line : 8900 10970.449330 -26.357203 130.980664 7239939.225085 line : 9000 10970.449908 -23.453044 130.204126 7239383.314196 line : 9100 10970.450487 -20.545236 129.451813 7238794.851680 line : 9200 10970.451066 -17.634243 128.719608 7238174.540031 line : 9300 10970.451644 -14.720507 128.003885 7237523.257558 line : 9400 10970.452223 -11.804450 127.301400 7236842.064070 line : 9500 10970.452802 -8.886484 126.609202 7236132.205060 line : 9600 10970.453381 -5.967011 125.924563 7235395.114281 line : 9700 10970.453959 -3.046429 125.244915 7234632.414671 line : 9800 10970.454538 -0.125132 124.567790 7233845.917541 line : 9900 10970.455117 2.796486 123.890771 7233037.620015 line : 10000 10970.455695 5.718030 123.211443 7232209.700695 line : 10100 10970.456274 8.639103 122.527344 7231364.513541 line : 10200 10970.456853 11.559302 121.835910 7230504.579995 line : 10300 10970.457431 14.478219 121.134423 7229632.579378 line : 10400 10970.458010 17.395433 120.419947 7228751.337614 line : 10500 10970.458589 20.310512 119.689255 7227863.814355 line : 10600 10970.459168 23.223003 118.938742 7226973.088588 line : 10700 10970.459746 26.132427 118.164316 7226082.342840 line : 10800 10970.460325 29.038270 117.361271 7225194.846085 line : 10900 10970.460904 31.939969 116.524115 7224313.935509 line : 11000 10970.461482 34.836898 115.646354 7223442.997253 line : 11100 10970.462061 37.728342 114.720210 7222585.446327 line : 11200 10970.462640 40.613469 113.736243 7221744.705829 line : 11300 10970.463218 43.491288 112.682843 7220924.185681 line : 11400 10970.463797 46.360587 111.545537 7220127.261035 line : 11500 10970.464376 49.219856 110.306011 7219357.250571 line : 11600 10970.464955 52.067161 108.940734 7218617.394855 line : 11700 10970.465533 54.899977 107.418960 7217910.834962 line : 11800 10970.466112 57.714920 105.699777 7217240.591557 Opening data.NORTH2 and writing header line: 11882 line : 11900 10970.466691 60.507348 103.727651 7216609.544629 line : 12000 10970.467269 63.270722 101.425548 7216020.414050 line : 12100 10970.467848 65.995557 98.684101 7215475.741154 line : 12200 10970.468427 68.667670 95.344239 7214977.871491 line : 12300 10970.469006 71.265100 91.169224 7214528.938934 line : 12400 10970.469584 73.752618 85.800863 7214130.851264 line : 12500 10970.470163 76.071838 78.698956 7213785.277387 line : 12600 10970.470742 78.124348 69.095421 7213493.636292 line : 12700 10970.471320 79.749187 56.122909 7213257.087849 line : 12800 10970.471899 80.719319 39.527360 7213076.525535 line : 12900 10970.472478 80.824818 20.958586 7212952.571164 line : 13000 10970.473056 80.038118 3.677357 7212885.571645 line : 13100 10970.473635 78.541305 -10.152058 7212875.597815 line : 13200 10970.474214 76.569405 -20.456260 7212922.445346 line : 13300 10970.474793 74.300011 -28.056022 7213025.637710 line : 13400 10970.475371 71.843882 -33.766381 7213184.431174 line : 13500 10970.475950 69.266799 -38.177968 7213397.821774 line : 13600 10970.476529 66.608217 -41.684954 7213664.554180 line : 13700 10970.477107 63.892534 -44.547392 7213983.132385 could not read line 13726 writing header for file 0 goint into getcorrectsdsvals year: 2011 day: 13 miilsecs: 34372078 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 going into makeheader with taos: 10970.397825 satid: 16 nlines: 1605 IN MAKEHEADER going into first make1btime in make1btime taos: 10970.397825 millsec: 34372078 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 after first make1btime in make1btime taos: 10970.400921 millsec: 34639578 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 DONE WITH MAKEHEADER writing header for file 1 goint into getcorrectsdsvals year: 2011 day: 13 miilsecs: 40314578 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 going into makeheader with taos: 10970.466604 satid: 16 nlines: 1844 IN MAKEHEADER going into first make1btime in make1btime taos: 10970.466604 millsec: 40314578 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 after first make1btime in make1btime taos: 10970.470161 millsec: 40621911 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 DONE WITH MAKEHEADER writing header for file 2 goint into getcorrectsdsvals year: 2011 day: 13 miilsecs: 37252078 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 going into makeheader with taos: 10970.431158 satid: 16 nlines: 1966 IN MAKEHEADER going into first make1btime in make1btime taos: 10970.431158 millsec: 37252078 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 after first make1btime in make1btime taos: 10970.434951 millsec: 37579745 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 DONE WITH MAKEHEADER ***** Running navigation/calibration at Fri Jan 14 02:18:00 CST 2011 ***** Working on year and julian day (yyddd): 11013 (2011 Jan 13) no H option specified TBMFLAG: compval: 0 reading input header input header has been read satid from header : 2 XX satid: 16 getting time from firstline getting time in gettime in: 7 db 0 d 0 6b 2 c 79 ee year: 2011 day: 13 ymd year: 2011 ymd yeardif: 30 after getheader done with 1605 lines header count: 0 actual: 1605 header will be rewritten output header follows: satid: 16 orbnum: 0 nlines: 1605 julday: 10970 taos: 34372078 NEW PROCESSGENERICGAC year: 2011 input file is : tmp output file is : tmp.p new processraw opening raw file: tmp opening archive file and writing header to tmp.p header written to newdataset dumsat: 3 satid from first line is: 16 year before julianday call: 2011 firstline curday: 13 julian: 10970 time: 34372078 linein: 0 curtime: 34372578 lasttime: 34372078 lastgood: 34372078 timdif: 500 linein: 100 curtime: 34422578 lasttime: 34422078 lastgood: 34422078 timdif: 500 linein: 200 curtime: 34472578 lasttime: 34472078 lastgood: 34472078 timdif: 500 linein: 300 curtime: 34522578 lasttime: 34522078 lastgood: 34522078 timdif: 500 linein: 400 curtime: 34572578 lasttime: 34572078 lastgood: 34572078 timdif: 500 linein: 500 curtime: 34622578 lasttime: 34622078 lastgood: 34622078 timdif: 500 linein: 600 curtime: 34672578 lasttime: 34672078 lastgood: 34672078 timdif: 500 linein: 700 curtime: 34722578 lasttime: 34722078 lastgood: 34722078 timdif: 500 linein: 800 curtime: 34772578 lasttime: 34772078 lastgood: 34772078 timdif: 500 linein: 900 curtime: 34822578 lasttime: 34822078 lastgood: 34822078 timdif: 500 linein: 1000 curtime: 34872578 lasttime: 34872078 lastgood: 34872078 timdif: 500 linein: 1100 curtime: 34922578 lasttime: 34922078 lastgood: 34922078 timdif: 500 linein: 1200 curtime: 34972578 lasttime: 34972078 lastgood: 34972078 timdif: 500 linein: 1300 curtime: 35022578 lasttime: 35022078 lastgood: 35022078 timdif: 500 linein: 1400 curtime: 35072578 lasttime: 35072078 lastgood: 35072078 timdif: 500 linein: 1500 curtime: 35122578 lasttime: 35122078 lastgood: 35122078 timdif: 500 linein: 1600 curtime: 35172578 lasttime: 35172078 lastgood: 35172078 timdif: 500 could not read line bytes read: 0 error reading line: 1604 archive corect to here will rewrite header correctly cleaning up archive file new header being written as: satid: 16 orbit number: 0 dum: 0 number of lines: 1605 julian day: 10970d time of first scan: 9.547800 processing GAC data satid: 16 orbit number: 0 dum: 0 number of lines: 1605 julian day: 10970d time of first scan: 9.547800 Seasonal correction for julian date 10970.397825 = 0.967327 flag is : S 11/01/13 00:00:00110113000000 year: 11 month: 1 day: 13 dayofyear: 13 file containing coefficients is COEFFS.16 calling openparm16 before sprintf parmfilename: /Users/jkey/nav/cal/calib16.dat i: 0 nu: 2226.179930 i: 1 nu: 782.472410 i: 2 nu: 714.285640 chan: 0 nuc: 2700.114800 A: 1.592459 B: 0.998147 chan: 1 nuc: 917.228900 A: 0.332380 B: 0.998522 chan: 2 nuc: 838.125500 A: 0.674623 B: 0.998363 i: 0 wave:0.000000 i: 1 wave:0.000000 i: 2 wave:2700.114800 i: 3 wave:917.228900 i: 4 wave:838.125500 before look for Z after look for Z about to leave openparm newflag is 1: 1 about to open: tmp.p headstuff: sat: 16 orb: 0 julianday: 10970 taos: 34372078 length of headstuff: 57 headstuff: sat: 16 orb: 0 julianday: 10970 taos: 34372078 0.000 0.000 2700.1148 917.2289 838.1255 length of headstuff: 106 ************** results of initial calibration ******** from header firstday is : 13 arcsize: 5626 in sequence numlines: 1 day: 13 val: 389 arcsize: 5626 in sequence numlines: 2 day: 13 val: 384 arcsize: 5626 in sequence numlines: 3 day: 13 val: 386 arcsize: 5626 in sequence numlines: 4 day: 13 val: 390 arcsize: 5626 in sequence numlines: 5 day: 13 val: 0 realline before: 5 spaceref: 0.000000 targtemp: 296.475653 space rad: 0.000000 -4.500000 -3.610000 average space counts: 990.280000 991.260000 994.380000 average internal counts: 795.740000 398.840000 383.020000 satid: 16 launch_indx: -1 chan: 3 radspace: 0.000000 radtarget: 0.500339 spacebar:990.280000 internalbar: 795.740000 chan: 3 radspace: 0.000000 radtarget: 0.500339 spacebar:990.280000 internalbar: 795.740000 gain: -0.002572 offset: 2.546908 chan: 4 radspace: -4.500000 radtarget: 108.294359 spacebar:991.260000 internalbar: 398.840000 chan: 4 radspace: -4.500000 radtarget: 108.294359 spacebar:991.260000 internalbar: 398.840000 gain: -0.190396 offset: 184.231873 chan: 5 radspace: -3.610000 radtarget: 122.480917 spacebar:994.380000 internalbar: 383.020000 chan: 5 radspace: -3.610000 radtarget: 122.480917 spacebar:994.380000 internalbar: 383.020000 gain: -0.206247 offset: 201.477493 gain after: 0.054944 gain after: 0.054944 gain and offset up to scan line 55 : 0.054944 -2.115931 0.057653 -2.330871 -0.002572 2.546908 -0.190396 184.231873 -0.206247 201.477493 ************************************************************ trouble reading line in main DONE WITH CALIBRATION there were 1605 lines done THIS IS ACTUALLY rawcal15_new AS IT SHOULD BE CALIBRATION FILE: COEFFS.16 RADFLAG: 1 calib_dir: /Users/jkey/nav/cal name of caldatfile is: /Users/jkey/nav/cal/calibnew16.dat have found CENTRAL WAVE in string CENTRAL WAVE NUMBER TABLE 190.000000 230.000000 2638.652000 928.260300 834.449600 230.000000 270.000000 2642.807000 928.828400 834.806600 270.000000 310.000000 2645.899000 929.332300 835.164700 have found SPLIT CAL in string SPLIT CAL TABLE SPLIT GAINS and OFFSETS CHAN 1 count 0-490 gain: 0.052300 offset: -2.016000 CHAN 1 count 491-1023 gain: 0.152800 offset: -51.910000 CHAN 2 count 0-500 gain: 0.051300 offset: -1.943000 CHAN 2 count 501-1023 gain: 0.151000 offset: -51.770000 CHAN 3 count 0-499 gain: 0.028700 offset: -2.043000 CHAN 3 count 500-1023 gain: 0.180600 offset: -78.030000 WE ARE GOING NON LINEAR name of caldatfile is: /Users/jkey/nav/cal/calibnew16.dat have found NON LINEAR in string ABOUT TO READ NON LINEAR MATRIX have READ NON LINEAR MATRIX DONE WITH NON LINEAR STUFF have found NEW COEFFS in string ABOUT TO READ NEW COEFFS i: 0 NUC: 2700.114800 Anew: 1.592459 Bnew: 0.998147 NS: 0.000000 B0: 0.000000 B1: 0.000000 B2: 0.000000 i: 1 NUC: 917.228900 Anew: 0.332380 Bnew: 0.998522 NS: -2.467000 B0: 2.960000 B1: -0.054110 B2: 0.000245 i: 2 NUC: 838.125500 Anew: 0.674623 Bnew: 0.998363 NS: -2.009000 B0: 2.225000 B1: -0.036650 B2: 0.000149 DONE WITH NEW COEFFS calhead: sat: 16 orb: 0 julianday: 10970 taos: 34372078 0.000 0.000 2700.1148 917.2289 838.1255 aD/!/Users/jkey/nav/cal/calibnew16.dat calhead: 0.000 0.000 2700.1148 917.2289 838.1255 aD/!/Users/jkey/nav/cal/calibnew16.dat wavecent: 0.000000 0.000000 2700.114800 917.228900 838.125500 INVWAVE: 0.000000 size of cal file is: 170342 have read in cal array number of lines 1605 doing raw line: 0 doing raw line: 500 doing raw line: 1000 doing raw line: 1500 TIME calculation WAS REQUESTED SZA calculation WAS REQUESTED LINE and SAMPLE DATA WAS REQUESTED OSCULATING CORRECTIONS WILL BE APPLIED dashv: temp: strlen: 0 dashH: n strlen: 1 AFTER GET OPTIONS GAC DATA OPTION HAS BEEN CHOOSEN AFTER INIT input file has been opened, fp: 1883758400 after openarc fp: 1883758400 sid: 16d orbnum: 0d numscan: 1605d milday: 34372078d *** data header *** satid: 16 orbit number: 0 number of lines: 1605 julian day: 10970 time of first scan: 9.547800 ******************** AFTER INITDATA julday: 10970 taos: 34372078 TIME OF FIRST SCAN : 11/01/13 09:32:52 looking for ephemeris data for taos: 10970.397825 opening ephemeris after opening ephemeris size: 76 *******ephemeris elements ************ satid: 26536 orbit: 65195 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 ecc: 0.001062 argper: 0.364140 ascnode: 0.799605 inclin: 0.275446 ephoc: 110105000000 **************************** ******ephemnot structure follows*******: satid: 26536 orbit: 65195 size: 76 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 eccen: 0.001062 argper: 0.364140 ascenode: 0.799605 inclin: 0.275446 earadius: 6378137.000000 oblat: 0.001083 ***************************************************************** *********epheminit structure follows******* timnot: 10962.000000 smajaxis: 1.132905 decay: -0.000000 eccen: 0.001062 inclin: 1.730681 argper: 2.287962 perrate: -0.000551 longan: 5.024068 nodrate: 0.000201 ,meananom: 1.717550 meanmot: 0.828813 meanmotrate: 0.000000 grav constant: 398598005011040.375000 ***************************************************************** satlat1: 1.214428 satlat2: 1.237936 asnflag: 1 DATA IS ASCENDING **************** INITAILIZATION OVER ****************** dashr: 81.38011 RANGE0: 81.380110 IN SATGEO line: 0 spot: 204 time: 10970.397825 IN SATGEO line: 5 spot: 204 time: 10970.397854 RANGE: 81.380110 Pass is Ascending at start center lat: 90.000000 center lon: 0.000000 range: 81.380110 images will be processed using chunks of 361 lines getting space for 10 bit image image.proj: 8 fpsza: 7047dfd8 fpsaza: 7047e070 opening 135324493.NSS.GHRR.NL.D11013.S0932.E1127.B5315152.WI.N1.1 OPENING chan: 0 fp: 1883759312 opening 135324493.NSS.GHRR.NL.D11013.S0932.E1127.B5315152.WI.N1.2 OPENING chan: 1 fp: 1883759464 opening 135324493.NSS.GHRR.NL.D11013.S0932.E1127.B5315152.WI.N1.3 OPENING chan: 2 fp: 1883759616 opening 135324493.NSS.GHRR.NL.D11013.S0932.E1127.B5315152.WI.N1.4 OPENING chan: 3 fp: 1883759768 opening 135324493.NSS.GHRR.NL.D11013.S0932.E1127.B5315152.WI.N1.5 OPENING chan: 4 fp: 1883759920 getting space for time array getting space for sza array getting space for saza array getting space for satelv array getting space for sataz array ************************************* total bytes malloced is : 4217234 ************************************* ******** current elements follow******** taos: 10970.397825 time: 10970.397825 smajaxis: 7225816.969943 eccentricity: 0.001062 inclin: 1.730761 argper: 1.877033 longan: -3.753537 meananom: 5.658325 trueanom: 5.657082 altitude: 7219585.009091 ********************************************** satpos: -1234121.273289 2198593.798967 6759926.997846 satvel: 5991.588179 -3750.840706 2304.045883 satlat: 69.545745 satlon: 119.306500 COMMAND>DASHD: n INTERPOLATION CHOOSEN , every 8 x pixel and every 8 ypixel going through pixels **** before templat: 29.712678 centtodet: 29.878633 CORNERS OF WHOLE IMAGE FOLLOW North West Corner lat: 29.878633 lon: 225.000000 North East Corner lat: 30.063244 lon: 135.159155 South East Corner lat: 30.248190 lon: 45.000000 South West Corner lat: 30.063244 lon: -45.159155 interpolation choosen every 8 i pixels and every 8 j pixels image will be processed in 1 chunks of 361 image lines segment 0 startj: 0 stopj: 361 starti: 0 stopi: 360 numj: 361 north west----- lat: 29.712678 lon: 225.000000 line: -999 spot: -999 north east----- lat: 29.896666 lon: 135.159155 line: -999 spot: -999 south east-----lat: 29.896666 lon: 44.840845 line: -999 spot: -999 south west-----lat: 29.712678 lon: -45.000000 line: -999 spot: 38 doing chunk number: 0 from line: 0 to line: 360 numcelx: 45 numcely: 45 extrai: 0 extraj: 0 ****minline: 0 maxline: 1603 in data aquisiton maxline: 1603 minline: 0 in data aquistion module image is contained within lines : 1 and 1603 data will be processed using 17 chunks of 100 lines in get10 searching data lines 1 to 101 for image lines 0 to 361 in get10 searching data lines 101 to 201 for image lines 0 to 361 in get10 searching data lines 201 to 301 for image lines 0 to 361 in get10 searching data lines 301 to 401 for image lines 0 to 361 in get10 searching data lines 401 to 501 for image lines 0 to 361 in get10 searching data lines 501 to 601 for image lines 0 to 361 in get10 searching data lines 601 to 701 for image lines 0 to 361 in get10 searching data lines 701 to 801 for image lines 0 to 361 in get10 searching data lines 801 to 901 for image lines 0 to 361 in get10 searching data lines 901 to 1001 for image lines 0 to 361 in get10 searching data lines 1001 to 1101 for image lines 0 to 361 in get10 searching data lines 1101 to 1201 for image lines 0 to 361 in get10 searching data lines 1201 to 1301 for image lines 0 to 361 in get10 searching data lines 1301 to 1401 for image lines 0 to 361 in get10 searching data lines 1401 to 1501 for image lines 0 to 361 in get10 searching data lines 1501 to 1601 for image lines 0 to 361 done processing 1605 lines in get10 searching data lines 1601 to 1701 for image lines 0 to 361 dumping SZA array in dumpother j1: 0 j2: 361 ysize: 361 fpother: 1883758552 writing other type image in dumpother j1: 0 j2: 361 ysize: 361 fpother: 1883758704 writing other type image *************** dashY: y dumping ELEV array in dumpother j1: 0 j2: 361 ysize: 361 fpother: 1883759160 writing other type image dumping AZIM array in dumpother j1: 0 j2: 361 ysize: 361 fpother: 1883759008 writing other type image constructing TIME array in puttime j1: 0 j2: 361 ysize: 361 dumping TIME array in dumpother j1: 0 j2: 361 ysize: 361 fpother: 1883758856 writing other type image nchan: 5 dumping ch: 0 fp: 1883759312 about to dump image number: 0 channel: 1 xsize: 361 ysize: 361 IN WRITEIMAGE chan: 0 fp: 1883759312 DOne with dumpimage fp: 1883759312 have dumped ch: 0 fp: 1883759312 dumping ch: 1 fp: 1883759464 about to dump image number: 1 channel: 2 xsize: 361 ysize: 361 IN WRITEIMAGE chan: 1 fp: 1883759464 DOne with dumpimage fp: 1883759464 have dumped ch: 1 fp: 1883759464 dumping ch: 2 fp: 1883759616 about to dump image number: 2 channel: 3 xsize: 361 ysize: 361 IN WRITEIMAGE chan: 2 fp: 1883759616 DOne with dumpimage fp: 1883759616 have dumped ch: 2 fp: 1883759616 dumping ch: 3 fp: 1883759768 about to dump image number: 3 channel: 4 xsize: 361 ysize: 361 IN WRITEIMAGE chan: 3 fp: 1883759768 DOne with dumpimage fp: 1883759768 have dumped ch: 3 fp: 1883759768 dumping ch: 4 fp: 1883759920 about to dump image number: 4 channel: 5 xsize: 361 ysize: 361 IN WRITEIMAGE chan: 4 fp: 1883759920 DOne with dumpimage fp: 1883759920 have dumped ch: 4 fp: 1883759920 About to write headers fp: 1883759768 done with navigation--retrieving data ***** Running navigation/calibration at Fri Jan 14 02:18:01 CST 2011 ***** Working on year and julian day (yyddd): 11013 (2011 Jan 13) no H option specified TBMFLAG: compval: 0 reading input header input header has been read satid from header : 2 XX satid: 16 getting time from firstline getting time in gettime in: 7 db 0 d 0 6b 2 67 26 d2 year: 2011 day: 13 ymd year: 2011 ymd yeardif: 30 after getheader done with 1844 lines header count: 0 actual: 1844 header will be rewritten output header follows: satid: 16 orbnum: 0 nlines: 1844 julday: 10970 taos: 40314578 NEW PROCESSGENERICGAC year: 2011 input file is : tmp output file is : tmp.p new processraw opening raw file: tmp opening archive file and writing header to tmp.p header written to newdataset dumsat: 3 satid from first line is: 16 year before julianday call: 2011 firstline curday: 13 julian: 10970 time: 40314578 linein: 0 curtime: 40315078 lasttime: 40314578 lastgood: 40314578 timdif: 500 linein: 100 curtime: 40365078 lasttime: 40364578 lastgood: 40364578 timdif: 500 linein: 200 curtime: 40415078 lasttime: 40414578 lastgood: 40414578 timdif: 500 linein: 300 curtime: 40465078 lasttime: 40464578 lastgood: 40464578 timdif: 500 linein: 400 curtime: 40515078 lasttime: 40514578 lastgood: 40514578 timdif: 500 linein: 500 curtime: 40565078 lasttime: 40564578 lastgood: 40564578 timdif: 500 linein: 600 curtime: 40615078 lasttime: 40614578 lastgood: 40614578 timdif: 500 linein: 700 curtime: 40665078 lasttime: 40664578 lastgood: 40664578 timdif: 500 linein: 800 curtime: 40715078 lasttime: 40714578 lastgood: 40714578 timdif: 500 linein: 900 curtime: 40765078 lasttime: 40764578 lastgood: 40764578 timdif: 500 linein: 1000 curtime: 40815078 lasttime: 40814578 lastgood: 40814578 timdif: 500 linein: 1100 curtime: 40865078 lasttime: 40864578 lastgood: 40864578 timdif: 500 linein: 1200 curtime: 40915078 lasttime: 40914578 lastgood: 40914578 timdif: 500 linein: 1300 curtime: 40965078 lasttime: 40964578 lastgood: 40964578 timdif: 500 linein: 1400 curtime: 41015078 lasttime: 41014578 lastgood: 41014578 timdif: 500 linein: 1500 curtime: 41065078 lasttime: 41064578 lastgood: 41064578 timdif: 500 linein: 1600 curtime: 41115078 lasttime: 41114578 lastgood: 41114578 timdif: 500 linein: 1700 curtime: 41165078 lasttime: 41164578 lastgood: 41164578 timdif: 500 linein: 1800 curtime: 41215078 lasttime: 41214578 lastgood: 41214578 timdif: 500 could not read line bytes read: 0 error reading line: 1843 archive corect to here will rewrite header correctly cleaning up archive file new header being written as: satid: 16 orbit number: 0 dum: 0 number of lines: 1844 julian day: 10970d time of first scan: 11.198493 processing GAC data satid: 16 orbit number: 0 dum: 0 number of lines: 1844 julian day: 10970d time of first scan: 11.198493 Seasonal correction for julian date 10970.466604 = 0.967334 flag is : S 11/01/13 00:00:00110113000000 year: 11 month: 1 day: 13 dayofyear: 13 file containing coefficients is COEFFS.16 calling openparm16 before sprintf parmfilename: /Users/jkey/nav/cal/calib16.dat i: 0 nu: 2226.179930 i: 1 nu: 782.472410 i: 2 nu: 714.285640 chan: 0 nuc: 2700.114800 A: 1.592459 B: 0.998147 chan: 1 nuc: 917.228900 A: 0.332380 B: 0.998522 chan: 2 nuc: 838.125500 A: 0.674623 B: 0.998363 i: 0 wave:0.000000 i: 1 wave:0.000000 i: 2 wave:2700.114800 i: 3 wave:917.228900 i: 4 wave:838.125500 before look for Z after look for Z about to leave openparm newflag is 1: 1 about to open: tmp.p headstuff: sat: 16 orb: 0 julianday: 10970 taos: 40314578 length of headstuff: 57 headstuff: sat: 16 orb: 0 julianday: 10970 taos: 40314578 0.000 0.000 2700.1148 917.2289 838.1255 length of headstuff: 106 ************** results of initial calibration ******** from header firstday is : 13 arcsize: 5626 in sequence numlines: 1 day: 13 val: 389 arcsize: 5626 in sequence numlines: 2 day: 13 val: 383 arcsize: 5626 in sequence numlines: 3 day: 13 val: 385 arcsize: 5626 in sequence numlines: 4 day: 13 val: 388 arcsize: 5626 in sequence numlines: 5 day: 13 val: 0 realline before: 5 spaceref: 0.000000 targtemp: 296.413585 space rad: 0.000000 -4.500000 -3.610000 average space counts: 990.340000 991.260000 994.440000 average internal counts: 795.720000 398.740000 382.740000 satid: 16 launch_indx: -1 chan: 3 radspace: 0.000000 radtarget: 0.498980 spacebar:990.340000 internalbar: 795.720000 chan: 3 radspace: 0.000000 radtarget: 0.498980 spacebar:990.340000 internalbar: 795.720000 gain: -0.002564 offset: 2.539101 chan: 4 radspace: -4.500000 radtarget: 108.192356 spacebar:991.260000 internalbar: 398.740000 chan: 4 radspace: -4.500000 radtarget: 108.192356 spacebar:991.260000 internalbar: 398.740000 gain: -0.190192 offset: 184.029388 chan: 5 radspace: -3.610000 radtarget: 122.375133 spacebar:994.440000 internalbar: 382.740000 chan: 5 radspace: -3.610000 radtarget: 122.375133 spacebar:994.440000 internalbar: 382.740000 gain: -0.205959 offset: 201.203888 gain after: 0.054945 gain after: 0.054945 gain and offset up to scan line 55 : 0.054945 -2.115946 0.057653 -2.330887 -0.002564 2.539101 -0.190192 184.029388 -0.205959 201.203888 ************************************************************ trouble reading line in main DONE WITH CALIBRATION there were 1844 lines done THIS IS ACTUALLY rawcal15_new AS IT SHOULD BE CALIBRATION FILE: COEFFS.16 RADFLAG: 1 calib_dir: /Users/jkey/nav/cal name of caldatfile is: /Users/jkey/nav/cal/calibnew16.dat have found CENTRAL WAVE in string CENTRAL WAVE NUMBER TABLE 190.000000 230.000000 2638.652000 928.260300 834.449600 230.000000 270.000000 2642.807000 928.828400 834.806600 270.000000 310.000000 2645.899000 929.332300 835.164700 have found SPLIT CAL in string SPLIT CAL TABLE SPLIT GAINS and OFFSETS CHAN 1 count 0-490 gain: 0.052300 offset: -2.016000 CHAN 1 count 491-1023 gain: 0.152800 offset: -51.910000 CHAN 2 count 0-500 gain: 0.051300 offset: -1.943000 CHAN 2 count 501-1023 gain: 0.151000 offset: -51.770000 CHAN 3 count 0-499 gain: 0.028700 offset: -2.043000 CHAN 3 count 500-1023 gain: 0.180600 offset: -78.030000 WE ARE GOING NON LINEAR name of caldatfile is: /Users/jkey/nav/cal/calibnew16.dat have found NON LINEAR in string ABOUT TO READ NON LINEAR MATRIX have READ NON LINEAR MATRIX DONE WITH NON LINEAR STUFF have found NEW COEFFS in string ABOUT TO READ NEW COEFFS i: 0 NUC: 2700.114800 Anew: 1.592459 Bnew: 0.998147 NS: 0.000000 B0: 0.000000 B1: 0.000000 B2: 0.000000 i: 1 NUC: 917.228900 Anew: 0.332380 Bnew: 0.998522 NS: -2.467000 B0: 2.960000 B1: -0.054110 B2: 0.000245 i: 2 NUC: 838.125500 Anew: 0.674623 Bnew: 0.998363 NS: -2.009000 B0: 2.225000 B1: -0.036650 B2: 0.000149 DONE WITH NEW COEFFS calhead: sat: 16 orb: 0 julianday: 10970 taos: 40314578 0.000 0.000 2700.1148 917.2289 838.1255 ƥv/Users/jkey/nav/cal/calibnew16.dat calhead: 0.000 0.000 2700.1148 917.2289 838.1255 ƥv/Users/jkey/nav/cal/calibnew16.dat wavecent: 0.000000 0.000000 2700.114800 917.228900 838.125500 INVWAVE: 0.000000 size of cal file is: 195676 have read in cal array number of lines 1844 doing raw line: 0 doing raw line: 500 doing raw line: 1000 doing raw line: 1500 TIME calculation WAS REQUESTED SZA calculation WAS REQUESTED LINE and SAMPLE DATA WAS REQUESTED OSCULATING CORRECTIONS WILL BE APPLIED dashv: temp: strlen: 0 dashH: n strlen: 1 AFTER GET OPTIONS GAC DATA OPTION HAS BEEN CHOOSEN AFTER INIT input file has been opened, fp: 1883758400 after openarc fp: 1883758400 sid: 16d orbnum: 0d numscan: 1844d milday: 40314578d *** data header *** satid: 16 orbit number: 0 number of lines: 1844 julian day: 10970 time of first scan: 11.198493 ******************** AFTER INITDATA julday: 10970 taos: 40314578 TIME OF FIRST SCAN : 11/01/13 11:11:55 looking for ephemeris data for taos: 10970.466604 opening ephemeris after opening ephemeris size: 76 *******ephemeris elements ************ satid: 26536 orbit: 65195 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 ecc: 0.001062 argper: 0.364140 ascnode: 0.799605 inclin: 0.275446 ephoc: 110105000000 **************************** ******ephemnot structure follows*******: satid: 26536 orbit: 65195 size: 76 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 eccen: 0.001062 argper: 0.364140 ascenode: 0.799605 inclin: 0.275446 earadius: 6378137.000000 oblat: 0.001083 ***************************************************************** *********epheminit structure follows******* timnot: 10962.000000 smajaxis: 1.132905 decay: -0.000000 eccen: 0.001062 inclin: 1.730681 argper: 2.287962 perrate: -0.000551 longan: 5.024068 nodrate: 0.000201 ,meananom: 1.717550 meanmot: 0.828813 meanmotrate: 0.000000 grav constant: 398598005011040.375000 ***************************************************************** satlat1: 1.045878 satlat2: 1.071084 asnflag: 1 DATA IS ASCENDING **************** INITAILIZATION OVER ****************** dashr: 81.38011 RANGE0: 81.380110 IN SATGEO line: 0 spot: 204 time: 10970.466604 IN SATGEO line: 5 spot: 204 time: 10970.466633 RANGE: 81.380110 Pass is Ascending at start center lat: 90.000000 center lon: 0.000000 range: 81.380110 images will be processed using chunks of 361 lines getting space for 10 bit image image.proj: 8 fpsza: 7047dfd8 fpsaza: 7047e070 opening 135324493.NSS.GHRR.NL.D11013.S0932.E1127.B5315152.WI.N2.1 OPENING chan: 0 fp: 1883759312 opening 135324493.NSS.GHRR.NL.D11013.S0932.E1127.B5315152.WI.N2.2 OPENING chan: 1 fp: 1883759464 opening 135324493.NSS.GHRR.NL.D11013.S0932.E1127.B5315152.WI.N2.3 OPENING chan: 2 fp: 1883759616 opening 135324493.NSS.GHRR.NL.D11013.S0932.E1127.B5315152.WI.N2.4 OPENING chan: 3 fp: 1883759768 opening 135324493.NSS.GHRR.NL.D11013.S0932.E1127.B5315152.WI.N2.5 OPENING chan: 4 fp: 1883759920 getting space for time array getting space for sza array getting space for saza array getting space for satelv array getting space for sataz array ************************************* total bytes malloced is : 4217234 ************************************* ******** current elements follow******** taos: 10970.466604 time: 10970.466604 smajaxis: 7225816.932759 eccentricity: 0.001062 inclin: 1.730734 argper: 1.873668 longan: -4.185670 meananom: 5.479683 trueanom: 5.478153 altitude: 7220480.383091 ********************************************** satpos: -879015.711785 3514483.358856 6241515.834387 satvel: 3768.940685 -5348.940833 3528.412723 satlat: 59.867977 satlon: 104.042302 COMMAND>DASHD: n INTERPOLATION CHOOSEN , every 8 x pixel and every 8 ypixel going through pixels **** before templat: 29.712678 centtodet: 29.878633 CORNERS OF WHOLE IMAGE FOLLOW North West Corner lat: 29.878633 lon: 225.000000 North East Corner lat: 30.063244 lon: 135.159155 South East Corner lat: 30.248190 lon: 45.000000 South West Corner lat: 30.063244 lon: -45.159155 interpolation choosen every 8 i pixels and every 8 j pixels image will be processed in 1 chunks of 361 image lines segment 0 startj: 0 stopj: 361 starti: 0 stopi: 360 numj: 361 north west----- lat: 29.712678 lon: 225.000000 line: -999 spot: -999 north east----- lat: 29.896666 lon: 135.159155 line: -999 spot: -999 south east-----lat: 29.896666 lon: 44.840845 line: -999 spot: -999 south west-----lat: 29.712678 lon: -45.000000 line: -999 spot: 408 doing chunk number: 0 from line: 0 to line: 360 numcelx: 45 numcely: 45 extrai: 0 extraj: 0 ****minline: 0 maxline: 1843 in data aquisiton maxline: 1843 minline: 0 in data aquistion module image is contained within lines : 1 and 1843 data will be processed using 19 chunks of 100 lines in get10 searching data lines 1 to 101 for image lines 0 to 361 in get10 searching data lines 101 to 201 for image lines 0 to 361 in get10 searching data lines 201 to 301 for image lines 0 to 361 in get10 searching data lines 301 to 401 for image lines 0 to 361 in get10 searching data lines 401 to 501 for image lines 0 to 361 in get10 searching data lines 501 to 601 for image lines 0 to 361 in get10 searching data lines 601 to 701 for image lines 0 to 361 in get10 searching data lines 701 to 801 for image lines 0 to 361 in get10 searching data lines 801 to 901 for image lines 0 to 361 in get10 searching data lines 901 to 1001 for image lines 0 to 361 in get10 searching data lines 1001 to 1101 for image lines 0 to 361 in get10 searching data lines 1101 to 1201 for image lines 0 to 361 in get10 searching data lines 1201 to 1301 for image lines 0 to 361 in get10 searching data lines 1301 to 1401 for image lines 0 to 361 in get10 searching data lines 1401 to 1501 for image lines 0 to 361 in get10 searching data lines 1501 to 1601 for image lines 0 to 361 in get10 searching data lines 1601 to 1701 for image lines 0 to 361 in get10 searching data lines 1701 to 1801 for image lines 0 to 361 Undefined error: 0 eof or error after 1842 lines in get10 searching data lines 1801 to 1901 for image lines 0 to 361 dumping SZA array in dumpother j1: 0 j2: 361 ysize: 361 fpother: 1883758552 writing other type image in dumpother j1: 0 j2: 361 ysize: 361 fpother: 1883758704 writing other type image *************** dashY: y dumping ELEV array in dumpother j1: 0 j2: 361 ysize: 361 fpother: 1883759160 writing other type image dumping AZIM array in dumpother j1: 0 j2: 361 ysize: 361 fpother: 1883759008 writing other type image constructing TIME array in puttime j1: 0 j2: 361 ysize: 361 dumping TIME array in dumpother j1: 0 j2: 361 ysize: 361 fpother: 1883758856 writing other type image nchan: 5 dumping ch: 0 fp: 1883759312 about to dump image number: 0 channel: 1 xsize: 361 ysize: 361 IN WRITEIMAGE chan: 0 fp: 1883759312 DOne with dumpimage fp: 1883759312 have dumped ch: 0 fp: 1883759312 dumping ch: 1 fp: 1883759464 about to dump image number: 1 channel: 2 xsize: 361 ysize: 361 IN WRITEIMAGE chan: 1 fp: 1883759464 DOne with dumpimage fp: 1883759464 have dumped ch: 1 fp: 1883759464 dumping ch: 2 fp: 1883759616 about to dump image number: 2 channel: 3 xsize: 361 ysize: 361 IN WRITEIMAGE chan: 2 fp: 1883759616 DOne with dumpimage fp: 1883759616 have dumped ch: 2 fp: 1883759616 dumping ch: 3 fp: 1883759768 about to dump image number: 3 channel: 4 xsize: 361 ysize: 361 IN WRITEIMAGE chan: 3 fp: 1883759768 DOne with dumpimage fp: 1883759768 have dumped ch: 3 fp: 1883759768 dumping ch: 4 fp: 1883759920 about to dump image number: 4 channel: 5 xsize: 361 ysize: 361 IN WRITEIMAGE chan: 4 fp: 1883759920 DOne with dumpimage fp: 1883759920 have dumped ch: 4 fp: 1883759920 About to write headers fp: 1883759768 done with navigation--retrieving data rm: data.*: No such file or directory ***** Running polar regions subsetting at Fri Jan 14 02:18:02 CST 2011 ***** Working on year and julian day (yyddd): 11013 (2011 Jan 13) command line args: ephemfile: /Users/jkey/nav/ephemeris northlimit: 60.000000 southlimit: -60.000000 data is type: G sds-type is: H region is: O SDS GAC data selected. year: 2011 day: 13 miilsecs: 34372078 before md doy: 13 year: 2011 **julianday: 10970 year: 2011 day: 13 miilsecs: 34372078 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 year: 2011 day: 13 miilsecs: 34372578 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 year: 2011 day: 13 miilsecs: 34373078 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 taos: 34372078 satid: 16 julian day: 10970 nlines: 13729 GOING INTO initorb4 satnum: 16 navsatid: 26536 calling readephem taos: 10970.397825 opening ephemeris after opening ephemeris size: 76 *******ephemeris elements ************ satid: 26536 orbit: 65195 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 ecc: 0.001062 argper: 0.364140 ascnode: 0.799605 inclin: 0.275446 ephoc: 110105000000 **************************** ******ephemnot structure follows*******: satid: 26536 orbit: 65195 size: 76 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 eccen: 0.001062 argper: 0.364140 ascenode: 0.799605 inclin: 0.275446 earadius: 6378137.000000 oblat: 0.001083 ***************************************************************** YEAR HERE: 11 *********epheminit structure follows******* timnot: 10962.000000 smajaxis: 1.132905 decay: -0.000000 eccen: 0.001062 inclin: 1.730681 argper: 2.287962 perrate: -0.000551 longan: 5.024068 nodrate: 0.000201 ,meananom: 1.717550 meanmot: 0.828813 meanmotrate: 0.000000 grav constant: 398598005011040.375000 ***************************************************************** ******** current elements follow******** taos: 10970.397825 time: 10970.397825 smajaxis: 7225816.969943 eccentricity: 0.001062 inclin: 1.730681 argper: 1.877033 longan: -3.753476 meananom: 747.074192 trueanom: 747.072948 altitude: 7219596.536014 ********************************************** ******** current elements follow******** taos: 10970.397825 time: 10970.397825 smajaxis: 7225816.969943 eccentricity: 0.001062 inclin: 1.730681 argper: 1.877033 longan: -3.753476 meananom: 747.074192 trueanom: 747.072948 altitude: 7219596.536014 ********************************************** SPECIFIC DATA: bytesperline: 4608 scanspersec: 2.000000 line : 0 10970.397825 69.705129 119.306500 7214809.978527 Opening data.NORTH1 and writing header line: 0 line : 100 10970.398404 72.264307 114.711142 7214379.805965 line : 200 10970.398982 74.694017 108.734268 7214001.128818 line : 300 10970.399561 76.922515 100.747296 7213675.521510 line : 400 10970.400140 78.829300 89.906714 7213404.304785 line : 500 10970.400718 80.224735 75.454163 7213188.537251 line : 600 10970.401297 80.871514 57.748439 7213029.008880 line : 700 10970.401876 80.613647 39.296675 7212926.236525 line : 800 10970.402455 79.517551 23.253073 7212880.461486 line : 900 10970.403033 77.806952 10.888917 7212891.649155 line : 1000 10970.403612 75.700336 1.762266 7212959.490728 line : 1100 10970.404191 73.346890 -5.004970 7213083.406966 line : 1200 10970.404769 70.836874 -10.143625 7213262.553968 line : 1300 10970.405348 68.223877 -14.159219 7213495.830896 line : 1400 10970.405927 65.540392 -17.385962 7213781.889557 line : 1500 10970.406506 62.806796 -20.045158 7214119.145770 line : 1600 10970.407084 60.036329 -22.286042 7214505.792385 line : 1700 10970.407663 57.237891 -24.211627 7214939.813828 line : 1800 10970.408242 54.417655 -25.894762 7215419.002034 line : 1900 10970.408820 51.580022 -27.388157 7215940.973601 line : 2000 10970.409399 48.728215 -28.730780 7216503.188012 line : 2100 10970.409978 45.864653 -29.952006 7217102.966733 line : 2200 10970.410556 42.991194 -31.074382 7217737.513008 line : 2300 10970.411135 40.109300 -32.115504 7218403.932166 line : 2400 10970.411714 37.220148 -33.089312 7219099.252245 line : 2500 10970.412293 34.324708 -34.007015 7219820.444732 line : 2600 10970.412871 31.423797 -34.877747 7220564.445240 line : 2700 10970.413450 28.518123 -35.709051 7221328.173910 line : 2800 10970.414029 25.608309 -36.507240 7222108.555381 line : 2900 10970.414607 22.694919 -37.277664 7222902.538122 line : 3000 10970.415186 19.778469 -38.024919 7223707.112974 line : 3100 10970.415765 16.859445 -38.753009 7224519.330728 line : 3200 10970.416343 13.938304 -39.465473 7225336.318610 line : 3300 10970.416922 11.015489 -40.165488 7226155.295516 line : 3400 10970.417501 8.091428 -40.855954 7226973.585895 line : 3500 10970.418080 5.166540 -41.539563 7227788.632162 line : 3600 10970.418658 2.241237 -42.218864 7228598.005570 line : 3700 10970.419237 -0.684072 -42.896313 7229399.415453 line : 3800 10970.419816 -3.608982 -43.574330 7230190.716801 line : 3900 10970.420394 -6.533088 -44.255346 7230969.916127 line : 4000 10970.420973 -9.455983 -44.941850 7231735.175620 line : 4100 10970.421552 -12.377257 -45.636448 7232484.815570 line : 4200 10970.422131 -15.296497 -46.341913 7233217.315115 line : 4300 10970.422709 -18.213277 -47.061255 7233931.311318 line : 4400 10970.423288 -21.127162 -47.797798 7234625.596657 line : 4500 10970.423867 -24.037694 -48.555267 7235299.114990 line : 4600 10970.424445 -26.944393 -49.337903 7235950.956088 line : 4700 10970.425024 -29.846740 -50.150604 7236580.348833 line : 4800 10970.425603 -32.744168 -50.999102 7237186.653210 line : 4900 10970.426181 -35.636039 -51.890194 7237769.351207 line : 5000 10970.426760 -38.521628 -52.832045 7238328.036777 line : 5100 10970.427339 -41.400082 -53.834594 7238862.404996 line : 5200 10970.427918 -44.270377 -54.910098 7239372.240577 line : 5300 10970.428496 -47.131258 -56.073886 7239857.405903 line : 5400 10970.429075 -49.981142 -57.345414 7240317.828733 line : 5500 10970.429654 -52.817997 -58.749761 7240753.489754 line : 5600 10970.430232 -55.639144 -60.319815 7241164.410135 line : 5700 10970.430811 -58.440972 -62.099499 7241550.639259 Opening data.SOUTH1 and writing header line: 5757 line : 5800 10970.431390 -61.218492 -64.148676 7241912.242771 line : 5900 10970.431968 -63.964625 -66.550727 7242249.291113 line : 6000 10970.432547 -66.669034 -69.424528 7242561.848690 line : 6100 10970.433126 -69.316137 -72.943620 7242849.963790 line : 6200 10970.433705 -71.881625 -77.366864 7243113.659407 line : 6300 10970.434283 -74.326226 -83.085326 7243352.925069 line : 6400 10970.434862 -76.584556 -90.682253 7243567.709776 line : 6500 10970.435441 -78.546737 -100.957056 7243757.916143 line : 6600 10970.436019 -80.036991 -114.705937 7243923.395828 line : 6700 10970.436598 -80.823034 -131.845425 7244063.946287 line : 6800 10970.437177 -80.724394 -150.262368 7244179.308928 line : 6900 10970.437756 -79.766677 -166.769705 7244269.168661 line : 7000 10970.438334 -78.156339 -179.723699 7244333.154888 line : 7100 10970.438913 -76.118386 170.655558 7244370.843903 line : 7200 10970.439492 -73.813147 163.525645 7244381.762687 line : 7300 10970.440070 -71.338969 158.129105 7244365.394071 line : 7400 10970.440649 -68.754304 153.929080 7244321.183196 line : 7500 10970.441228 -66.094454 150.567944 7244248.545213 line : 7600 10970.441806 -63.381431 147.808638 7244146.874128 line : 7700 10970.442385 -60.629451 145.491562 7244015.552707 line : 7800 10970.442964 -57.848010 143.506837 7243853.963313 line : 7900 10970.443543 -55.043653 141.776995 7243661.499568 line : 8000 10970.444121 -52.221017 140.246149 7243437.578696 line : 8100 10970.444700 -49.383474 138.873108 7243181.654406 line : 8200 10970.445279 -46.533537 137.626904 7242893.230170 line : 8300 10970.445857 -43.673123 136.483830 7242571.872732 line : 8400 10970.446436 -40.803726 135.425433 7242217.225689 line : 8500 10970.447015 -37.926538 134.437125 7241829.022990 line : 8600 10970.447593 -35.042533 133.507208 7241407.102169 line : 8700 10970.448172 -32.152526 132.626168 7240951.417166 line : 8800 10970.448751 -29.257212 131.786168 7240462.050565 line : 8900 10970.449330 -26.357203 130.980664 7239939.225085 line : 9000 10970.449908 -23.453044 130.204126 7239383.314196 line : 9100 10970.450487 -20.545236 129.451813 7238794.851680 line : 9200 10970.451066 -17.634243 128.719608 7238174.540031 line : 9300 10970.451644 -14.720507 128.003885 7237523.257558 line : 9400 10970.452223 -11.804450 127.301400 7236842.064070 line : 9500 10970.452802 -8.886484 126.609202 7236132.205060 line : 9600 10970.453381 -5.967011 125.924563 7235395.114281 line : 9700 10970.453959 -3.046429 125.244915 7234632.414671 line : 9800 10970.454538 -0.125132 124.567790 7233845.917541 line : 9900 10970.455117 2.796486 123.890771 7233037.620015 line : 10000 10970.455695 5.718030 123.211443 7232209.700695 line : 10100 10970.456274 8.639103 122.527344 7231364.513541 line : 10200 10970.456853 11.559302 121.835910 7230504.579995 line : 10300 10970.457431 14.478219 121.134423 7229632.579378 line : 10400 10970.458010 17.395433 120.419947 7228751.337614 line : 10500 10970.458589 20.310512 119.689255 7227863.814355 line : 10600 10970.459168 23.223003 118.938742 7226973.088588 line : 10700 10970.459746 26.132427 118.164316 7226082.342840 line : 10800 10970.460325 29.038270 117.361271 7225194.846085 line : 10900 10970.460904 31.939969 116.524115 7224313.935509 line : 11000 10970.461482 34.836898 115.646354 7223442.997253 line : 11100 10970.462061 37.728342 114.720210 7222585.446327 line : 11200 10970.462640 40.613469 113.736243 7221744.705829 line : 11300 10970.463218 43.491288 112.682843 7220924.185681 line : 11400 10970.463797 46.360587 111.545537 7220127.261035 line : 11500 10970.464376 49.219856 110.306011 7219357.250571 line : 11600 10970.464955 52.067161 108.940734 7218617.394855 line : 11700 10970.465533 54.899977 107.418960 7217910.834962 line : 11800 10970.466112 57.714920 105.699777 7217240.591557 Opening data.NORTH2 and writing header line: 11882 line : 11900 10970.466691 60.507348 103.727651 7216609.544629 line : 12000 10970.467269 63.270722 101.425548 7216020.414050 line : 12100 10970.467848 65.995557 98.684101 7215475.741154 line : 12200 10970.468427 68.667670 95.344239 7214977.871491 line : 12300 10970.469006 71.265100 91.169224 7214528.938934 line : 12400 10970.469584 73.752618 85.800863 7214130.851264 line : 12500 10970.470163 76.071838 78.698956 7213785.277387 line : 12600 10970.470742 78.124348 69.095421 7213493.636292 line : 12700 10970.471320 79.749187 56.122909 7213257.087849 line : 12800 10970.471899 80.719319 39.527360 7213076.525535 line : 12900 10970.472478 80.824818 20.958586 7212952.571164 line : 13000 10970.473056 80.038118 3.677357 7212885.571645 line : 13100 10970.473635 78.541305 -10.152058 7212875.597815 line : 13200 10970.474214 76.569405 -20.456260 7212922.445346 line : 13300 10970.474793 74.300011 -28.056022 7213025.637710 line : 13400 10970.475371 71.843882 -33.766381 7213184.431174 line : 13500 10970.475950 69.266799 -38.177968 7213397.821774 line : 13600 10970.476529 66.608217 -41.684954 7213664.554180 line : 13700 10970.477107 63.892534 -44.547392 7213983.132385 could not read line 13726 writing header for file 0 goint into getcorrectsdsvals year: 2011 day: 13 miilsecs: 34372078 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 going into makeheader with taos: 10970.397825 satid: 16 nlines: 1605 IN MAKEHEADER going into first make1btime in make1btime taos: 10970.397825 millsec: 34372078 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 after first make1btime in make1btime taos: 10970.400921 millsec: 34639578 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 DONE WITH MAKEHEADER writing header for file 1 goint into getcorrectsdsvals year: 2011 day: 13 miilsecs: 40314578 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 going into makeheader with taos: 10970.466604 satid: 16 nlines: 1844 IN MAKEHEADER going into first make1btime in make1btime taos: 10970.466604 millsec: 40314578 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 after first make1btime in make1btime taos: 10970.470161 millsec: 40621911 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 DONE WITH MAKEHEADER writing header for file 2 goint into getcorrectsdsvals year: 2011 day: 13 miilsecs: 37252078 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 going into makeheader with taos: 10970.431158 satid: 16 nlines: 1966 IN MAKEHEADER going into first make1btime in make1btime taos: 10970.431158 millsec: 37252078 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 after first make1btime in make1btime taos: 10970.434951 millsec: 37579745 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 DONE WITH MAKEHEADER ***** Running navigation/calibration at Fri Jan 14 02:18:03 CST 2011 ***** Working on year and julian day (yyddd): 11013 (2011 Jan 13) no H option specified TBMFLAG: compval: 0 reading input header input header has been read satid from header : 2 XX satid: 16 getting time from firstline getting time in gettime in: 7 db 0 d 0 6b 2 38 6b ee year: 2011 day: 13 ymd year: 2011 ymd yeardif: 30 after getheader done with 1966 lines header count: 0 actual: 1966 header will be rewritten output header follows: satid: 16 orbnum: 0 nlines: 1966 julday: 10970 taos: 37252078 NEW PROCESSGENERICGAC year: 2011 input file is : tmp output file is : tmp.p new processraw opening raw file: tmp opening archive file and writing header to tmp.p header written to newdataset dumsat: 3 satid from first line is: 16 year before julianday call: 2011 firstline curday: 13 julian: 10970 time: 37252078 linein: 0 curtime: 37252578 lasttime: 37252078 lastgood: 37252078 timdif: 500 linein: 100 curtime: 37302578 lasttime: 37302078 lastgood: 37302078 timdif: 500 linein: 200 curtime: 37352578 lasttime: 37352078 lastgood: 37352078 timdif: 500 linein: 300 curtime: 37402578 lasttime: 37402078 lastgood: 37402078 timdif: 500 linein: 400 curtime: 37452578 lasttime: 37452078 lastgood: 37452078 timdif: 500 linein: 500 curtime: 37502578 lasttime: 37502078 lastgood: 37502078 timdif: 500 linein: 600 curtime: 37552578 lasttime: 37552078 lastgood: 37552078 timdif: 500 linein: 700 curtime: 37602578 lasttime: 37602078 lastgood: 37602078 timdif: 500 linein: 800 curtime: 37652578 lasttime: 37652078 lastgood: 37652078 timdif: 500 linein: 900 curtime: 37702578 lasttime: 37702078 lastgood: 37702078 timdif: 500 linein: 1000 curtime: 37752578 lasttime: 37752078 lastgood: 37752078 timdif: 500 linein: 1100 curtime: 37802578 lasttime: 37802078 lastgood: 37802078 timdif: 500 linein: 1200 curtime: 37852578 lasttime: 37852078 lastgood: 37852078 timdif: 500 linein: 1300 curtime: 37902578 lasttime: 37902078 lastgood: 37902078 timdif: 500 linein: 1400 curtime: 37952578 lasttime: 37952078 lastgood: 37952078 timdif: 500 linein: 1500 curtime: 38002578 lasttime: 38002078 lastgood: 38002078 timdif: 500 linein: 1600 curtime: 38052578 lasttime: 38052078 lastgood: 38052078 timdif: 500 linein: 1700 curtime: 38102578 lasttime: 38102078 lastgood: 38102078 timdif: 500 linein: 1800 curtime: 38152578 lasttime: 38152078 lastgood: 38152078 timdif: 500 linein: 1900 curtime: 38202578 lasttime: 38202078 lastgood: 38202078 timdif: 500 could not read line bytes read: 0 error reading line: 1965 archive corect to here will rewrite header correctly cleaning up archive file new header being written as: satid: 16 orbit number: 0 dum: 0 number of lines: 1966 julian day: 10970d time of first scan: 10.347800 processing GAC data satid: 16 orbit number: 0 dum: 0 number of lines: 1966 julian day: 10970d time of first scan: 10.347800 Seasonal correction for julian date 10970.431158 = 0.967330 flag is : S 11/01/13 00:00:00110113000000 year: 11 month: 1 day: 13 dayofyear: 13 file containing coefficients is COEFFS.16 calling openparm16 before sprintf parmfilename: /Users/jkey/nav/cal/calib16.dat i: 0 nu: 2226.179930 i: 1 nu: 782.472410 i: 2 nu: 714.285640 chan: 0 nuc: 2700.114800 A: 1.592459 B: 0.998147 chan: 1 nuc: 917.228900 A: 0.332380 B: 0.998522 chan: 2 nuc: 838.125500 A: 0.674623 B: 0.998363 i: 0 wave:0.000000 i: 1 wave:0.000000 i: 2 wave:2700.114800 i: 3 wave:917.228900 i: 4 wave:838.125500 before look for Z after look for Z about to leave openparm newflag is 1: 1 about to open: tmp.p headstuff: sat: 16 orb: 0 julianday: 10970 taos: 37252078 length of headstuff: 57 headstuff: sat: 16 orb: 0 julianday: 10970 taos: 37252078 0.000 0.000 2700.1148 917.2289 838.1255 length of headstuff: 106 ************** results of initial calibration ******** from header firstday is : 13 arcsize: 5626 in sequence numlines: 1 day: 13 val: 411 arcsize: 5626 in sequence numlines: 2 day: 13 val: 407 arcsize: 5626 in sequence numlines: 3 day: 13 val: 412 arcsize: 5626 in sequence numlines: 4 day: 13 val: 418 arcsize: 5626 in sequence numlines: 5 day: 13 val: 0 realline before: 5 spaceref: 0.000000 targtemp: 297.751776 space rad: 0.000000 -4.500000 -3.610000 average space counts: 990.480000 991.300000 994.620000 average internal counts: 784.460000 389.460000 373.220000 satid: 16 launch_indx: -1 chan: 3 radspace: 0.000000 radtarget: 0.528980 spacebar:990.480000 internalbar: 784.460000 chan: 3 radspace: 0.000000 radtarget: 0.528980 spacebar:990.480000 internalbar: 784.460000 gain: -0.002568 offset: 2.543170 chan: 4 radspace: -4.500000 radtarget: 110.403604 spacebar:991.300000 internalbar: 389.460000 chan: 4 radspace: -4.500000 radtarget: 110.403604 spacebar:991.300000 internalbar: 389.460000 gain: -0.190921 offset: 184.759506 chan: 5 radspace: -3.610000 radtarget: 124.666619 spacebar:994.620000 internalbar: 373.220000 chan: 5 radspace: -3.610000 radtarget: 124.666619 spacebar:994.620000 internalbar: 373.220000 gain: -0.206432 offset: 201.711044 gain after: 0.054944 gain after: 0.054944 gain and offset up to scan line 55 : 0.054944 -2.115938 0.057653 -2.330879 -0.002568 2.543170 -0.190921 184.759506 -0.206432 201.711044 ************************************************************ trouble reading line in main DONE WITH CALIBRATION there were 1966 lines done THIS IS ACTUALLY rawcal15_new AS IT SHOULD BE CALIBRATION FILE: COEFFS.16 RADFLAG: 1 calib_dir: /Users/jkey/nav/cal name of caldatfile is: /Users/jkey/nav/cal/calibnew16.dat have found CENTRAL WAVE in string CENTRAL WAVE NUMBER TABLE 190.000000 230.000000 2638.652000 928.260300 834.449600 230.000000 270.000000 2642.807000 928.828400 834.806600 270.000000 310.000000 2645.899000 929.332300 835.164700 have found SPLIT CAL in string SPLIT CAL TABLE SPLIT GAINS and OFFSETS CHAN 1 count 0-490 gain: 0.052300 offset: -2.016000 CHAN 1 count 491-1023 gain: 0.152800 offset: -51.910000 CHAN 2 count 0-500 gain: 0.051300 offset: -1.943000 CHAN 2 count 501-1023 gain: 0.151000 offset: -51.770000 CHAN 3 count 0-499 gain: 0.028700 offset: -2.043000 CHAN 3 count 500-1023 gain: 0.180600 offset: -78.030000 WE ARE GOING NON LINEAR name of caldatfile is: /Users/jkey/nav/cal/calibnew16.dat have found NON LINEAR in string ABOUT TO READ NON LINEAR MATRIX have READ NON LINEAR MATRIX DONE WITH NON LINEAR STUFF have found NEW COEFFS in string ABOUT TO READ NEW COEFFS i: 0 NUC: 2700.114800 Anew: 1.592459 Bnew: 0.998147 NS: 0.000000 B0: 0.000000 B1: 0.000000 B2: 0.000000 i: 1 NUC: 917.228900 Anew: 0.332380 Bnew: 0.998522 NS: -2.467000 B0: 2.960000 B1: -0.054110 B2: 0.000245 i: 2 NUC: 838.125500 Anew: 0.674623 Bnew: 0.998363 NS: -2.009000 B0: 2.225000 B1: -0.036650 B2: 0.000149 DONE WITH NEW COEFFS calhead: sat: 16 orb: 0 julianday: 10970 taos: 37252078 0.000 0.000 2700.1148 917.2289 838.1255 _/Users/jkey/nav/cal/calibnew16.dat calhead: 0.000 0.000 2700.1148 917.2289 838.1255 _/Users/jkey/nav/cal/calibnew16.dat wavecent: 0.000000 0.000000 2700.114800 917.228900 838.125500 INVWAVE: 0.000000 size of cal file is: 208608 have read in cal array number of lines 1966 doing raw line: 0 doing raw line: 500 doing raw line: 1000 doing raw line: 1500 TIME calculation WAS REQUESTED SZA calculation WAS REQUESTED LINE and SAMPLE DATA WAS REQUESTED OSCULATING CORRECTIONS WILL BE APPLIED dashv: temp: strlen: 0 dashH: n strlen: 1 AFTER GET OPTIONS GAC DATA OPTION HAS BEEN CHOOSEN AFTER INIT input file has been opened, fp: 1883758400 after openarc fp: 1883758400 sid: 16d orbnum: 0d numscan: 1966d milday: 37252078d *** data header *** satid: 16 orbit number: 0 number of lines: 1966 julian day: 10970 time of first scan: 10.347800 ******************** AFTER INITDATA julday: 10970 taos: 37252078 TIME OF FIRST SCAN : 11/01/13 10:20:52 looking for ephemeris data for taos: 10970.431158 opening ephemeris after opening ephemeris size: 76 *******ephemeris elements ************ satid: 26536 orbit: 65195 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 ecc: 0.001062 argper: 0.364140 ascnode: 0.799605 inclin: 0.275446 ephoc: 110105000000 **************************** ******ephemnot structure follows*******: satid: 26536 orbit: 65195 size: 76 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 eccen: 0.001062 argper: 0.364140 ascenode: 0.799605 inclin: 0.275446 earadius: 6378137.000000 oblat: 0.001083 ***************************************************************** *********epheminit structure follows******* timnot: 10962.000000 smajaxis: 1.132905 decay: -0.000000 eccen: 0.001062 inclin: 1.730681 argper: 2.287962 perrate: -0.000551 longan: 5.024068 nodrate: 0.000201 ,meananom: 1.717550 meanmot: 0.828813 meanmotrate: 0.000000 grav constant: 398598005011040.375000 ***************************************************************** satlat1: -1.046240 satlat2: -1.071369 asnflag: -1 DATA IS DESCENDING **************** INITAILIZATION OVER ****************** dashr: 72.363 RANGE0: 72.363000 IN SATGEO line: 0 spot: 204 time: 10970.431158 IN SATGEO line: 5 spot: 204 time: 10970.431187 RANGE: 72.363000 Pass is Descending at start center lat: -89.999943 center lon: 180.000000 range: 72.363000 images will be processed using chunks of 321 lines getting space for 10 bit image image.proj: 8 fpsza: 7047dfd8 fpsaza: 7047e070 opening 135324493.NSS.GHRR.NL.D11013.S0932.E1127.B5315152.WI.S.1 OPENING chan: 0 fp: 1883759312 opening 135324493.NSS.GHRR.NL.D11013.S0932.E1127.B5315152.WI.S.2 OPENING chan: 1 fp: 1883759464 opening 135324493.NSS.GHRR.NL.D11013.S0932.E1127.B5315152.WI.S.3 OPENING chan: 2 fp: 1883759616 opening 135324493.NSS.GHRR.NL.D11013.S0932.E1127.B5315152.WI.S.4 OPENING chan: 3 fp: 1883759768 opening 135324493.NSS.GHRR.NL.D11013.S0932.E1127.B5315152.WI.S.5 OPENING chan: 4 fp: 1883759920 getting space for time array getting space for sza array getting space for saza array getting space for satelv array getting space for sataz array ************************************* total bytes malloced is : 3453394 ************************************* ******** current elements follow******** taos: 10970.431158 time: 10970.431158 smajaxis: 7225816.951922 eccentricity: 0.001062 inclin: 1.730734 argper: 1.875402 longan: -3.962979 meananom: 2.333673 trueanom: 2.335207 altitude: 7231137.550385 ********************************************** satpos: 1627008.181021 -3233817.872157 -6272041.701013 satvel: -4840.296425 4369.099597 -3516.574664 satlat: -60.007666 satlon: -63.291979 COMMAND>DASHD: n INTERPOLATION CHOOSEN , every 8 x pixel and every 8 ypixel going through pixels **** before templat: -36.957736 centtodet: -37.142800 CORNERS OF WHOLE IMAGE FOLLOW North West Corner lat: -37.142800 lon: -45.000061 North East Corner lat: -37.320927 lon: 44.821012 South East Corner lat: -37.499365 lon: 135.000061 South West Corner lat: -37.320826 lon: 225.178988 interpolation choosen every 8 i pixels and every 8 j pixels image will be processed in 1 chunks of 321 image lines segment 0 startj: 0 stopj: 321 starti: 0 stopi: 320 numj: 321 north west----- lat: -36.957736 lon: -45.000061 line: -999 spot: -999 north east----- lat: -37.135539 lon: 44.821012 line: -999 spot: -999 south east-----lat: -37.135438 lon: 135.179109 line: -999 spot: 185 south west-----lat: -36.957635 lon: 224.999939 line: -999 spot: -999 doing chunk number: 0 from line: 0 to line: 320 numcelx: 40 numcely: 40 extrai: 0 extraj: 0 ****minline: 0 maxline: 1964 in data aquisiton maxline: 1964 minline: 0 in data aquistion module image is contained within lines : 1 and 1964 data will be processed using 20 chunks of 100 lines in get10 searching data lines 1 to 101 for image lines 0 to 321 in get10 searching data lines 101 to 201 for image lines 0 to 321 in get10 searching data lines 201 to 301 for image lines 0 to 321 in get10 searching data lines 301 to 401 for image lines 0 to 321 in get10 searching data lines 401 to 501 for image lines 0 to 321 in get10 searching data lines 501 to 601 for image lines 0 to 321 in get10 searching data lines 601 to 701 for image lines 0 to 321 in get10 searching data lines 701 to 801 for image lines 0 to 321 in get10 searching data lines 801 to 901 for image lines 0 to 321 in get10 searching data lines 901 to 1001 for image lines 0 to 321 in get10 searching data lines 1001 to 1101 for image lines 0 to 321 in get10 searching data lines 1101 to 1201 for image lines 0 to 321 in get10 searching data lines 1201 to 1301 for image lines 0 to 321 in get10 searching data lines 1301 to 1401 for image lines 0 to 321 in get10 searching data lines 1401 to 1501 for image lines 0 to 321 in get10 searching data lines 1501 to 1601 for image lines 0 to 321 in get10 searching data lines 1601 to 1701 for image lines 0 to 321 in get10 searching data lines 1701 to 1801 for image lines 0 to 321 in get10 searching data lines 1801 to 1901 for image lines 0 to 321 done processing 1966 lines in get10 searching data lines 1901 to 2001 for image lines 0 to 321 dumping SZA array in dumpother j1: 0 j2: 321 ysize: 321 fpother: 1883758552 writing other type image in dumpother j1: 0 j2: 321 ysize: 321 fpother: 1883758704 writing other type image *************** dashY: y dumping ELEV array in dumpother j1: 0 j2: 321 ysize: 321 fpother: 1883759160 writing other type image dumping AZIM array in dumpother j1: 0 j2: 321 ysize: 321 fpother: 1883759008 writing other type image constructing TIME array in puttime j1: 0 j2: 321 ysize: 321 dumping TIME array in dumpother j1: 0 j2: 321 ysize: 321 fpother: 1883758856 writing other type image nchan: 5 dumping ch: 0 fp: 1883759312 about to dump image number: 0 channel: 1 xsize: 321 ysize: 321 IN WRITEIMAGE chan: 0 fp: 1883759312 DOne with dumpimage fp: 1883759312 have dumped ch: 0 fp: 1883759312 dumping ch: 1 fp: 1883759464 about to dump image number: 1 channel: 2 xsize: 321 ysize: 321 IN WRITEIMAGE chan: 1 fp: 1883759464 DOne with dumpimage fp: 1883759464 have dumped ch: 1 fp: 1883759464 dumping ch: 2 fp: 1883759616 about to dump image number: 2 channel: 3 xsize: 321 ysize: 321 IN WRITEIMAGE chan: 2 fp: 1883759616 DOne with dumpimage fp: 1883759616 have dumped ch: 2 fp: 1883759616 dumping ch: 3 fp: 1883759768 about to dump image number: 3 channel: 4 xsize: 321 ysize: 321 IN WRITEIMAGE chan: 3 fp: 1883759768 DOne with dumpimage fp: 1883759768 have dumped ch: 3 fp: 1883759768 dumping ch: 4 fp: 1883759920 about to dump image number: 4 channel: 5 xsize: 321 ysize: 321 IN WRITEIMAGE chan: 4 fp: 1883759920 DOne with dumpimage fp: 1883759920 have dumped ch: 4 fp: 1883759920 About to write headers fp: 1883759768 done with navigation--retrieving data ***** Running polar regions subsetting at Fri Jan 14 02:18:04 CST 2011 ***** Working on year and julian day (yyddd): 11013 (2011 Jan 13) command line args: ephemfile: /Users/jkey/nav/ephemeris northlimit: 60.000000 southlimit: -60.000000 data is type: G sds-type is: H region is: O SDS GAC data selected. year: 2011 day: 13 miilsecs: 40934078 before md doy: 13 year: 2011 **julianday: 10970 year: 2011 day: 13 miilsecs: 40934078 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 year: 2011 day: 13 miilsecs: 40934578 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 year: 2011 day: 13 miilsecs: 40935078 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 taos: 40934078 satid: 16 julian day: 10970 nlines: 12702 GOING INTO initorb4 satnum: 16 navsatid: 26536 calling readephem taos: 10970.473774 opening ephemeris after opening ephemeris size: 76 *******ephemeris elements ************ satid: 26536 orbit: 65195 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 ecc: 0.001062 argper: 0.364140 ascnode: 0.799605 inclin: 0.275446 ephoc: 110105000000 **************************** ******ephemnot structure follows*******: satid: 26536 orbit: 65195 size: 76 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 eccen: 0.001062 argper: 0.364140 ascenode: 0.799605 inclin: 0.275446 earadius: 6378137.000000 oblat: 0.001083 ***************************************************************** YEAR HERE: 11 *********epheminit structure follows******* timnot: 10962.000000 smajaxis: 1.132905 decay: -0.000000 eccen: 0.001062 inclin: 1.730681 argper: 2.287962 perrate: -0.000551 longan: 5.024068 nodrate: 0.000201 ,meananom: 1.717550 meanmot: 0.828813 meanmotrate: 0.000000 grav constant: 398598005011040.375000 ***************************************************************** ******** current elements follow******** taos: 10970.473774 time: 10970.473774 smajaxis: 7225816.928883 eccentricity: 0.001062 inclin: 1.730681 argper: 1.873317 longan: -4.230631 meananom: 753.815128 trueanom: 753.814774 altitude: 7218250.947802 ********************************************** ******** current elements follow******** taos: 10970.473774 time: 10970.473774 smajaxis: 7225816.928883 eccentricity: 0.001062 inclin: 1.730681 argper: 1.873317 longan: -4.230631 meananom: 753.815128 trueanom: 753.814774 altitude: 7218250.947802 ********************************************** SPECIFIC DATA: bytesperline: 4608 scanspersec: 2.000000 line : 0 10970.473774 78.103411 -12.920739 7212881.672933 Opening data.NORTH1 and writing header line: 0 line : 100 10970.474353 76.046722 -22.492949 7212942.097451 line : 200 10970.474931 73.724485 -29.572793 7213058.712437 line : 300 10970.475510 71.234568 -34.926027 7213230.710993 line : 400 10970.476089 68.635034 -39.090578 7213457.027942 line : 500 10970.476668 65.960930 -42.423050 7213736.349152 line : 600 10970.477246 63.234112 -45.159156 7214067.122630 line : 700 10970.477825 60.468705 -47.457316 7214447.571313 line : 800 10970.478404 57.674156 -49.426475 7214875.707391 line : 900 10970.478982 54.856986 -51.143390 7215349.348042 line : 1000 10970.479561 52.021826 -52.663410 7215866.132427 line : 1100 10970.480140 49.172053 -54.027320 7216423.539754 line : 1200 10970.480718 46.310192 -55.265775 7217018.908272 line : 1300 10970.481297 43.438176 -56.402242 7217649.454972 line : 1400 10970.481876 40.557519 -57.454989 7218312.295840 line : 1500 10970.482455 37.669438 -58.438456 7219004.466453 line : 1600 10970.483033 34.774930 -59.364227 7219722.942717 line : 1700 10970.483612 31.874834 -60.241723 7220464.661577 line : 1800 10970.484191 28.969872 -61.078709 7221226.541485 line : 1900 10970.484769 26.060678 -61.881667 7222005.502446 line : 2000 10970.485348 23.147824 -62.656084 7222798.485477 line : 2100 10970.485927 20.231834 -63.406659 7223602.471280 line : 2200 10970.486506 17.313196 -64.137481 7224414.497992 line : 2300 10970.487084 14.392373 -64.852154 7225231.677850 line : 2400 10970.487663 11.469808 -65.553905 7226051.212633 line : 2500 10970.488242 8.545932 -66.245671 7226870.407768 line : 2600 10970.488820 5.621165 -66.930172 7227686.684981 line : 2700 10970.489399 2.695920 -67.609976 7228497.593416 line : 2800 10970.489978 -0.229395 -68.287550 7229300.819139 line : 2900 10970.490556 -3.154373 -68.965317 7230094.192977 line : 3000 10970.491135 -6.078609 -69.645702 7230875.696654 line : 3100 10970.491714 -9.001698 -70.331183 7231643.467213 line : 3200 10970.492293 -11.923230 -71.024341 7232395.799711 line : 3300 10970.492871 -14.842792 -71.727922 7233131.148220 line : 3400 10970.493450 -17.759962 -72.444894 7233848.125171 line : 3500 10970.494029 -20.674305 -73.178526 7234545.499079 line : 3600 10970.494607 -23.585368 -73.932473 7235222.190742 line : 3700 10970.495186 -26.492675 -74.710888 7235877.267989 line : 3800 10970.495765 -29.395714 -75.518557 7236509.939080 line : 3900 10970.496343 -32.293925 -76.361067 7237119.544873 line : 4000 10970.496922 -35.186686 -77.245033 7237705.549886 line : 4100 10970.497501 -38.073284 -78.178382 7238267.532391 line : 4200 10970.498080 -40.952890 -79.170747 7238805.173689 line : 4300 10970.498658 -43.824511 -80.233979 7239318.246707 line : 4400 10970.499237 -46.686932 -81.382871 7239806.604093 line : 4500 10970.499816 -49.538629 -82.636149 7240270.165959 line : 4600 10970.500394 -52.377650 -84.017898 7240708.907442 line : 4700 10970.500973 -55.201433 -85.559606 7241122.846246 line : 4800 10970.501552 -58.006537 -87.303213 7241512.030322 Opening data.SOUTH1 and writing header line: 4872 line : 4900 10970.502131 -60.788225 -89.305685 7241876.525861 line : 5000 10970.502709 -63.539806 -91.646093 7242216.405733 line : 5100 10970.503288 -66.251554 -94.436756 7242531.738539 line : 5200 10970.503867 -68.908882 -97.841044 7242822.578402 line : 5300 10970.504445 -71.489160 -102.101913 7243088.955630 line : 5400 10970.505024 -73.956022 -107.586068 7243330.868377 line : 5500 10970.505603 -76.249154 -114.843137 7243548.275392 line : 5600 10970.506181 -78.267099 -124.642939 7243741.089962 line : 5700 10970.506760 -79.845230 -137.818524 7243909.175129 line : 5800 10970.507339 -80.756096 -154.511764 7244052.340224 line : 5900 10970.507918 -80.799690 -172.945173 7244170.338793 line : 6000 10970.508496 -79.964796 170.083248 7244262.867921 line : 6100 10970.509075 -78.440094 156.557944 7244329.568987 line : 6200 10970.509654 -76.456314 146.470547 7244370.029837 line : 6300 10970.510232 -74.184904 139.008197 7244383.788355 line : 6400 10970.510811 -71.732402 133.382573 7244370.337405 line : 6500 10970.511390 -69.162169 129.023638 7244329.131087 line : 6600 10970.511968 -66.512316 125.549988 7244259.592237 line : 6700 10970.512547 -63.806479 122.709081 7244161.121090 line : 6800 10970.513126 -61.059840 120.331418 7244033.105020 line : 6900 10970.513705 -58.282491 118.300729 7243874.929232 line : 7000 10970.514283 -55.481350 116.535342 7243685.988288 line : 7100 10970.514862 -52.661304 114.976544 7243465.698352 line : 7200 10970.515441 -49.825890 113.581197 7243213.509985 line : 7300 10970.516019 -46.977735 112.316967 7242928.921365 line : 7400 10970.516598 -44.118835 111.159168 7242611.491762 line : 7500 10970.517177 -41.250740 110.088635 7242260.855111 line : 7600 10970.517756 -38.374684 109.090251 7241876.733525 line : 7700 10970.518334 -35.491671 108.151919 7241458.950574 line : 7800 10970.518913 -32.602536 107.263824 7241007.444175 line : 7900 10970.519492 -29.707992 106.417894 7240522.278917 line : 8000 10970.520070 -26.808661 105.607407 7240003.657686 line : 8100 10970.520649 -23.905098 104.826688 7239451.932403 line : 8200 10970.521228 -20.997809 104.070888 7238867.613766 line : 8300 10970.521806 -18.087265 103.335801 7238251.379828 line : 8400 10970.522385 -15.173909 102.617733 7237604.083303 line : 8500 10970.522964 -12.258168 101.913386 7236926.757474 line : 8600 10970.523543 -9.340454 101.219768 7236220.620612 line : 8700 10970.524121 -6.421169 100.534123 7235487.078807 line : 8800 10970.524700 -3.500714 99.853860 7234727.727140 line : 8900 10970.525279 -0.579482 99.176498 7233944.349147 line : 9000 10970.525857 2.342133 98.499617 7233138.914529 line : 9100 10970.526436 5.263736 97.820805 7232313.575085 line : 9200 10970.527015 8.184929 97.137609 7231470.658872 line : 9300 10970.527593 11.105312 96.447486 7230612.662592 line : 9400 10970.528172 14.024477 95.747745 7229742.242257 line : 9500 10970.528751 16.942006 95.035489 7228862.202163 line : 9600 10970.529330 19.857467 94.307540 7227975.482259 line : 9700 10970.529908 22.770413 93.560359 7227085.143981 line : 9800 10970.530487 25.680367 92.789939 7226194.354665 line : 9900 10970.531066 28.586823 91.991677 7225306.370652 line : 10000 10970.531644 31.489227 91.160217 7224424.519211 line : 10100 10970.532223 34.386962 90.289237 7223552.179446 line : 10200 10970.532802 37.279330 89.371180 7222692.762312 line : 10300 10970.533381 40.165520 88.396894 7221849.689945 line : 10400 10970.533959 43.044566 87.355148 7221026.374454 line : 10500 10970.534538 45.915299 86.231967 7220226.196375 line : 10600 10970.535117 48.776259 85.009712 7219452.482970 line : 10700 10970.535695 51.625589 83.665776 7218708.486569 line : 10800 10970.536274 54.460869 82.170698 7217997.363143 line : 10900 10970.536853 57.278873 80.485390 7217322.151307 Opening data.NORTH2 and writing header line: 10998 line : 11000 10970.537431 60.075186 78.556966 7216685.751941 line : 11100 10970.538010 62.843620 76.312320 7216090.908620 line : 11200 10970.538589 65.575242 73.648041 7215540.189022 line : 11300 10970.539168 68.256754 70.414289 7215035.967503 line : 11400 10970.539746 70.867686 66.388804 7214580.408985 line : 11500 10970.540325 73.375380 61.235886 7214175.454313 line : 11600 10970.540904 75.725948 54.447838 7213822.807218 line : 11700 10970.541482 77.828624 45.291383 7213523.923005 line : 11800 10970.542061 79.533465 32.888621 7213279.999067 line : 11900 10970.542640 80.621350 16.808444 7213091.967322 line : 12000 10970.543218 80.869223 -1.653789 7212960.488630 line : 12100 10970.543797 80.213022 -19.334426 7212885.949247 line : 12200 10970.544376 78.810487 -33.747147 7212868.459347 line : 12300 10970.544955 76.898838 -44.552632 7212907.853616 line : 12400 10970.545533 74.666930 -52.514083 7213003.693908 line : 12500 10970.546112 72.234613 -58.473381 7213155.273942 line : 12600 10970.546691 69.673228 -63.056647 7213361.625979 could not read line 12699 writing header for file 0 goint into getcorrectsdsvals year: 2011 day: 13 miilsecs: 40934078 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 going into makeheader with taos: 10970.473774 satid: 16 nlines: 720 IN MAKEHEADER going into first make1btime in make1btime taos: 10970.473774 millsec: 40934078 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 after first make1btime in make1btime taos: 10970.475163 millsec: 41054078 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 DONE WITH MAKEHEADER writing header for file 1 goint into getcorrectsdsvals year: 2011 day: 13 miilsecs: 46434578 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 going into makeheader with taos: 10970.537437 satid: 16 nlines: 1701 IN MAKEHEADER going into first make1btime in make1btime taos: 10970.537437 millsec: 46434578 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 after first make1btime in make1btime taos: 10970.540718 millsec: 46718078 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 DONE WITH MAKEHEADER writing header for file 2 goint into getcorrectsdsvals year: 2011 day: 13 miilsecs: 43371578 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 going into makeheader with taos: 10970.501986 satid: 16 nlines: 1967 IN MAKEHEADER going into first make1btime in make1btime taos: 10970.501986 millsec: 43371578 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 after first make1btime in make1btime taos: 10970.505780 millsec: 43699411 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 DONE WITH MAKEHEADER ***** Running navigation/calibration at Fri Jan 14 02:18:04 CST 2011 ***** Working on year and julian day (yyddd): 11013 (2011 Jan 13) no H option specified TBMFLAG: compval: 0 reading input header input header has been read satid from header : 2 XX satid: 16 getting time from firstline getting time in gettime in: 7 db 0 d 0 6b 2 70 9a be year: 2011 day: 13 ymd year: 2011 ymd yeardif: 30 after getheader done with 720 lines header count: 0 actual: 720 header will be rewritten output header follows: satid: 16 orbnum: 0 nlines: 720 julday: 10970 taos: 40934078 NEW PROCESSGENERICGAC year: 2011 input file is : tmp output file is : tmp.p new processraw opening raw file: tmp opening archive file and writing header to tmp.p header written to newdataset dumsat: 3 satid from first line is: 16 year before julianday call: 2011 firstline curday: 13 julian: 10970 time: 40934078 linein: 0 curtime: 40934578 lasttime: 40934078 lastgood: 40934078 timdif: 500 linein: 100 curtime: 40984578 lasttime: 40984078 lastgood: 40984078 timdif: 500 linein: 200 curtime: 41034578 lasttime: 41034078 lastgood: 41034078 timdif: 500 linein: 300 curtime: 41084578 lasttime: 41084078 lastgood: 41084078 timdif: 500 linein: 400 curtime: 41134578 lasttime: 41134078 lastgood: 41134078 timdif: 500 linein: 500 curtime: 41184578 lasttime: 41184078 lastgood: 41184078 timdif: 500 linein: 600 curtime: 41234578 lasttime: 41234078 lastgood: 41234078 timdif: 500 linein: 700 curtime: 41284578 lasttime: 41284078 lastgood: 41284078 timdif: 500 could not read line bytes read: 0 error reading line: 719 archive corect to here will rewrite header correctly cleaning up archive file new header being written as: satid: 16 orbit number: 0 dum: 0 number of lines: 720 julian day: 10970d time of first scan: 11.370578 processing GAC data satid: 16 orbit number: 0 dum: 0 number of lines: 720 julian day: 10970d time of first scan: 11.370578 Seasonal correction for julian date 10970.473774 = 0.967334 flag is : S 11/01/13 00:00:00110113000000 year: 11 month: 1 day: 13 dayofyear: 13 file containing coefficients is COEFFS.16 calling openparm16 before sprintf parmfilename: /Users/jkey/nav/cal/calib16.dat i: 0 nu: 2226.179930 i: 1 nu: 782.472410 i: 2 nu: 714.285640 chan: 0 nuc: 2700.114800 A: 1.592459 B: 0.998147 chan: 1 nuc: 917.228900 A: 0.332380 B: 0.998522 chan: 2 nuc: 838.125500 A: 0.674623 B: 0.998363 i: 0 wave:0.000000 i: 1 wave:0.000000 i: 2 wave:2700.114800 i: 3 wave:917.228900 i: 4 wave:838.125500 before look for Z after look for Z about to leave openparm newflag is 1: 1 about to open: tmp.p headstuff: sat: 16 orb: 0 julianday: 10970 taos: 40934078 length of headstuff: 57 headstuff: sat: 16 orb: 0 julianday: 10970 taos: 40934078 0.000 0.000 2700.1148 917.2289 838.1255 length of headstuff: 106 ************** results of initial calibration ******** from header firstday is : 13 arcsize: 5626 in sequence numlines: 1 day: 13 val: 0 realline before: 1 spaceref: 0.000000 targtemp: 296.352879 space rad: 0.000000 -4.500000 -3.610000 average space counts: 990.520000 991.300000 994.640000 average internal counts: 795.720000 400.540000 383.980000 satid: 16 launch_indx: -1 chan: 3 radspace: 0.000000 radtarget: 0.497654 spacebar:990.520000 internalbar: 795.720000 chan: 3 radspace: 0.000000 radtarget: 0.497654 spacebar:990.520000 internalbar: 795.720000 gain: -0.002555 offset: 2.530473 chan: 4 radspace: -4.500000 radtarget: 108.092646 spacebar:991.300000 internalbar: 400.540000 chan: 4 radspace: -4.500000 radtarget: 108.092646 spacebar:991.300000 internalbar: 400.540000 gain: -0.190589 offset: 184.431366 chan: 5 radspace: -3.610000 radtarget: 122.271720 spacebar:994.640000 internalbar: 383.980000 chan: 5 radspace: -3.610000 radtarget: 122.271720 spacebar:994.640000 internalbar: 383.980000 gain: -0.206140 offset: 201.425537 gain after: 0.054945 gain after: 0.054945 gain and offset up to scan line 51 : 0.054945 -2.115947 0.057653 -2.330889 -0.002555 2.530473 -0.190589 184.431366 -0.206140 201.425537 ************************************************************ trouble reading line in main DONE WITH CALIBRATION there were 720 lines done THIS IS ACTUALLY rawcal15_new AS IT SHOULD BE CALIBRATION FILE: COEFFS.16 RADFLAG: 1 calib_dir: /Users/jkey/nav/cal name of caldatfile is: /Users/jkey/nav/cal/calibnew16.dat have found CENTRAL WAVE in string CENTRAL WAVE NUMBER TABLE 190.000000 230.000000 2638.652000 928.260300 834.449600 230.000000 270.000000 2642.807000 928.828400 834.806600 270.000000 310.000000 2645.899000 929.332300 835.164700 have found SPLIT CAL in string SPLIT CAL TABLE SPLIT GAINS and OFFSETS CHAN 1 count 0-490 gain: 0.052300 offset: -2.016000 CHAN 1 count 491-1023 gain: 0.152800 offset: -51.910000 CHAN 2 count 0-500 gain: 0.051300 offset: -1.943000 CHAN 2 count 501-1023 gain: 0.151000 offset: -51.770000 CHAN 3 count 0-499 gain: 0.028700 offset: -2.043000 CHAN 3 count 500-1023 gain: 0.180600 offset: -78.030000 WE ARE GOING NON LINEAR name of caldatfile is: /Users/jkey/nav/cal/calibnew16.dat have found NON LINEAR in string ABOUT TO READ NON LINEAR MATRIX have READ NON LINEAR MATRIX DONE WITH NON LINEAR STUFF have found NEW COEFFS in string ABOUT TO READ NEW COEFFS i: 0 NUC: 2700.114800 Anew: 1.592459 Bnew: 0.998147 NS: 0.000000 B0: 0.000000 B1: 0.000000 B2: 0.000000 i: 1 NUC: 917.228900 Anew: 0.332380 Bnew: 0.998522 NS: -2.467000 B0: 2.960000 B1: -0.054110 B2: 0.000245 i: 2 NUC: 838.125500 Anew: 0.674623 Bnew: 0.998363 NS: -2.009000 B0: 2.225000 B1: -0.036650 B2: 0.000149 DONE WITH NEW COEFFS calhead: sat: 16 orb: 0 julianday: 10970 taos: 40934078 0.000 0.000 2700.1148 917.2289 838.1255 j/Users/jkey/nav/cal/calibnew16.dat calhead: 0.000 0.000 2700.1148 917.2289 838.1255 j/Users/jkey/nav/cal/calibnew16.dat wavecent: 0.000000 0.000000 2700.114800 917.228900 838.125500 INVWAVE: 0.000000 size of cal file is: 76532 have read in cal array number of lines 720 doing raw line: 0 doing raw line: 500 TIME calculation WAS REQUESTED SZA calculation WAS REQUESTED LINE and SAMPLE DATA WAS REQUESTED OSCULATING CORRECTIONS WILL BE APPLIED dashv: temp: strlen: 0 dashH: n strlen: 1 AFTER GET OPTIONS GAC DATA OPTION HAS BEEN CHOOSEN AFTER INIT input file has been opened, fp: 1883758400 after openarc fp: 1883758400 sid: 16d orbnum: 0d numscan: 720d milday: 40934078d *** data header *** satid: 16 orbit number: 0 number of lines: 720 julian day: 10970 time of first scan: 11.370578 ******************** AFTER INITDATA julday: 10970 taos: 40934078 TIME OF FIRST SCAN : 11/01/13 11:22:14 looking for ephemeris data for taos: 10970.473774 opening ephemeris after opening ephemeris size: 76 *******ephemeris elements ************ satid: 26536 orbit: 65195 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 ecc: 0.001062 argper: 0.364140 ascnode: 0.799605 inclin: 0.275446 ephoc: 110105000000 **************************** ******ephemnot structure follows*******: satid: 26536 orbit: 65195 size: 76 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 eccen: 0.001062 argper: 0.364140 ascenode: 0.799605 inclin: 0.275446 earadius: 6378137.000000 oblat: 0.001083 ***************************************************************** *********epheminit structure follows******* timnot: 10962.000000 smajaxis: 1.132905 decay: -0.000000 eccen: 0.001062 inclin: 1.730681 argper: 2.287962 perrate: -0.000551 longan: 5.024068 nodrate: 0.000201 ,meananom: 1.717550 meanmot: 0.828813 meanmotrate: 0.000000 grav constant: 398598005011040.375000 ***************************************************************** satlat1: 1.361876 satlat2: 1.343872 asnflag: -1 DATA IS DESCENDING **************** INITAILIZATION OVER ****************** dashr: 81.38011 RANGE0: 81.380110 IN SATGEO line: 0 spot: 204 time: 10970.473774 IN SATGEO line: 5 spot: 204 time: 10970.473803 RANGE: 81.380110 Pass is Descending at start center lat: 90.000000 center lon: 0.000000 range: 81.380110 images will be processed using chunks of 361 lines getting space for 10 bit image image.proj: 8 fpsza: 7047dfd8 fpsaza: 7047e070 opening 135334573.NSS.GHRR.NL.D11013.S1122.E1308.B5315253.WI.N1.1 OPENING chan: 0 fp: 1883759312 opening 135334573.NSS.GHRR.NL.D11013.S1122.E1308.B5315253.WI.N1.2 OPENING chan: 1 fp: 1883759464 opening 135334573.NSS.GHRR.NL.D11013.S1122.E1308.B5315253.WI.N1.3 OPENING chan: 2 fp: 1883759616 opening 135334573.NSS.GHRR.NL.D11013.S1122.E1308.B5315253.WI.N1.4 OPENING chan: 3 fp: 1883759768 opening 135334573.NSS.GHRR.NL.D11013.S1122.E1308.B5315253.WI.N1.5 OPENING chan: 4 fp: 1883759920 getting space for time array getting space for sza array getting space for saza array getting space for satelv array getting space for sataz array ************************************* total bytes malloced is : 4217234 ************************************* ******** current elements follow******** taos: 10970.473774 time: 10970.473774 smajaxis: 7225816.928883 eccentricity: 0.001062 inclin: 1.730777 argper: 1.873317 longan: -4.230604 meananom: 6.116076 trueanom: 6.115723 altitude: 7218247.688201 ********************************************** satpos: 1459858.633277 -334908.445240 7055658.093466 satvel: 3272.568744 -6603.438836 -989.898394 satlat: 78.015108 satlon: -12.920739 COMMAND>DASHD: n INTERPOLATION CHOOSEN , every 8 x pixel and every 8 ypixel going through pixels **** before templat: 29.712678 centtodet: 29.878633 CORNERS OF WHOLE IMAGE FOLLOW North West Corner lat: 29.878633 lon: 225.000000 North East Corner lat: 30.063244 lon: 135.159155 South East Corner lat: 30.248190 lon: 45.000000 South West Corner lat: 30.063244 lon: -45.159155 interpolation choosen every 8 i pixels and every 8 j pixels image will be processed in 1 chunks of 361 image lines segment 0 startj: 0 stopj: 361 starti: 0 stopi: 360 numj: 361 north west----- lat: 29.712678 lon: 225.000000 line: -999 spot: -999 north east----- lat: 29.896666 lon: 135.159155 line: -999 spot: -999 south east-----lat: 29.896666 lon: 44.840845 line: -999 spot: -999 south west-----lat: 29.712678 lon: -45.000000 line: -999 spot: 408 doing chunk number: 0 from line: 0 to line: 360 numcelx: 45 numcely: 45 extrai: 0 extraj: 0 ****minline: 0 maxline: 715 in data aquisiton maxline: 715 minline: 0 in data aquistion module image is contained within lines : 1 and 715 data will be processed using 8 chunks of 100 lines in get10 searching data lines 1 to 101 for image lines 0 to 361 in get10 searching data lines 101 to 201 for image lines 0 to 361 in get10 searching data lines 201 to 301 for image lines 0 to 361 in get10 searching data lines 301 to 401 for image lines 0 to 361 in get10 searching data lines 401 to 501 for image lines 0 to 361 in get10 searching data lines 501 to 601 for image lines 0 to 361 in get10 searching data lines 601 to 701 for image lines 0 to 361 done processing 720 lines in get10 searching data lines 701 to 801 for image lines 0 to 361 dumping SZA array in dumpother j1: 0 j2: 361 ysize: 361 fpother: 1883758552 writing other type image in dumpother j1: 0 j2: 361 ysize: 361 fpother: 1883758704 writing other type image *************** dashY: y dumping ELEV array in dumpother j1: 0 j2: 361 ysize: 361 fpother: 1883759160 writing other type image dumping AZIM array in dumpother j1: 0 j2: 361 ysize: 361 fpother: 1883759008 writing other type image constructing TIME array in puttime j1: 0 j2: 361 ysize: 361 dumping TIME array in dumpother j1: 0 j2: 361 ysize: 361 fpother: 1883758856 writing other type image nchan: 5 dumping ch: 0 fp: 1883759312 about to dump image number: 0 channel: 1 xsize: 361 ysize: 361 IN WRITEIMAGE chan: 0 fp: 1883759312 DOne with dumpimage fp: 1883759312 have dumped ch: 0 fp: 1883759312 dumping ch: 1 fp: 1883759464 about to dump image number: 1 channel: 2 xsize: 361 ysize: 361 IN WRITEIMAGE chan: 1 fp: 1883759464 DOne with dumpimage fp: 1883759464 have dumped ch: 1 fp: 1883759464 dumping ch: 2 fp: 1883759616 about to dump image number: 2 channel: 3 xsize: 361 ysize: 361 IN WRITEIMAGE chan: 2 fp: 1883759616 DOne with dumpimage fp: 1883759616 have dumped ch: 2 fp: 1883759616 dumping ch: 3 fp: 1883759768 about to dump image number: 3 channel: 4 xsize: 361 ysize: 361 IN WRITEIMAGE chan: 3 fp: 1883759768 DOne with dumpimage fp: 1883759768 have dumped ch: 3 fp: 1883759768 dumping ch: 4 fp: 1883759920 about to dump image number: 4 channel: 5 xsize: 361 ysize: 361 IN WRITEIMAGE chan: 4 fp: 1883759920 DOne with dumpimage fp: 1883759920 have dumped ch: 4 fp: 1883759920 About to write headers fp: 1883759768 done with navigation--retrieving data ***** Running navigation/calibration at Fri Jan 14 02:18:05 CST 2011 ***** Working on year and julian day (yyddd): 11013 (2011 Jan 13) no H option specified TBMFLAG: compval: 0 reading input header input header has been read satid from header : 2 XX satid: 16 getting time from firstline getting time in gettime in: 7 db 0 d 0 6b 2 c4 89 12 year: 2011 day: 13 ymd year: 2011 ymd yeardif: 30 after getheader done with 1701 lines header count: 0 actual: 1701 header will be rewritten output header follows: satid: 16 orbnum: 0 nlines: 1701 julday: 10970 taos: 46434578 NEW PROCESSGENERICGAC year: 2011 input file is : tmp output file is : tmp.p new processraw opening raw file: tmp opening archive file and writing header to tmp.p header written to newdataset dumsat: 3 satid from first line is: 16 year before julianday call: 2011 firstline curday: 13 julian: 10970 time: 46434578 linein: 0 curtime: 46435078 lasttime: 46434578 lastgood: 46434578 timdif: 500 linein: 100 curtime: 46485078 lasttime: 46484578 lastgood: 46484578 timdif: 500 linein: 200 curtime: 46535078 lasttime: 46534578 lastgood: 46534578 timdif: 500 linein: 300 curtime: 46585078 lasttime: 46584578 lastgood: 46584578 timdif: 500 linein: 400 curtime: 46635078 lasttime: 46634578 lastgood: 46634578 timdif: 500 linein: 500 curtime: 46685078 lasttime: 46684578 lastgood: 46684578 timdif: 500 linein: 600 curtime: 46735078 lasttime: 46734578 lastgood: 46734578 timdif: 500 linein: 700 curtime: 46785078 lasttime: 46784578 lastgood: 46784578 timdif: 500 linein: 800 curtime: 46835078 lasttime: 46834578 lastgood: 46834578 timdif: 500 linein: 900 curtime: 46885078 lasttime: 46884578 lastgood: 46884578 timdif: 500 linein: 1000 curtime: 46935078 lasttime: 46934578 lastgood: 46934578 timdif: 500 linein: 1100 curtime: 46985078 lasttime: 46984578 lastgood: 46984578 timdif: 500 linein: 1200 curtime: 47035078 lasttime: 47034578 lastgood: 47034578 timdif: 500 linein: 1300 curtime: 47085078 lasttime: 47084578 lastgood: 47084578 timdif: 500 linein: 1400 curtime: 47135078 lasttime: 47134578 lastgood: 47134578 timdif: 500 linein: 1500 curtime: 47185078 lasttime: 47184578 lastgood: 47184578 timdif: 500 linein: 1600 curtime: 47235078 lasttime: 47234578 lastgood: 47234578 timdif: 500 could not read line bytes read: 0 error reading line: 1700 archive corect to here will rewrite header correctly cleaning up archive file new header being written as: satid: 16 orbit number: 0 dum: 0 number of lines: 1701 julian day: 10970d time of first scan: 12.898494 processing GAC data satid: 16 orbit number: 0 dum: 0 number of lines: 1701 julian day: 10970d time of first scan: 12.898494 Seasonal correction for julian date 10970.537437 = 0.967340 flag is : S 11/01/13 00:00:00110113000000 year: 11 month: 1 day: 13 dayofyear: 13 file containing coefficients is COEFFS.16 calling openparm16 before sprintf parmfilename: /Users/jkey/nav/cal/calib16.dat i: 0 nu: 2226.179930 i: 1 nu: 782.472410 i: 2 nu: 714.285640 chan: 0 nuc: 2700.114800 A: 1.592459 B: 0.998147 chan: 1 nuc: 917.228900 A: 0.332380 B: 0.998522 chan: 2 nuc: 838.125500 A: 0.674623 B: 0.998363 i: 0 wave:0.000000 i: 1 wave:0.000000 i: 2 wave:2700.114800 i: 3 wave:917.228900 i: 4 wave:838.125500 before look for Z after look for Z about to leave openparm newflag is 1: 1 about to open: tmp.p headstuff: sat: 16 orb: 0 julianday: 10970 taos: 46434578 length of headstuff: 57 headstuff: sat: 16 orb: 0 julianday: 10970 taos: 46434578 0.000 0.000 2700.1148 917.2289 838.1255 length of headstuff: 106 ************** results of initial calibration ******** from header firstday is : 13 arcsize: 5626 in sequence numlines: 1 day: 13 val: 388 arcsize: 5626 in sequence numlines: 2 day: 13 val: 383 arcsize: 5626 in sequence numlines: 3 day: 13 val: 384 arcsize: 5626 in sequence numlines: 4 day: 13 val: 388 arcsize: 5626 in sequence numlines: 5 day: 13 val: 0 realline before: 5 spaceref: 0.000000 targtemp: 296.399353 space rad: 0.000000 -4.500000 -3.610000 average space counts: 990.400000 991.280000 994.360000 average internal counts: 795.740000 398.700000 382.760000 satid: 16 launch_indx: -1 chan: 3 radspace: 0.000000 radtarget: 0.498669 spacebar:990.400000 internalbar: 795.740000 chan: 3 radspace: 0.000000 radtarget: 0.498669 spacebar:990.400000 internalbar: 795.740000 gain: -0.002562 offset: 2.537150 chan: 4 radspace: -4.500000 radtarget: 108.168976 spacebar:991.280000 internalbar: 398.700000 chan: 4 radspace: -4.500000 radtarget: 108.168976 spacebar:991.280000 internalbar: 398.700000 gain: -0.190133 offset: 183.974976 chan: 5 radspace: -3.610000 radtarget: 122.350886 spacebar:994.360000 internalbar: 382.760000 chan: 5 radspace: -3.610000 radtarget: 122.350886 spacebar:994.360000 internalbar: 382.760000 gain: -0.205953 offset: 201.181473 gain after: 0.054945 gain after: 0.054945 gain and offset up to scan line 55 : 0.054945 -2.115961 0.057653 -2.330904 -0.002562 2.537150 -0.190133 183.974976 -0.205953 201.181473 ************************************************************ trouble reading line in main DONE WITH CALIBRATION there were 1701 lines done THIS IS ACTUALLY rawcal15_new AS IT SHOULD BE CALIBRATION FILE: COEFFS.16 RADFLAG: 1 calib_dir: /Users/jkey/nav/cal name of caldatfile is: /Users/jkey/nav/cal/calibnew16.dat have found CENTRAL WAVE in string CENTRAL WAVE NUMBER TABLE 190.000000 230.000000 2638.652000 928.260300 834.449600 230.000000 270.000000 2642.807000 928.828400 834.806600 270.000000 310.000000 2645.899000 929.332300 835.164700 have found SPLIT CAL in string SPLIT CAL TABLE SPLIT GAINS and OFFSETS CHAN 1 count 0-490 gain: 0.052300 offset: -2.016000 CHAN 1 count 491-1023 gain: 0.152800 offset: -51.910000 CHAN 2 count 0-500 gain: 0.051300 offset: -1.943000 CHAN 2 count 501-1023 gain: 0.151000 offset: -51.770000 CHAN 3 count 0-499 gain: 0.028700 offset: -2.043000 CHAN 3 count 500-1023 gain: 0.180600 offset: -78.030000 WE ARE GOING NON LINEAR name of caldatfile is: /Users/jkey/nav/cal/calibnew16.dat have found NON LINEAR in string ABOUT TO READ NON LINEAR MATRIX have READ NON LINEAR MATRIX DONE WITH NON LINEAR STUFF have found NEW COEFFS in string ABOUT TO READ NEW COEFFS i: 0 NUC: 2700.114800 Anew: 1.592459 Bnew: 0.998147 NS: 0.000000 B0: 0.000000 B1: 0.000000 B2: 0.000000 i: 1 NUC: 917.228900 Anew: 0.332380 Bnew: 0.998522 NS: -2.467000 B0: 2.960000 B1: -0.054110 B2: 0.000245 i: 2 NUC: 838.125500 Anew: 0.674623 Bnew: 0.998363 NS: -2.009000 B0: 2.225000 B1: -0.036650 B2: 0.000149 DONE WITH NEW COEFFS calhead: sat: 16 orb: 0 julianday: 10970 taos: 46434578 0.000 0.000 2700.1148 917.2289 838.1255  K/Users/jkey/nav/cal/calibnew16.dat calhead: 0.000 0.000 2700.1148 917.2289 838.1255  K/Users/jkey/nav/cal/calibnew16.dat wavecent: 0.000000 0.000000 2700.114800 917.228900 838.125500 INVWAVE: 0.000000 size of cal file is: 180518 have read in cal array number of lines 1701 doing raw line: 0 doing raw line: 500 doing raw line: 1000 doing raw line: 1500 TIME calculation WAS REQUESTED SZA calculation WAS REQUESTED LINE and SAMPLE DATA WAS REQUESTED OSCULATING CORRECTIONS WILL BE APPLIED dashv: temp: strlen: 0 dashH: n strlen: 1 AFTER GET OPTIONS GAC DATA OPTION HAS BEEN CHOOSEN AFTER INIT input file has been opened, fp: 1883758400 after openarc fp: 1883758400 sid: 16d orbnum: 0d numscan: 1701d milday: 46434578d *** data header *** satid: 16 orbit number: 0 number of lines: 1701 julian day: 10970 time of first scan: 12.898494 ******************** AFTER INITDATA julday: 10970 taos: 46434578 TIME OF FIRST SCAN : 11/01/13 12:53:55 looking for ephemeris data for taos: 10970.537437 opening ephemeris after opening ephemeris size: 76 *******ephemeris elements ************ satid: 26536 orbit: 65195 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 ecc: 0.001062 argper: 0.364140 ascnode: 0.799605 inclin: 0.275446 ephoc: 110105000000 **************************** ******ephemnot structure follows*******: satid: 26536 orbit: 65195 size: 76 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 eccen: 0.001062 argper: 0.364140 ascenode: 0.799605 inclin: 0.275446 earadius: 6378137.000000 oblat: 0.001083 ***************************************************************** *********epheminit structure follows******* timnot: 10962.000000 smajaxis: 1.132905 decay: -0.000000 eccen: 0.001062 inclin: 1.730681 argper: 2.287962 perrate: -0.000551 longan: 5.024068 nodrate: 0.000201 ,meananom: 1.717550 meanmot: 0.828813 meanmotrate: 0.000000 grav constant: 398598005011040.375000 ***************************************************************** satlat1: 1.046104 satlat2: 1.071309 asnflag: 1 DATA IS ASCENDING **************** INITAILIZATION OVER ****************** dashr: 81.38011 RANGE0: 81.380110 IN SATGEO line: 0 spot: 204 time: 10970.537437 IN SATGEO line: 5 spot: 204 time: 10970.537466 RANGE: 81.380110 Pass is Ascending at start center lat: 90.000000 center lon: 0.000000 range: 81.380110 images will be processed using chunks of 361 lines getting space for 10 bit image image.proj: 8 fpsza: 7047dfd8 fpsaza: 7047e070 opening 135334573.NSS.GHRR.NL.D11013.S1122.E1308.B5315253.WI.N2.1 OPENING chan: 0 fp: 1883759312 opening 135334573.NSS.GHRR.NL.D11013.S1122.E1308.B5315253.WI.N2.2 OPENING chan: 1 fp: 1883759464 opening 135334573.NSS.GHRR.NL.D11013.S1122.E1308.B5315253.WI.N2.3 OPENING chan: 2 fp: 1883759616 opening 135334573.NSS.GHRR.NL.D11013.S1122.E1308.B5315253.WI.N2.4 OPENING chan: 3 fp: 1883759768 opening 135334573.NSS.GHRR.NL.D11013.S1122.E1308.B5315253.WI.N2.5 OPENING chan: 4 fp: 1883759920 getting space for time array getting space for sza array getting space for saza array getting space for satelv array getting space for sataz array ************************************* total bytes malloced is : 4217234 ************************************* ******** current elements follow******** taos: 10970.537437 time: 10970.537437 smajaxis: 7225816.894465 eccentricity: 0.001062 inclin: 1.730734 argper: 1.870202 longan: -4.630684 meananom: 5.483382 trueanom: 5.481857 altitude: 7220459.976040 ********************************************** satpos: 719732.623356 3549078.103085 6242314.782497 satvel: 1099.126270 -6451.272508 3526.909596 satlat: 59.880916 satlon: 78.536210 COMMAND>DASHD: n INTERPOLATION CHOOSEN , every 8 x pixel and every 8 ypixel going through pixels **** before templat: 29.712678 centtodet: 29.878633 CORNERS OF WHOLE IMAGE FOLLOW North West Corner lat: 29.878633 lon: 225.000000 North East Corner lat: 30.063244 lon: 135.159155 South East Corner lat: 30.248190 lon: 45.000000 South West Corner lat: 30.063244 lon: -45.159155 interpolation choosen every 8 i pixels and every 8 j pixels image will be processed in 1 chunks of 361 image lines segment 0 startj: 0 stopj: 361 starti: 0 stopi: 360 numj: 361 north west----- lat: 29.712678 lon: 225.000000 line: -999 spot: -999 north east----- lat: 29.896666 lon: 135.159155 line: -999 spot: -999 south east-----lat: 29.896666 lon: 44.840845 line: -999 spot: -999 south west-----lat: 29.712678 lon: -45.000000 line: -999 spot: -999 doing chunk number: 0 from line: 0 to line: 360 numcelx: 45 numcely: 45 extrai: 0 extraj: 0 ****minline: 0 maxline: 1698 in data aquisiton maxline: 1698 minline: 0 in data aquistion module image is contained within lines : 1 and 1698 data will be processed using 17 chunks of 100 lines in get10 searching data lines 1 to 101 for image lines 0 to 361 in get10 searching data lines 101 to 201 for image lines 0 to 361 in get10 searching data lines 201 to 301 for image lines 0 to 361 in get10 searching data lines 301 to 401 for image lines 0 to 361 in get10 searching data lines 401 to 501 for image lines 0 to 361 in get10 searching data lines 501 to 601 for image lines 0 to 361 in get10 searching data lines 601 to 701 for image lines 0 to 361 in get10 searching data lines 701 to 801 for image lines 0 to 361 in get10 searching data lines 801 to 901 for image lines 0 to 361 in get10 searching data lines 901 to 1001 for image lines 0 to 361 in get10 searching data lines 1001 to 1101 for image lines 0 to 361 in get10 searching data lines 1101 to 1201 for image lines 0 to 361 in get10 searching data lines 1201 to 1301 for image lines 0 to 361 in get10 searching data lines 1301 to 1401 for image lines 0 to 361 in get10 searching data lines 1401 to 1501 for image lines 0 to 361 in get10 searching data lines 1501 to 1601 for image lines 0 to 361 done processing 1701 lines in get10 searching data lines 1601 to 1701 for image lines 0 to 361 dumping SZA array in dumpother j1: 0 j2: 361 ysize: 361 fpother: 1883758552 writing other type image in dumpother j1: 0 j2: 361 ysize: 361 fpother: 1883758704 writing other type image *************** dashY: y dumping ELEV array in dumpother j1: 0 j2: 361 ysize: 361 fpother: 1883759160 writing other type image dumping AZIM array in dumpother j1: 0 j2: 361 ysize: 361 fpother: 1883759008 writing other type image constructing TIME array in puttime j1: 0 j2: 361 ysize: 361 dumping TIME array in dumpother j1: 0 j2: 361 ysize: 361 fpother: 1883758856 writing other type image nchan: 5 dumping ch: 0 fp: 1883759312 about to dump image number: 0 channel: 1 xsize: 361 ysize: 361 IN WRITEIMAGE chan: 0 fp: 1883759312 DOne with dumpimage fp: 1883759312 have dumped ch: 0 fp: 1883759312 dumping ch: 1 fp: 1883759464 about to dump image number: 1 channel: 2 xsize: 361 ysize: 361 IN WRITEIMAGE chan: 1 fp: 1883759464 DOne with dumpimage fp: 1883759464 have dumped ch: 1 fp: 1883759464 dumping ch: 2 fp: 1883759616 about to dump image number: 2 channel: 3 xsize: 361 ysize: 361 IN WRITEIMAGE chan: 2 fp: 1883759616 DOne with dumpimage fp: 1883759616 have dumped ch: 2 fp: 1883759616 dumping ch: 3 fp: 1883759768 about to dump image number: 3 channel: 4 xsize: 361 ysize: 361 IN WRITEIMAGE chan: 3 fp: 1883759768 DOne with dumpimage fp: 1883759768 have dumped ch: 3 fp: 1883759768 dumping ch: 4 fp: 1883759920 about to dump image number: 4 channel: 5 xsize: 361 ysize: 361 IN WRITEIMAGE chan: 4 fp: 1883759920 DOne with dumpimage fp: 1883759920 have dumped ch: 4 fp: 1883759920 About to write headers fp: 1883759768 done with navigation--retrieving data rm: data.*: No such file or directory ***** Running polar regions subsetting at Fri Jan 14 02:18:06 CST 2011 ***** Working on year and julian day (yyddd): 11013 (2011 Jan 13) command line args: ephemfile: /Users/jkey/nav/ephemeris northlimit: 60.000000 southlimit: -60.000000 data is type: G sds-type is: H region is: O SDS GAC data selected. year: 2011 day: 13 miilsecs: 40934078 before md doy: 13 year: 2011 **julianday: 10970 year: 2011 day: 13 miilsecs: 40934078 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 year: 2011 day: 13 miilsecs: 40934578 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 year: 2011 day: 13 miilsecs: 40935078 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 taos: 40934078 satid: 16 julian day: 10970 nlines: 12702 GOING INTO initorb4 satnum: 16 navsatid: 26536 calling readephem taos: 10970.473774 opening ephemeris after opening ephemeris size: 76 *******ephemeris elements ************ satid: 26536 orbit: 65195 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 ecc: 0.001062 argper: 0.364140 ascnode: 0.799605 inclin: 0.275446 ephoc: 110105000000 **************************** ******ephemnot structure follows*******: satid: 26536 orbit: 65195 size: 76 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 eccen: 0.001062 argper: 0.364140 ascenode: 0.799605 inclin: 0.275446 earadius: 6378137.000000 oblat: 0.001083 ***************************************************************** YEAR HERE: 11 *********epheminit structure follows******* timnot: 10962.000000 smajaxis: 1.132905 decay: -0.000000 eccen: 0.001062 inclin: 1.730681 argper: 2.287962 perrate: -0.000551 longan: 5.024068 nodrate: 0.000201 ,meananom: 1.717550 meanmot: 0.828813 meanmotrate: 0.000000 grav constant: 398598005011040.375000 ***************************************************************** ******** current elements follow******** taos: 10970.473774 time: 10970.473774 smajaxis: 7225816.928883 eccentricity: 0.001062 inclin: 1.730681 argper: 1.873317 longan: -4.230631 meananom: 753.815128 trueanom: 753.814774 altitude: 7218250.947802 ********************************************** ******** current elements follow******** taos: 10970.473774 time: 10970.473774 smajaxis: 7225816.928883 eccentricity: 0.001062 inclin: 1.730681 argper: 1.873317 longan: -4.230631 meananom: 753.815128 trueanom: 753.814774 altitude: 7218250.947802 ********************************************** SPECIFIC DATA: bytesperline: 4608 scanspersec: 2.000000 line : 0 10970.473774 78.103411 -12.920739 7212881.672933 Opening data.NORTH1 and writing header line: 0 line : 100 10970.474353 76.046722 -22.492949 7212942.097451 line : 200 10970.474931 73.724485 -29.572793 7213058.712437 line : 300 10970.475510 71.234568 -34.926027 7213230.710993 line : 400 10970.476089 68.635034 -39.090578 7213457.027942 line : 500 10970.476668 65.960930 -42.423050 7213736.349152 line : 600 10970.477246 63.234112 -45.159156 7214067.122630 line : 700 10970.477825 60.468705 -47.457316 7214447.571313 line : 800 10970.478404 57.674156 -49.426475 7214875.707391 line : 900 10970.478982 54.856986 -51.143390 7215349.348042 line : 1000 10970.479561 52.021826 -52.663410 7215866.132427 line : 1100 10970.480140 49.172053 -54.027320 7216423.539754 line : 1200 10970.480718 46.310192 -55.265775 7217018.908272 line : 1300 10970.481297 43.438176 -56.402242 7217649.454972 line : 1400 10970.481876 40.557519 -57.454989 7218312.295840 line : 1500 10970.482455 37.669438 -58.438456 7219004.466453 line : 1600 10970.483033 34.774930 -59.364227 7219722.942717 line : 1700 10970.483612 31.874834 -60.241723 7220464.661577 line : 1800 10970.484191 28.969872 -61.078709 7221226.541485 line : 1900 10970.484769 26.060678 -61.881667 7222005.502446 line : 2000 10970.485348 23.147824 -62.656084 7222798.485477 line : 2100 10970.485927 20.231834 -63.406659 7223602.471280 line : 2200 10970.486506 17.313196 -64.137481 7224414.497992 line : 2300 10970.487084 14.392373 -64.852154 7225231.677850 line : 2400 10970.487663 11.469808 -65.553905 7226051.212633 line : 2500 10970.488242 8.545932 -66.245671 7226870.407768 line : 2600 10970.488820 5.621165 -66.930172 7227686.684981 line : 2700 10970.489399 2.695920 -67.609976 7228497.593416 line : 2800 10970.489978 -0.229395 -68.287550 7229300.819139 line : 2900 10970.490556 -3.154373 -68.965317 7230094.192977 line : 3000 10970.491135 -6.078609 -69.645702 7230875.696654 line : 3100 10970.491714 -9.001698 -70.331183 7231643.467213 line : 3200 10970.492293 -11.923230 -71.024341 7232395.799711 line : 3300 10970.492871 -14.842792 -71.727922 7233131.148220 line : 3400 10970.493450 -17.759962 -72.444894 7233848.125171 line : 3500 10970.494029 -20.674305 -73.178526 7234545.499079 line : 3600 10970.494607 -23.585368 -73.932473 7235222.190742 line : 3700 10970.495186 -26.492675 -74.710888 7235877.267989 line : 3800 10970.495765 -29.395714 -75.518557 7236509.939080 line : 3900 10970.496343 -32.293925 -76.361067 7237119.544873 line : 4000 10970.496922 -35.186686 -77.245033 7237705.549886 line : 4100 10970.497501 -38.073284 -78.178382 7238267.532391 line : 4200 10970.498080 -40.952890 -79.170747 7238805.173689 line : 4300 10970.498658 -43.824511 -80.233979 7239318.246707 line : 4400 10970.499237 -46.686932 -81.382871 7239806.604093 line : 4500 10970.499816 -49.538629 -82.636149 7240270.165959 line : 4600 10970.500394 -52.377650 -84.017898 7240708.907442 line : 4700 10970.500973 -55.201433 -85.559606 7241122.846246 line : 4800 10970.501552 -58.006537 -87.303213 7241512.030322 Opening data.SOUTH1 and writing header line: 4872 line : 4900 10970.502131 -60.788225 -89.305685 7241876.525861 line : 5000 10970.502709 -63.539806 -91.646093 7242216.405733 line : 5100 10970.503288 -66.251554 -94.436756 7242531.738539 line : 5200 10970.503867 -68.908882 -97.841044 7242822.578402 line : 5300 10970.504445 -71.489160 -102.101913 7243088.955630 line : 5400 10970.505024 -73.956022 -107.586068 7243330.868377 line : 5500 10970.505603 -76.249154 -114.843137 7243548.275392 line : 5600 10970.506181 -78.267099 -124.642939 7243741.089962 line : 5700 10970.506760 -79.845230 -137.818524 7243909.175129 line : 5800 10970.507339 -80.756096 -154.511764 7244052.340224 line : 5900 10970.507918 -80.799690 -172.945173 7244170.338793 line : 6000 10970.508496 -79.964796 170.083248 7244262.867921 line : 6100 10970.509075 -78.440094 156.557944 7244329.568987 line : 6200 10970.509654 -76.456314 146.470547 7244370.029837 line : 6300 10970.510232 -74.184904 139.008197 7244383.788355 line : 6400 10970.510811 -71.732402 133.382573 7244370.337405 line : 6500 10970.511390 -69.162169 129.023638 7244329.131087 line : 6600 10970.511968 -66.512316 125.549988 7244259.592237 line : 6700 10970.512547 -63.806479 122.709081 7244161.121090 line : 6800 10970.513126 -61.059840 120.331418 7244033.105020 line : 6900 10970.513705 -58.282491 118.300729 7243874.929232 line : 7000 10970.514283 -55.481350 116.535342 7243685.988288 line : 7100 10970.514862 -52.661304 114.976544 7243465.698352 line : 7200 10970.515441 -49.825890 113.581197 7243213.509985 line : 7300 10970.516019 -46.977735 112.316967 7242928.921365 line : 7400 10970.516598 -44.118835 111.159168 7242611.491762 line : 7500 10970.517177 -41.250740 110.088635 7242260.855111 line : 7600 10970.517756 -38.374684 109.090251 7241876.733525 line : 7700 10970.518334 -35.491671 108.151919 7241458.950574 line : 7800 10970.518913 -32.602536 107.263824 7241007.444175 line : 7900 10970.519492 -29.707992 106.417894 7240522.278917 line : 8000 10970.520070 -26.808661 105.607407 7240003.657686 line : 8100 10970.520649 -23.905098 104.826688 7239451.932403 line : 8200 10970.521228 -20.997809 104.070888 7238867.613766 line : 8300 10970.521806 -18.087265 103.335801 7238251.379828 line : 8400 10970.522385 -15.173909 102.617733 7237604.083303 line : 8500 10970.522964 -12.258168 101.913386 7236926.757474 line : 8600 10970.523543 -9.340454 101.219768 7236220.620612 line : 8700 10970.524121 -6.421169 100.534123 7235487.078807 line : 8800 10970.524700 -3.500714 99.853860 7234727.727140 line : 8900 10970.525279 -0.579482 99.176498 7233944.349147 line : 9000 10970.525857 2.342133 98.499617 7233138.914529 line : 9100 10970.526436 5.263736 97.820805 7232313.575085 line : 9200 10970.527015 8.184929 97.137609 7231470.658872 line : 9300 10970.527593 11.105312 96.447486 7230612.662592 line : 9400 10970.528172 14.024477 95.747745 7229742.242257 line : 9500 10970.528751 16.942006 95.035489 7228862.202163 line : 9600 10970.529330 19.857467 94.307540 7227975.482259 line : 9700 10970.529908 22.770413 93.560359 7227085.143981 line : 9800 10970.530487 25.680367 92.789939 7226194.354665 line : 9900 10970.531066 28.586823 91.991677 7225306.370652 line : 10000 10970.531644 31.489227 91.160217 7224424.519211 line : 10100 10970.532223 34.386962 90.289237 7223552.179446 line : 10200 10970.532802 37.279330 89.371180 7222692.762312 line : 10300 10970.533381 40.165520 88.396894 7221849.689945 line : 10400 10970.533959 43.044566 87.355148 7221026.374454 line : 10500 10970.534538 45.915299 86.231967 7220226.196375 line : 10600 10970.535117 48.776259 85.009712 7219452.482970 line : 10700 10970.535695 51.625589 83.665776 7218708.486569 line : 10800 10970.536274 54.460869 82.170698 7217997.363143 line : 10900 10970.536853 57.278873 80.485390 7217322.151307 Opening data.NORTH2 and writing header line: 10998 line : 11000 10970.537431 60.075186 78.556966 7216685.751941 line : 11100 10970.538010 62.843620 76.312320 7216090.908620 line : 11200 10970.538589 65.575242 73.648041 7215540.189022 line : 11300 10970.539168 68.256754 70.414289 7215035.967503 line : 11400 10970.539746 70.867686 66.388804 7214580.408985 line : 11500 10970.540325 73.375380 61.235886 7214175.454313 line : 11600 10970.540904 75.725948 54.447838 7213822.807218 line : 11700 10970.541482 77.828624 45.291383 7213523.923005 line : 11800 10970.542061 79.533465 32.888621 7213279.999067 line : 11900 10970.542640 80.621350 16.808444 7213091.967322 line : 12000 10970.543218 80.869223 -1.653789 7212960.488630 line : 12100 10970.543797 80.213022 -19.334426 7212885.949247 line : 12200 10970.544376 78.810487 -33.747147 7212868.459347 line : 12300 10970.544955 76.898838 -44.552632 7212907.853616 line : 12400 10970.545533 74.666930 -52.514083 7213003.693908 line : 12500 10970.546112 72.234613 -58.473381 7213155.273942 line : 12600 10970.546691 69.673228 -63.056647 7213361.625979 could not read line 12699 writing header for file 0 goint into getcorrectsdsvals year: 2011 day: 13 miilsecs: 40934078 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 going into makeheader with taos: 10970.473774 satid: 16 nlines: 720 IN MAKEHEADER going into first make1btime in make1btime taos: 10970.473774 millsec: 40934078 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 after first make1btime in make1btime taos: 10970.475163 millsec: 41054078 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 DONE WITH MAKEHEADER writing header for file 1 goint into getcorrectsdsvals year: 2011 day: 13 miilsecs: 46434578 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 going into makeheader with taos: 10970.537437 satid: 16 nlines: 1701 IN MAKEHEADER going into first make1btime in make1btime taos: 10970.537437 millsec: 46434578 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 after first make1btime in make1btime taos: 10970.540718 millsec: 46718078 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 DONE WITH MAKEHEADER writing header for file 2 goint into getcorrectsdsvals year: 2011 day: 13 miilsecs: 43371578 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 going into makeheader with taos: 10970.501986 satid: 16 nlines: 1967 IN MAKEHEADER going into first make1btime in make1btime taos: 10970.501986 millsec: 43371578 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 after first make1btime in make1btime taos: 10970.505780 millsec: 43699411 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 DONE WITH MAKEHEADER ***** Running navigation/calibration at Fri Jan 14 02:18:06 CST 2011 ***** Working on year and julian day (yyddd): 11013 (2011 Jan 13) no H option specified TBMFLAG: compval: 0 reading input header input header has been read satid from header : 2 XX satid: 16 getting time from firstline getting time in gettime in: 7 db 0 d 0 6b 2 95 cc 3a year: 2011 day: 13 ymd year: 2011 ymd yeardif: 30 after getheader done with 1967 lines header count: 0 actual: 1967 header will be rewritten output header follows: satid: 16 orbnum: 0 nlines: 1967 julday: 10970 taos: 43371578 NEW PROCESSGENERICGAC year: 2011 input file is : tmp output file is : tmp.p new processraw opening raw file: tmp opening archive file and writing header to tmp.p header written to newdataset dumsat: 3 satid from first line is: 16 year before julianday call: 2011 firstline curday: 13 julian: 10970 time: 43371578 linein: 0 curtime: 43372078 lasttime: 43371578 lastgood: 43371578 timdif: 500 linein: 100 curtime: 43422078 lasttime: 43421578 lastgood: 43421578 timdif: 500 linein: 200 curtime: 43472078 lasttime: 43471578 lastgood: 43471578 timdif: 500 linein: 300 curtime: 43522078 lasttime: 43521578 lastgood: 43521578 timdif: 500 linein: 400 curtime: 43572078 lasttime: 43571578 lastgood: 43571578 timdif: 500 linein: 500 curtime: 43622078 lasttime: 43621578 lastgood: 43621578 timdif: 500 linein: 600 curtime: 43672078 lasttime: 43671578 lastgood: 43671578 timdif: 500 linein: 700 curtime: 43722078 lasttime: 43721578 lastgood: 43721578 timdif: 500 linein: 800 curtime: 43772078 lasttime: 43771578 lastgood: 43771578 timdif: 500 linein: 900 curtime: 43822078 lasttime: 43821578 lastgood: 43821578 timdif: 500 linein: 1000 curtime: 43872078 lasttime: 43871578 lastgood: 43871578 timdif: 500 linein: 1100 curtime: 43922078 lasttime: 43921578 lastgood: 43921578 timdif: 500 linein: 1200 curtime: 43972078 lasttime: 43971578 lastgood: 43971578 timdif: 500 linein: 1300 curtime: 44022078 lasttime: 44021578 lastgood: 44021578 timdif: 500 linein: 1400 curtime: 44072078 lasttime: 44071578 lastgood: 44071578 timdif: 500 linein: 1500 curtime: 44122078 lasttime: 44121578 lastgood: 44121578 timdif: 500 linein: 1600 curtime: 44172078 lasttime: 44171578 lastgood: 44171578 timdif: 500 linein: 1700 curtime: 44222078 lasttime: 44221578 lastgood: 44221578 timdif: 500 linein: 1800 curtime: 44272078 lasttime: 44271578 lastgood: 44271578 timdif: 500 linein: 1900 curtime: 44322078 lasttime: 44321578 lastgood: 44321578 timdif: 500 could not read line bytes read: 0 error reading line: 1966 archive corect to here will rewrite header correctly cleaning up archive file new header being written as: satid: 16 orbit number: 0 dum: 0 number of lines: 1967 julian day: 10970d time of first scan: 12.047660 processing GAC data satid: 16 orbit number: 0 dum: 0 number of lines: 1967 julian day: 10970d time of first scan: 12.047660 Seasonal correction for julian date 10970.501986 = 0.967337 flag is : S 11/01/13 00:00:00110113000000 year: 11 month: 1 day: 13 dayofyear: 13 file containing coefficients is COEFFS.16 calling openparm16 before sprintf parmfilename: /Users/jkey/nav/cal/calib16.dat i: 0 nu: 2226.179930 i: 1 nu: 782.472410 i: 2 nu: 714.285640 chan: 0 nuc: 2700.114800 A: 1.592459 B: 0.998147 chan: 1 nuc: 917.228900 A: 0.332380 B: 0.998522 chan: 2 nuc: 838.125500 A: 0.674623 B: 0.998363 i: 0 wave:0.000000 i: 1 wave:0.000000 i: 2 wave:2700.114800 i: 3 wave:917.228900 i: 4 wave:838.125500 before look for Z after look for Z about to leave openparm newflag is 1: 1 about to open: tmp.p headstuff: sat: 16 orb: 0 julianday: 10970 taos: 43371578 length of headstuff: 57 headstuff: sat: 16 orb: 0 julianday: 10970 taos: 43371578 0.000 0.000 2700.1148 917.2289 838.1255 length of headstuff: 106 ************** results of initial calibration ******** from header firstday is : 13 arcsize: 5626 in sequence numlines: 1 day: 13 val: 0 realline before: 1 spaceref: 0.000000 targtemp: 297.623539 space rad: 0.000000 -4.500000 -3.610000 average space counts: 990.520000 991.260000 994.580000 average internal counts: 785.600000 390.780000 373.980000 satid: 16 launch_indx: -1 chan: 3 radspace: 0.000000 radtarget: 0.526040 spacebar:990.520000 internalbar: 785.600000 chan: 3 radspace: 0.000000 radtarget: 0.526040 spacebar:990.520000 internalbar: 785.600000 gain: -0.002567 offset: 2.542717 chan: 4 radspace: -4.500000 radtarget: 110.190604 spacebar:991.260000 internalbar: 390.780000 chan: 4 radspace: -4.500000 radtarget: 110.190604 spacebar:991.260000 internalbar: 390.780000 gain: -0.190998 offset: 184.828888 chan: 5 radspace: -3.610000 radtarget: 124.446048 spacebar:994.580000 internalbar: 373.980000 chan: 5 radspace: -3.610000 radtarget: 124.446048 spacebar:994.580000 internalbar: 373.980000 gain: -0.206342 offset: 201.613953 gain after: 0.054945 gain after: 0.054945 gain and offset up to scan line 51 : 0.054945 -2.115953 0.057653 -2.330895 -0.002567 2.542717 -0.190998 184.828888 -0.206342 201.613953 ************************************************************ trouble reading line in main DONE WITH CALIBRATION there were 1967 lines done THIS IS ACTUALLY rawcal15_new AS IT SHOULD BE CALIBRATION FILE: COEFFS.16 RADFLAG: 1 calib_dir: /Users/jkey/nav/cal name of caldatfile is: /Users/jkey/nav/cal/calibnew16.dat have found CENTRAL WAVE in string CENTRAL WAVE NUMBER TABLE 190.000000 230.000000 2638.652000 928.260300 834.449600 230.000000 270.000000 2642.807000 928.828400 834.806600 270.000000 310.000000 2645.899000 929.332300 835.164700 have found SPLIT CAL in string SPLIT CAL TABLE SPLIT GAINS and OFFSETS CHAN 1 count 0-490 gain: 0.052300 offset: -2.016000 CHAN 1 count 491-1023 gain: 0.152800 offset: -51.910000 CHAN 2 count 0-500 gain: 0.051300 offset: -1.943000 CHAN 2 count 501-1023 gain: 0.151000 offset: -51.770000 CHAN 3 count 0-499 gain: 0.028700 offset: -2.043000 CHAN 3 count 500-1023 gain: 0.180600 offset: -78.030000 WE ARE GOING NON LINEAR name of caldatfile is: /Users/jkey/nav/cal/calibnew16.dat have found NON LINEAR in string ABOUT TO READ NON LINEAR MATRIX have READ NON LINEAR MATRIX DONE WITH NON LINEAR STUFF have found NEW COEFFS in string ABOUT TO READ NEW COEFFS i: 0 NUC: 2700.114800 Anew: 1.592459 Bnew: 0.998147 NS: 0.000000 B0: 0.000000 B1: 0.000000 B2: 0.000000 i: 1 NUC: 917.228900 Anew: 0.332380 Bnew: 0.998522 NS: -2.467000 B0: 2.960000 B1: -0.054110 B2: 0.000245 i: 2 NUC: 838.125500 Anew: 0.674623 Bnew: 0.998363 NS: -2.009000 B0: 2.225000 B1: -0.036650 B2: 0.000149 DONE WITH NEW COEFFS calhead: sat: 16 orb: 0 julianday: 10970 taos: 43371578 0.000 0.000 2700.1148 917.2289 838.1255 T5/Users/jkey/nav/cal/calibnew16.dat calhead: 0.000 0.000 2700.1148 917.2289 838.1255 T5/Users/jkey/nav/cal/calibnew16.dat wavecent: 0.000000 0.000000 2700.114800 917.228900 838.125500 INVWAVE: 0.000000 size of cal file is: 208714 have read in cal array number of lines 1967 doing raw line: 0 doing raw line: 500 doing raw line: 1000 doing raw line: 1500 TIME calculation WAS REQUESTED SZA calculation WAS REQUESTED LINE and SAMPLE DATA WAS REQUESTED OSCULATING CORRECTIONS WILL BE APPLIED dashv: temp: strlen: 0 dashH: n strlen: 1 AFTER GET OPTIONS GAC DATA OPTION HAS BEEN CHOOSEN AFTER INIT input file has been opened, fp: 1883758400 after openarc fp: 1883758400 sid: 16d orbnum: 0d numscan: 1967d milday: 43371578d *** data header *** satid: 16 orbit number: 0 number of lines: 1967 julian day: 10970 time of first scan: 12.047660 ******************** AFTER INITDATA julday: 10970 taos: 43371578 TIME OF FIRST SCAN : 11/01/13 12:02:52 looking for ephemeris data for taos: 10970.501986 opening ephemeris after opening ephemeris size: 76 *******ephemeris elements ************ satid: 26536 orbit: 65195 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 ecc: 0.001062 argper: 0.364140 ascnode: 0.799605 inclin: 0.275446 ephoc: 110105000000 **************************** ******ephemnot structure follows*******: satid: 26536 orbit: 65195 size: 76 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 eccen: 0.001062 argper: 0.364140 ascenode: 0.799605 inclin: 0.275446 earadius: 6378137.000000 oblat: 0.001083 ***************************************************************** *********epheminit structure follows******* timnot: 10962.000000 smajaxis: 1.132905 decay: -0.000000 eccen: 0.001062 inclin: 1.730681 argper: 2.287962 perrate: -0.000551 longan: 5.024068 nodrate: 0.000201 ,meananom: 1.717550 meanmot: 0.828813 meanmotrate: 0.000000 grav constant: 398598005011040.375000 ***************************************************************** satlat1: -1.045969 satlat2: -1.071099 asnflag: -1 DATA IS DESCENDING **************** INITAILIZATION OVER ****************** dashr: 72.363 RANGE0: 72.363000 IN SATGEO line: 0 spot: 204 time: 10970.501986 IN SATGEO line: 5 spot: 204 time: 10970.502015 RANGE: 72.363000 Pass is Descending at start center lat: -89.999943 center lon: 180.000000 range: 72.363000 images will be processed using chunks of 321 lines getting space for 10 bit image image.proj: 8 fpsza: 7047dfd8 fpsaza: 7047e070 opening 135334573.NSS.GHRR.NL.D11013.S1122.E1308.B5315253.WI.S.1 OPENING chan: 0 fp: 1883759312 opening 135334573.NSS.GHRR.NL.D11013.S1122.E1308.B5315253.WI.S.2 OPENING chan: 1 fp: 1883759464 opening 135334573.NSS.GHRR.NL.D11013.S1122.E1308.B5315253.WI.S.3 OPENING chan: 2 fp: 1883759616 opening 135334573.NSS.GHRR.NL.D11013.S1122.E1308.B5315253.WI.S.4 OPENING chan: 3 fp: 1883759768 opening 135334573.NSS.GHRR.NL.D11013.S1122.E1308.B5315253.WI.S.5 OPENING chan: 4 fp: 1883759920 getting space for time array getting space for sza array getting space for saza array getting space for satelv array getting space for sataz array ************************************* total bytes malloced is : 3453394 ************************************* ******** current elements follow******** taos: 10970.501986 time: 10970.501986 smajaxis: 7225816.913631 eccentricity: 0.001062 inclin: 1.730734 argper: 1.871937 longan: -4.407958 meananom: 2.336858 trueanom: 2.338387 altitude: 7231155.079269 ********************************************** satpos: 77305.158346 -3620925.200638 -6271077.570713 satvel: -2488.291934 6026.023412 -3518.382458 satlat: -59.992175 satlon: -88.776946 COMMAND>DASHD: n INTERPOLATION CHOOSEN , every 8 x pixel and every 8 ypixel going through pixels **** before templat: -36.957736 centtodet: -37.142800 CORNERS OF WHOLE IMAGE FOLLOW North West Corner lat: -37.142800 lon: -45.000061 North East Corner lat: -37.320927 lon: 44.821012 South East Corner lat: -37.499365 lon: 135.000061 South West Corner lat: -37.320826 lon: 225.178988 interpolation choosen every 8 i pixels and every 8 j pixels image will be processed in 1 chunks of 321 image lines segment 0 startj: 0 stopj: 321 starti: 0 stopi: 320 numj: 321 north west----- lat: -36.957736 lon: -45.000061 line: -999 spot: -999 north east----- lat: -37.135539 lon: 44.821012 line: -999 spot: -999 south east-----lat: -37.135438 lon: 135.179109 line: -999 spot: -999 south west-----lat: -36.957635 lon: 224.999939 line: -999 spot: -999 doing chunk number: 0 from line: 0 to line: 320 numcelx: 40 numcely: 40 extrai: 0 extraj: 0 ****minline: 0 maxline: 1965 in data aquisiton maxline: 1965 minline: 0 in data aquistion module image is contained within lines : 1 and 1965 data will be processed using 20 chunks of 100 lines in get10 searching data lines 1 to 101 for image lines 0 to 321 in get10 searching data lines 101 to 201 for image lines 0 to 321 in get10 searching data lines 201 to 301 for image lines 0 to 321 in get10 searching data lines 301 to 401 for image lines 0 to 321 in get10 searching data lines 401 to 501 for image lines 0 to 321 in get10 searching data lines 501 to 601 for image lines 0 to 321 in get10 searching data lines 601 to 701 for image lines 0 to 321 in get10 searching data lines 701 to 801 for image lines 0 to 321 in get10 searching data lines 801 to 901 for image lines 0 to 321 in get10 searching data lines 901 to 1001 for image lines 0 to 321 in get10 searching data lines 1001 to 1101 for image lines 0 to 321 in get10 searching data lines 1101 to 1201 for image lines 0 to 321 in get10 searching data lines 1201 to 1301 for image lines 0 to 321 in get10 searching data lines 1301 to 1401 for image lines 0 to 321 in get10 searching data lines 1401 to 1501 for image lines 0 to 321 in get10 searching data lines 1501 to 1601 for image lines 0 to 321 in get10 searching data lines 1601 to 1701 for image lines 0 to 321 in get10 searching data lines 1701 to 1801 for image lines 0 to 321 in get10 searching data lines 1801 to 1901 for image lines 0 to 321 done processing 1967 lines in get10 searching data lines 1901 to 2001 for image lines 0 to 321 dumping SZA array in dumpother j1: 0 j2: 321 ysize: 321 fpother: 1883758552 writing other type image in dumpother j1: 0 j2: 321 ysize: 321 fpother: 1883758704 writing other type image *************** dashY: y dumping ELEV array in dumpother j1: 0 j2: 321 ysize: 321 fpother: 1883759160 writing other type image dumping AZIM array in dumpother j1: 0 j2: 321 ysize: 321 fpother: 1883759008 writing other type image constructing TIME array in puttime j1: 0 j2: 321 ysize: 321 dumping TIME array in dumpother j1: 0 j2: 321 ysize: 321 fpother: 1883758856 writing other type image nchan: 5 dumping ch: 0 fp: 1883759312 about to dump image number: 0 channel: 1 xsize: 321 ysize: 321 IN WRITEIMAGE chan: 0 fp: 1883759312 DOne with dumpimage fp: 1883759312 have dumped ch: 0 fp: 1883759312 dumping ch: 1 fp: 1883759464 about to dump image number: 1 channel: 2 xsize: 321 ysize: 321 IN WRITEIMAGE chan: 1 fp: 1883759464 DOne with dumpimage fp: 1883759464 have dumped ch: 1 fp: 1883759464 dumping ch: 2 fp: 1883759616 about to dump image number: 2 channel: 3 xsize: 321 ysize: 321 IN WRITEIMAGE chan: 2 fp: 1883759616 DOne with dumpimage fp: 1883759616 have dumped ch: 2 fp: 1883759616 dumping ch: 3 fp: 1883759768 about to dump image number: 3 channel: 4 xsize: 321 ysize: 321 IN WRITEIMAGE chan: 3 fp: 1883759768 DOne with dumpimage fp: 1883759768 have dumped ch: 3 fp: 1883759768 dumping ch: 4 fp: 1883759920 about to dump image number: 4 channel: 5 xsize: 321 ysize: 321 IN WRITEIMAGE chan: 4 fp: 1883759920 DOne with dumpimage fp: 1883759920 have dumped ch: 4 fp: 1883759920 About to write headers fp: 1883759768 done with navigation--retrieving data ***** Running polar regions subsetting at Fri Jan 14 02:18:08 CST 2011 ***** Working on year and julian day (yyddd): 11013 (2011 Jan 13) command line args: ephemfile: /Users/jkey/nav/ephemeris northlimit: 60.000000 southlimit: -60.000000 data is type: G sds-type is: H region is: O SDS GAC data selected. year: 2011 day: 13 miilsecs: 46972578 before md doy: 13 year: 2011 **julianday: 10970 year: 2011 day: 13 miilsecs: 46972578 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 year: 2011 day: 13 miilsecs: 46973078 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 year: 2011 day: 13 miilsecs: 46973578 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 taos: 46972578 satid: 16 julian day: 10970 nlines: 13726 GOING INTO initorb4 satnum: 16 navsatid: 26536 calling readephem taos: 10970.543664 opening ephemeris after opening ephemeris size: 76 *******ephemeris elements ************ satid: 26536 orbit: 65195 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 ecc: 0.001062 argper: 0.364140 ascnode: 0.799605 inclin: 0.275446 ephoc: 110105000000 **************************** ******ephemnot structure follows*******: satid: 26536 orbit: 65195 size: 76 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 eccen: 0.001062 argper: 0.364140 ascenode: 0.799605 inclin: 0.275446 earadius: 6378137.000000 oblat: 0.001083 ***************************************************************** YEAR HERE: 11 *********epheminit structure follows******* timnot: 10962.000000 smajaxis: 1.132905 decay: -0.000000 eccen: 0.001062 inclin: 1.730681 argper: 2.287962 perrate: -0.000551 longan: 5.024068 nodrate: 0.000201 ,meananom: 1.717550 meanmot: 0.828813 meanmotrate: 0.000000 grav constant: 398598005011040.375000 ***************************************************************** ******** current elements follow******** taos: 10970.543664 time: 10970.543664 smajaxis: 7225816.891098 eccentricity: 0.001062 inclin: 1.730681 argper: 1.869897 longan: -4.669720 meananom: 760.018289 trueanom: 760.017769 altitude: 7218377.410580 ********************************************** ******** current elements follow******** taos: 10970.543664 time: 10970.543664 smajaxis: 7225816.891098 eccentricity: 0.001062 inclin: 1.730681 argper: 1.869897 longan: -4.669720 meananom: 760.018289 trueanom: 760.017769 altitude: 7218377.410580 ********************************************** SPECIFIC DATA: bytesperline: 4608 scanspersec: 2.000000 line : 0 10970.543664 80.438398 -15.503028 7212898.040561 Opening data.NORTH1 and writing header line: 0 line : 100 10970.544243 79.186463 -30.767840 7212867.434500 line : 200 10970.544822 77.372507 -42.352629 7212893.774916 line : 300 10970.545400 75.201394 -50.887887 7212976.686070 line : 400 10970.545979 72.807464 -57.243639 7213115.522829 line : 500 10970.546558 70.271193 -62.099679 7213309.376894 line : 600 10970.547136 67.640481 -65.918357 7213557.084958 line : 700 10970.547715 64.944570 -69.004688 7213857.238717 line : 800 10970.548294 62.201943 -71.561281 7214208.196625 line : 900 10970.548872 59.424700 -73.725434 7214608.097280 line : 1000 10970.549451 56.621036 -75.592427 7215054.874312 line : 1100 10970.550030 53.796668 -77.229987 7215546.272613 line : 1200 10970.550609 50.955697 -78.687360 7216079.865764 line : 1300 10970.551187 48.101143 -80.001111 7216653.074480 line : 1400 10970.551766 45.235286 -81.198919 7217263.185894 line : 1500 10970.552345 42.359883 -82.302108 7217907.373505 line : 1600 10970.552923 39.476327 -83.327375 7218582.717582 line : 1700 10970.553502 36.585743 -84.287996 7219286.225851 line : 1800 10970.554081 33.689063 -85.194673 7220014.854249 line : 1900 10970.554659 30.787078 -86.056156 7220765.527572 line : 2000 10970.555238 27.880475 -86.879690 7221535.159815 line : 2100 10970.555817 24.969861 -87.671357 7222320.674028 line : 2200 10970.556396 22.055790 -88.436324 7223119.021500 line : 2300 10970.556974 19.138769 -89.179047 7223927.200117 line : 2400 10970.557553 16.219277 -89.903416 7224742.271720 line : 2500 10970.558132 13.297768 -90.612884 7225561.378339 line : 2600 10970.558710 10.374681 -91.310561 7226381.757148 line : 2700 10970.559289 7.450442 -91.999293 7227200.754043 line : 2800 10970.559868 4.525467 -92.681737 7228015.835734 line : 2900 10970.560447 1.600168 -93.360417 7228824.600266 line : 3000 10970.561025 -1.325047 -94.037778 7229624.785910 line : 3100 10970.561604 -4.249774 -94.716236 7230414.278370 line : 3200 10970.562183 -7.173607 -95.398232 7231191.116277 line : 3300 10970.562761 -10.096140 -96.086275 7231953.494970 line : 3400 10970.563340 -13.016962 -96.783001 7232699.768550 line : 3500 10970.563919 -15.935656 -97.491232 7233428.450258 line : 3600 10970.564497 -18.851797 -98.214038 7234138.211205 line : 3700 10970.565076 -21.764945 -98.954822 7234827.877519 line : 3800 10970.565655 -24.674637 -99.717411 7235496.425985 line : 3900 10970.566234 -27.580387 -100.506179 7236142.978279 line : 4000 10970.566812 -30.481665 -101.326187 7236766.793888 line : 4100 10970.567391 -33.377892 -102.183379 7237367.261849 line : 4200 10970.567970 -36.268414 -103.084823 7237943.891433 line : 4300 10970.568548 -39.152479 -104.039032 7238496.301903 line : 4400 10970.569127 -42.029202 -105.056401 7239024.211524 line : 4500 10970.569706 -44.897516 -106.149785 7239527.425945 line : 4600 10970.570284 -47.756101 -107.335315 7240005.826144 line : 4700 10970.570863 -50.603291 -108.633527 7240459.356076 line : 4800 10970.571442 -53.436930 -110.070994 7240888.010203 line : 4900 10970.572021 -56.254164 -111.682695 7241291.821069 line : 5000 10970.572599 -59.051127 -113.515549 7241670.847068 Opening data.SOUTH1 and writing header line: 5035 line : 5100 10970.573178 -61.822445 -115.633795 7242025.160586 line : 5200 10970.573757 -64.560447 -118.127361 7242354.836643 line : 5300 10970.574335 -67.253858 -121.125120 7242659.942201 line : 5400 10970.574914 -69.885554 -124.816162 7242940.526260 line : 5500 10970.575493 -72.428617 -129.483639 7243196.610875 line : 5600 10970.576072 -74.839238 -135.555441 7243428.183204 line : 5700 10970.576650 -77.044137 -143.663585 7243635.188687 line : 5800 10970.577229 -78.920637 -154.641384 7243817.525452 line : 5900 10970.577808 -80.277420 -169.196641 7243975.040003 line : 6000 10970.578386 -80.880033 173.128173 7244107.524270 line : 6100 10970.578965 -80.582822 154.876330 7244214.714042 line : 6200 10970.579544 -79.461651 139.086818 7244296.288819 line : 6300 10970.580122 -77.740348 126.920833 7244351.873088 line : 6400 10970.580701 -75.632705 117.919454 7244381.039014 line : 6500 10970.581280 -73.283821 111.225809 7244383.310521 line : 6600 10970.581859 -70.781486 106.129698 7244358.168722 line : 6700 10970.582437 -68.177932 102.138742 7244305.058639 line : 6800 10970.583016 -65.504899 98.926284 7244223.397142 line : 6900 10970.583595 -62.782334 96.275288 7244112.582018 line : 7000 10970.584173 -60.023214 94.038966 7243972.002065 line : 7100 10970.584752 -57.236270 92.115732 7243801.048111 line : 7200 10970.585331 -54.427558 90.433599 7243599.124811 line : 7300 10970.585909 -51.601393 88.940380 7243365.663106 line : 7400 10970.586488 -48.760932 87.597439 7243100.133188 line : 7500 10970.587067 -45.908539 86.375609 7242802.057823 line : 7600 10970.587646 -43.046024 85.252481 7242471.025876 line : 7700 10970.588224 -40.174807 84.210547 7242106.705874 line : 7800 10970.588803 -37.296027 83.235924 7241708.859437 line : 7900 10970.589382 -34.410618 82.317444 7241277.354430 line : 8000 10970.589960 -31.519367 81.445998 7240812.177648 line : 8100 10970.590539 -28.622947 80.614061 7240313.446896 line : 8200 10970.591118 -25.721954 79.815333 7239781.422285 line : 8300 10970.591697 -22.816923 79.044471 7239216.516617 line : 8400 10970.592275 -19.908345 78.296886 7238619.304690 line : 8500 10970.592854 -16.996680 77.568578 7237990.531419 line : 8600 10970.593433 -14.082364 76.856012 7237331.118618 line : 8700 10970.594011 -11.165817 76.156016 7236642.170363 line : 8800 10970.594590 -8.247449 75.465693 7235924.976816 line : 8900 10970.595169 -5.327660 74.782357 7235181.016437 line : 9000 10970.595747 -2.406847 74.103463 7234411.956526 line : 9100 10970.596326 0.514595 73.426560 7233619.652022 line : 9200 10970.596905 3.436272 72.749236 7232806.142548 line : 9300 10970.597484 6.357789 72.069070 7231973.647680 line : 9400 10970.598062 9.278748 71.383581 7231124.560429 line : 9500 10970.598641 12.198745 70.690177 7230261.438987 line : 9600 10970.599220 15.117368 69.986098 7229386.996739 line : 9700 10970.599798 18.034195 69.268351 7228504.090631 line : 9800 10970.600377 20.948789 68.533632 7227615.707949 line : 9900 10970.600956 23.860693 67.778241 7226724.951611 line : 10000 10970.601534 26.769420 66.997964 7225835.024068 line : 10100 10970.602113 29.674447 66.187937 7224949.209956 line : 10200 10970.602692 32.575199 65.342470 7224070.857616 line : 10300 10970.603271 35.471031 64.454814 7223203.359651 line : 10400 10970.603849 38.361207 63.516862 7222350.132667 line : 10500 10970.604428 41.244864 62.518747 7221514.596379 line : 10600 10970.605007 44.120966 61.448301 7220700.152257 line : 10700 10970.605585 46.988245 60.290300 7219910.161903 line : 10800 10970.606164 49.845110 59.025424 7219147.925347 line : 10900 10970.606743 52.689514 57.628758 7218416.659454 line : 11000 10970.607321 55.518771 56.067619 7217719.476641 line : 11100 10970.607900 58.329261 54.298337 7217059.364096 Opening data.NORTH2 and writing header line: 11160 line : 11200 10970.608479 61.115991 52.261359 7216439.163680 line : 11300 10970.609058 63.871884 49.873668 7215861.552713 line : 11400 10970.609636 66.586610 47.016775 7215329.025806 line : 11500 10970.610215 69.244604 43.517436 7214843.877915 line : 11600 10970.610794 71.821581 39.116668 7214408.188769 line : 11700 10970.611372 74.278284 33.421946 7214023.808824 line : 11800 10970.611951 76.549275 25.844895 7213692.346865 line : 11900 10970.612530 78.524353 15.572368 7213415.159376 line : 12000 10970.613109 80.026637 1.780641 7213193.341775 line : 12100 10970.613687 80.821298 -15.472878 7213027.721596 line : 12200 10970.614266 80.724750 -34.045681 7212918.853671 line : 12300 10970.614845 79.762075 -50.673336 7212867.017370 line : 12400 10970.615423 78.142126 -63.683069 7212872.215910 line : 12500 10970.616002 76.092361 -73.316282 7212934.177728 line : 12600 10970.616581 73.774446 -80.439124 7213052.359927 line : 12700 10970.617159 71.287304 -85.821872 7213225.953723 line : 12800 10970.617738 68.689623 -90.006873 7213453.891864 line : 12900 10970.618317 66.016808 -93.353829 7213734.857932 line : 13000 10970.618896 63.290920 -96.100447 7214067.297425 line : 13100 10970.619474 60.526210 -98.406419 7214449.430533 line : 13200 10970.620053 57.732199 -100.381510 7214879.266454 line : 13300 10970.620632 54.915456 -102.103016 7215354.619120 line : 13400 10970.621210 52.080643 -103.626649 7215873.124189 line : 13500 10970.621789 49.231160 -104.993442 7216432.257108 line : 13600 10970.622368 46.369545 -106.234229 7217029.352105 line : 13700 10970.622946 43.497742 -107.372602 7217661.621899 could not read line 13723 writing header for file 0 goint into getcorrectsdsvals year: 2011 day: 13 miilsecs: 46972578 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 going into makeheader with taos: 10970.543664 satid: 16 nlines: 883 IN MAKEHEADER going into first make1btime in make1btime taos: 10970.543664 millsec: 46972578 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 after first make1btime in make1btime taos: 10970.545367 millsec: 47119745 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 DONE WITH MAKEHEADER writing header for file 1 goint into getcorrectsdsvals year: 2011 day: 13 miilsecs: 52554078 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 going into makeheader with taos: 10970.608265 satid: 16 nlines: 1959 IN MAKEHEADER going into first make1btime in make1btime taos: 10970.608265 millsec: 52554078 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 after first make1btime in make1btime taos: 10970.612044 millsec: 52880578 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 DONE WITH MAKEHEADER writing header for file 2 goint into getcorrectsdsvals year: 2011 day: 13 miilsecs: 49491578 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 going into makeheader with taos: 10970.572819 satid: 16 nlines: 1966 IN MAKEHEADER going into first make1btime in make1btime taos: 10970.572819 millsec: 49491578 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 after first make1btime in make1btime taos: 10970.576612 millsec: 49819245 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 DONE WITH MAKEHEADER ***** Running navigation/calibration at Fri Jan 14 02:18:08 CST 2011 ***** Working on year and julian day (yyddd): 11013 (2011 Jan 13) no H option specified TBMFLAG: compval: 0 reading input header input header has been read satid from header : 2 XX satid: 16 getting time from firstline getting time in gettime in: 7 db 0 d 0 6b 2 cc be a2 year: 2011 day: 13 ymd year: 2011 ymd yeardif: 30 after getheader done with 883 lines header count: 0 actual: 883 header will be rewritten output header follows: satid: 16 orbnum: 0 nlines: 883 julday: 10970 taos: 46972578 NEW PROCESSGENERICGAC year: 2011 input file is : tmp output file is : tmp.p new processraw opening raw file: tmp opening archive file and writing header to tmp.p header written to newdataset dumsat: 3 satid from first line is: 16 year before julianday call: 2011 firstline curday: 13 julian: 10970 time: 46972578 linein: 0 curtime: 46973078 lasttime: 46972578 lastgood: 46972578 timdif: 500 linein: 100 curtime: 47023078 lasttime: 47022578 lastgood: 47022578 timdif: 500 linein: 200 curtime: 47073078 lasttime: 47072578 lastgood: 47072578 timdif: 500 linein: 300 curtime: 47123078 lasttime: 47122578 lastgood: 47122578 timdif: 500 linein: 400 curtime: 47173078 lasttime: 47172578 lastgood: 47172578 timdif: 500 linein: 500 curtime: 47223078 lasttime: 47222578 lastgood: 47222578 timdif: 500 linein: 600 curtime: 47273078 lasttime: 47272578 lastgood: 47272578 timdif: 500 linein: 700 curtime: 47323078 lasttime: 47322578 lastgood: 47322578 timdif: 500 linein: 800 curtime: 47373078 lasttime: 47372578 lastgood: 47372578 timdif: 500 could not read line bytes read: 0 error reading line: 882 archive corect to here will rewrite header correctly cleaning up archive file new header being written as: satid: 16 orbit number: 0 dum: 0 number of lines: 883 julian day: 10970d time of first scan: 13.047937 processing GAC data satid: 16 orbit number: 0 dum: 0 number of lines: 883 julian day: 10970d time of first scan: 13.047937 Seasonal correction for julian date 10970.543664 = 0.967341 flag is : S 11/01/13 00:00:00110113000000 year: 11 month: 1 day: 13 dayofyear: 13 file containing coefficients is COEFFS.16 calling openparm16 before sprintf parmfilename: /Users/jkey/nav/cal/calib16.dat i: 0 nu: 2226.179930 i: 1 nu: 782.472410 i: 2 nu: 714.285640 chan: 0 nuc: 2700.114800 A: 1.592459 B: 0.998147 chan: 1 nuc: 917.228900 A: 0.332380 B: 0.998522 chan: 2 nuc: 838.125500 A: 0.674623 B: 0.998363 i: 0 wave:0.000000 i: 1 wave:0.000000 i: 2 wave:2700.114800 i: 3 wave:917.228900 i: 4 wave:838.125500 before look for Z after look for Z about to leave openparm newflag is 1: 1 about to open: tmp.p headstuff: sat: 16 orb: 0 julianday: 10970 taos: 46972578 length of headstuff: 57 headstuff: sat: 16 orb: 0 julianday: 10970 taos: 46972578 0.000 0.000 2700.1148 917.2289 838.1255 length of headstuff: 106 ************** results of initial calibration ******** from header firstday is : 13 arcsize: 5626 in sequence numlines: 1 day: 13 val: 379 arcsize: 5626 in sequence numlines: 2 day: 13 val: 384 arcsize: 5626 in sequence numlines: 3 day: 13 val: 386 arcsize: 5626 in sequence numlines: 4 day: 13 val: 0 realline before: 4 spaceref: 0.000000 targtemp: 296.310225 space rad: 0.000000 -4.500000 -3.610000 average space counts: 990.460000 991.180000 994.240000 average internal counts: 795.940000 400.280000 384.120000 satid: 16 launch_indx: -1 chan: 3 radspace: 0.000000 radtarget: 0.496724 spacebar:990.460000 internalbar: 795.940000 chan: 3 radspace: 0.000000 radtarget: 0.496724 spacebar:990.460000 internalbar: 795.940000 gain: -0.002554 offset: 2.529227 chan: 4 radspace: -4.500000 radtarget: 108.022619 spacebar:991.180000 internalbar: 400.280000 chan: 4 radspace: -4.500000 radtarget: 108.022619 spacebar:991.180000 internalbar: 400.280000 gain: -0.190426 offset: 184.246277 chan: 5 radspace: -3.610000 radtarget: 122.199086 spacebar:994.240000 internalbar: 384.120000 chan: 5 radspace: -3.610000 radtarget: 122.199086 spacebar:994.240000 internalbar: 384.120000 gain: -0.206204 offset: 201.406097 gain after: 0.054945 gain after: 0.054945 gain and offset up to scan line 54 : 0.054945 -2.115962 0.057654 -2.330905 -0.002554 2.529227 -0.190426 184.246277 -0.206204 201.406097 ************************************************************ trouble reading line in main DONE WITH CALIBRATION there were 883 lines done THIS IS ACTUALLY rawcal15_new AS IT SHOULD BE CALIBRATION FILE: COEFFS.16 RADFLAG: 1 calib_dir: /Users/jkey/nav/cal name of caldatfile is: /Users/jkey/nav/cal/calibnew16.dat have found CENTRAL WAVE in string CENTRAL WAVE NUMBER TABLE 190.000000 230.000000 2638.652000 928.260300 834.449600 230.000000 270.000000 2642.807000 928.828400 834.806600 270.000000 310.000000 2645.899000 929.332300 835.164700 have found SPLIT CAL in string SPLIT CAL TABLE SPLIT GAINS and OFFSETS CHAN 1 count 0-490 gain: 0.052300 offset: -2.016000 CHAN 1 count 491-1023 gain: 0.152800 offset: -51.910000 CHAN 2 count 0-500 gain: 0.051300 offset: -1.943000 CHAN 2 count 501-1023 gain: 0.151000 offset: -51.770000 CHAN 3 count 0-499 gain: 0.028700 offset: -2.043000 CHAN 3 count 500-1023 gain: 0.180600 offset: -78.030000 WE ARE GOING NON LINEAR name of caldatfile is: /Users/jkey/nav/cal/calibnew16.dat have found NON LINEAR in string ABOUT TO READ NON LINEAR MATRIX have READ NON LINEAR MATRIX DONE WITH NON LINEAR STUFF have found NEW COEFFS in string ABOUT TO READ NEW COEFFS i: 0 NUC: 2700.114800 Anew: 1.592459 Bnew: 0.998147 NS: 0.000000 B0: 0.000000 B1: 0.000000 B2: 0.000000 i: 1 NUC: 917.228900 Anew: 0.332380 Bnew: 0.998522 NS: -2.467000 B0: 2.960000 B1: -0.054110 B2: 0.000245 i: 2 NUC: 838.125500 Anew: 0.674623 Bnew: 0.998363 NS: -2.009000 B0: 2.225000 B1: -0.036650 B2: 0.000149 DONE WITH NEW COEFFS calhead: sat: 16 orb: 0 julianday: 10970 taos: 46972578 0.000 0.000 2700.1148 917.2289 838.1255 /Users/jkey/nav/cal/calibnew16.dat calhead: 0.000 0.000 2700.1148 917.2289 838.1255 /Users/jkey/nav/cal/calibnew16.dat wavecent: 0.000000 0.000000 2700.114800 917.228900 838.125500 INVWAVE: 0.000000 size of cal file is: 93810 have read in cal array number of lines 883 doing raw line: 0 doing raw line: 500 TIME calculation WAS REQUESTED SZA calculation WAS REQUESTED LINE and SAMPLE DATA WAS REQUESTED OSCULATING CORRECTIONS WILL BE APPLIED dashv: temp: strlen: 0 dashH: n strlen: 1 AFTER GET OPTIONS GAC DATA OPTION HAS BEEN CHOOSEN AFTER INIT input file has been opened, fp: 1883758400 after openarc fp: 1883758400 sid: 16d orbnum: 0d numscan: 883d milday: 46972578d *** data header *** satid: 16 orbit number: 0 number of lines: 883 julian day: 10970 time of first scan: 13.047937 ******************** AFTER INITDATA julday: 10970 taos: 46972578 TIME OF FIRST SCAN : 11/01/13 13:02:53 looking for ephemeris data for taos: 10970.543664 opening ephemeris after opening ephemeris size: 76 *******ephemeris elements ************ satid: 26536 orbit: 65195 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 ecc: 0.001062 argper: 0.364140 ascnode: 0.799605 inclin: 0.275446 ephoc: 110105000000 **************************** ******ephemnot structure follows*******: satid: 26536 orbit: 65195 size: 76 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 eccen: 0.001062 argper: 0.364140 ascenode: 0.799605 inclin: 0.275446 earadius: 6378137.000000 oblat: 0.001083 ***************************************************************** *********epheminit structure follows******* timnot: 10962.000000 smajaxis: 1.132905 decay: -0.000000 eccen: 0.001062 inclin: 1.730681 argper: 2.287962 perrate: -0.000551 longan: 5.024068 nodrate: 0.000201 ,meananom: 1.717550 meanmot: 0.828813 meanmotrate: 0.000000 grav constant: 398598005011040.375000 ***************************************************************** satlat1: 1.402906 satlat2: 1.392996 asnflag: -1 DATA IS DESCENDING **************** INITAILIZATION OVER ****************** dashr: 81.38011 RANGE0: 81.380110 IN SATGEO line: 0 spot: 204 time: 10970.543664 IN SATGEO line: 5 spot: 204 time: 10970.543693 RANGE: 81.380110 Pass is Descending at start center lat: 90.000000 center lon: 0.000000 range: 81.380110 images will be processed using chunks of 361 lines getting space for 10 bit image image.proj: 8 fpsza: 7047dfd8 fpsaza: 7047e070 opening 135358853.NSS.GHRR.NL.D11013.S1302.E1457.B5315354.GC.N1.1 OPENING chan: 0 fp: 1883759312 opening 135358853.NSS.GHRR.NL.D11013.S1302.E1457.B5315354.GC.N1.2 OPENING chan: 1 fp: 1883759464 opening 135358853.NSS.GHRR.NL.D11013.S1302.E1457.B5315354.GC.N1.3 OPENING chan: 2 fp: 1883759616 opening 135358853.NSS.GHRR.NL.D11013.S1302.E1457.B5315354.GC.N1.4 OPENING chan: 3 fp: 1883759768 opening 135358853.NSS.GHRR.NL.D11013.S1302.E1457.B5315354.GC.N1.5 OPENING chan: 4 fp: 1883759920 getting space for time array getting space for sza array getting space for saza array getting space for satelv array getting space for sataz array ************************************* total bytes malloced is : 4217234 ************************************* ******** current elements follow******** taos: 10970.543664 time: 10970.543664 smajaxis: 7225816.891098 eccentricity: 0.001062 inclin: 1.730780 argper: 1.869897 longan: -4.669709 meananom: 6.036052 trueanom: 6.035532 altitude: 7218372.604670 ********************************************** satpos: 1162317.931989 -322405.442082 7111326.873335 satvel: 255.665845 -7421.811265 -379.468144 satlat: 80.373267 satlon: -15.503028 COMMAND>DASHD: n INTERPOLATION CHOOSEN , every 8 x pixel and every 8 ypixel going through pixels **** before templat: 29.712678 centtodet: 29.878633 CORNERS OF WHOLE IMAGE FOLLOW North West Corner lat: 29.878633 lon: 225.000000 North East Corner lat: 30.063244 lon: 135.159155 South East Corner lat: 30.248190 lon: 45.000000 South West Corner lat: 30.063244 lon: -45.159155 interpolation choosen every 8 i pixels and every 8 j pixels image will be processed in 1 chunks of 361 image lines segment 0 startj: 0 stopj: 361 starti: 0 stopi: 360 numj: 361 north west----- lat: 29.712678 lon: 225.000000 line: -999 spot: -999 north east----- lat: 29.896666 lon: 135.159155 line: -999 spot: -999 south east-----lat: 29.896666 lon: 44.840845 line: -999 spot: -999 south west-----lat: 29.712678 lon: -45.000000 line: -999 spot: -999 doing chunk number: 0 from line: 0 to line: 360 numcelx: 45 numcely: 45 extrai: 0 extraj: 0 ****minline: 0 maxline: 881 in data aquisiton maxline: 881 minline: 0 in data aquistion module image is contained within lines : 1 and 881 data will be processed using 9 chunks of 100 lines in get10 searching data lines 1 to 101 for image lines 0 to 361 in get10 searching data lines 101 to 201 for image lines 0 to 361 in get10 searching data lines 201 to 301 for image lines 0 to 361 in get10 searching data lines 301 to 401 for image lines 0 to 361 in get10 searching data lines 401 to 501 for image lines 0 to 361 in get10 searching data lines 501 to 601 for image lines 0 to 361 in get10 searching data lines 601 to 701 for image lines 0 to 361 in get10 searching data lines 701 to 801 for image lines 0 to 361 done processing 883 lines in get10 searching data lines 801 to 901 for image lines 0 to 361 dumping SZA array in dumpother j1: 0 j2: 361 ysize: 361 fpother: 1883758552 writing other type image in dumpother j1: 0 j2: 361 ysize: 361 fpother: 1883758704 writing other type image *************** dashY: y dumping ELEV array in dumpother j1: 0 j2: 361 ysize: 361 fpother: 1883759160 writing other type image dumping AZIM array in dumpother j1: 0 j2: 361 ysize: 361 fpother: 1883759008 writing other type image constructing TIME array in puttime j1: 0 j2: 361 ysize: 361 dumping TIME array in dumpother j1: 0 j2: 361 ysize: 361 fpother: 1883758856 writing other type image nchan: 5 dumping ch: 0 fp: 1883759312 about to dump image number: 0 channel: 1 xsize: 361 ysize: 361 IN WRITEIMAGE chan: 0 fp: 1883759312 DOne with dumpimage fp: 1883759312 have dumped ch: 0 fp: 1883759312 dumping ch: 1 fp: 1883759464 about to dump image number: 1 channel: 2 xsize: 361 ysize: 361 IN WRITEIMAGE chan: 1 fp: 1883759464 DOne with dumpimage fp: 1883759464 have dumped ch: 1 fp: 1883759464 dumping ch: 2 fp: 1883759616 about to dump image number: 2 channel: 3 xsize: 361 ysize: 361 IN WRITEIMAGE chan: 2 fp: 1883759616 DOne with dumpimage fp: 1883759616 have dumped ch: 2 fp: 1883759616 dumping ch: 3 fp: 1883759768 about to dump image number: 3 channel: 4 xsize: 361 ysize: 361 IN WRITEIMAGE chan: 3 fp: 1883759768 DOne with dumpimage fp: 1883759768 have dumped ch: 3 fp: 1883759768 dumping ch: 4 fp: 1883759920 about to dump image number: 4 channel: 5 xsize: 361 ysize: 361 IN WRITEIMAGE chan: 4 fp: 1883759920 DOne with dumpimage fp: 1883759920 have dumped ch: 4 fp: 1883759920 About to write headers fp: 1883759768 done with navigation--retrieving data ***** Running navigation/calibration at Fri Jan 14 02:18:09 CST 2011 ***** Working on year and julian day (yyddd): 11013 (2011 Jan 13) no H option specified TBMFLAG: compval: 0 reading input header input header has been read satid from header : 2 XX satid: 16 getting time from firstline getting time in gettime in: 7 db 0 d 0 6b 3 21 e9 5e year: 2011 day: 13 ymd year: 2011 ymd yeardif: 30 after getheader done with 1959 lines header count: 0 actual: 1959 header will be rewritten output header follows: satid: 16 orbnum: 0 nlines: 1959 julday: 10970 taos: 52554078 NEW PROCESSGENERICGAC year: 2011 input file is : tmp output file is : tmp.p new processraw opening raw file: tmp opening archive file and writing header to tmp.p header written to newdataset dumsat: 3 satid from first line is: 16 year before julianday call: 2011 firstline curday: 13 julian: 10970 time: 52554078 linein: 0 curtime: 52554578 lasttime: 52554078 lastgood: 52554078 timdif: 500 linein: 100 curtime: 52604578 lasttime: 52604078 lastgood: 52604078 timdif: 500 linein: 200 curtime: 52654578 lasttime: 52654078 lastgood: 52654078 timdif: 500 linein: 300 curtime: 52704578 lasttime: 52704078 lastgood: 52704078 timdif: 500 linein: 400 curtime: 52754578 lasttime: 52754078 lastgood: 52754078 timdif: 500 linein: 500 curtime: 52804578 lasttime: 52804078 lastgood: 52804078 timdif: 500 linein: 600 curtime: 52854578 lasttime: 52854078 lastgood: 52854078 timdif: 500 linein: 700 curtime: 52904578 lasttime: 52904078 lastgood: 52904078 timdif: 500 linein: 800 curtime: 52954578 lasttime: 52954078 lastgood: 52954078 timdif: 500 linein: 900 curtime: 53004578 lasttime: 53004078 lastgood: 53004078 timdif: 500 linein: 1000 curtime: 53054578 lasttime: 53054078 lastgood: 53054078 timdif: 500 linein: 1100 curtime: 53104578 lasttime: 53104078 lastgood: 53104078 timdif: 500 linein: 1200 curtime: 53154578 lasttime: 53154078 lastgood: 53154078 timdif: 500 linein: 1300 curtime: 53204578 lasttime: 53204078 lastgood: 53204078 timdif: 500 linein: 1400 curtime: 53254578 lasttime: 53254078 lastgood: 53254078 timdif: 500 linein: 1500 curtime: 53304578 lasttime: 53304078 lastgood: 53304078 timdif: 500 linein: 1600 curtime: 53354578 lasttime: 53354078 lastgood: 53354078 timdif: 500 linein: 1700 curtime: 53404578 lasttime: 53404078 lastgood: 53404078 timdif: 500 linein: 1800 curtime: 53454578 lasttime: 53454078 lastgood: 53454078 timdif: 500 linein: 1900 curtime: 53504578 lasttime: 53504078 lastgood: 53504078 timdif: 500 could not read line bytes read: 0 error reading line: 1958 archive corect to here will rewrite header correctly cleaning up archive file new header being written as: satid: 16 orbit number: 0 dum: 0 number of lines: 1959 julian day: 10970d time of first scan: 14.598355 processing GAC data satid: 16 orbit number: 0 dum: 0 number of lines: 1959 julian day: 10970d time of first scan: 14.598355 Seasonal correction for julian date 10970.608265 = 0.967347 flag is : S 11/01/13 00:00:00110113000000 year: 11 month: 1 day: 13 dayofyear: 13 file containing coefficients is COEFFS.16 calling openparm16 before sprintf parmfilename: /Users/jkey/nav/cal/calib16.dat i: 0 nu: 2226.179930 i: 1 nu: 782.472410 i: 2 nu: 714.285640 chan: 0 nuc: 2700.114800 A: 1.592459 B: 0.998147 chan: 1 nuc: 917.228900 A: 0.332380 B: 0.998522 chan: 2 nuc: 838.125500 A: 0.674623 B: 0.998363 i: 0 wave:0.000000 i: 1 wave:0.000000 i: 2 wave:2700.114800 i: 3 wave:917.228900 i: 4 wave:838.125500 before look for Z after look for Z about to leave openparm newflag is 1: 1 about to open: tmp.p headstuff: sat: 16 orb: 0 julianday: 10970 taos: 52554078 length of headstuff: 57 headstuff: sat: 16 orb: 0 julianday: 10970 taos: 52554078 0.000 0.000 2700.1148 917.2289 838.1255 length of headstuff: 106 ************** results of initial calibration ******** from header firstday is : 13 arcsize: 5626 in sequence numlines: 1 day: 13 val: 0 realline before: 1 spaceref: 0.000000 targtemp: 296.488565 space rad: 0.000000 -4.500000 -3.610000 average space counts: 990.400000 991.220000 994.340000 average internal counts: 795.020000 397.980000 382.220000 satid: 16 launch_indx: -1 chan: 3 radspace: 0.000000 radtarget: 0.500622 spacebar:990.400000 internalbar: 795.020000 chan: 3 radspace: 0.000000 radtarget: 0.500622 spacebar:990.400000 internalbar: 795.020000 gain: -0.002562 offset: 2.537701 chan: 4 radspace: -4.500000 radtarget: 108.315584 spacebar:991.220000 internalbar: 397.980000 chan: 4 radspace: -4.500000 radtarget: 108.315584 spacebar:991.220000 internalbar: 397.980000 gain: -0.190169 offset: 183.998871 chan: 5 radspace: -3.610000 radtarget: 122.502929 spacebar:994.340000 internalbar: 382.220000 chan: 5 radspace: -3.610000 radtarget: 122.502929 spacebar:994.340000 internalbar: 382.220000 gain: -0.206026 offset: 201.250366 gain after: 0.054945 gain after: 0.054945 gain and offset up to scan line 51 : 0.054945 -2.115976 0.057654 -2.330920 -0.002562 2.537701 -0.190169 183.998871 -0.206026 201.250366 ************************************************************ trouble reading line in main DONE WITH CALIBRATION there were 1959 lines done THIS IS ACTUALLY rawcal15_new AS IT SHOULD BE CALIBRATION FILE: COEFFS.16 RADFLAG: 1 calib_dir: /Users/jkey/nav/cal name of caldatfile is: /Users/jkey/nav/cal/calibnew16.dat have found CENTRAL WAVE in string CENTRAL WAVE NUMBER TABLE 190.000000 230.000000 2638.652000 928.260300 834.449600 230.000000 270.000000 2642.807000 928.828400 834.806600 270.000000 310.000000 2645.899000 929.332300 835.164700 have found SPLIT CAL in string SPLIT CAL TABLE SPLIT GAINS and OFFSETS CHAN 1 count 0-490 gain: 0.052300 offset: -2.016000 CHAN 1 count 491-1023 gain: 0.152800 offset: -51.910000 CHAN 2 count 0-500 gain: 0.051300 offset: -1.943000 CHAN 2 count 501-1023 gain: 0.151000 offset: -51.770000 CHAN 3 count 0-499 gain: 0.028700 offset: -2.043000 CHAN 3 count 500-1023 gain: 0.180600 offset: -78.030000 WE ARE GOING NON LINEAR name of caldatfile is: /Users/jkey/nav/cal/calibnew16.dat have found NON LINEAR in string ABOUT TO READ NON LINEAR MATRIX have READ NON LINEAR MATRIX DONE WITH NON LINEAR STUFF have found NEW COEFFS in string ABOUT TO READ NEW COEFFS i: 0 NUC: 2700.114800 Anew: 1.592459 Bnew: 0.998147 NS: 0.000000 B0: 0.000000 B1: 0.000000 B2: 0.000000 i: 1 NUC: 917.228900 Anew: 0.332380 Bnew: 0.998522 NS: -2.467000 B0: 2.960000 B1: -0.054110 B2: 0.000245 i: 2 NUC: 838.125500 Anew: 0.674623 Bnew: 0.998363 NS: -2.009000 B0: 2.225000 B1: -0.036650 B2: 0.000149 DONE WITH NEW COEFFS calhead: sat: 16 orb: 0 julianday: 10970 taos: 52554078 0.000 0.000 2700.1148 917.2289 838.1255 xōm/Users/jkey/nav/cal/calibnew16.dat calhead: 0.000 0.000 2700.1148 917.2289 838.1255 xōm/Users/jkey/nav/cal/calibnew16.dat wavecent: 0.000000 0.000000 2700.114800 917.228900 838.125500 INVWAVE: 0.000000 size of cal file is: 207866 have read in cal array number of lines 1959 doing raw line: 0 doing raw line: 500 doing raw line: 1000 doing raw line: 1500 TIME calculation WAS REQUESTED SZA calculation WAS REQUESTED LINE and SAMPLE DATA WAS REQUESTED OSCULATING CORRECTIONS WILL BE APPLIED dashv: temp: strlen: 0 dashH: n strlen: 1 AFTER GET OPTIONS GAC DATA OPTION HAS BEEN CHOOSEN AFTER INIT input file has been opened, fp: 1883758400 after openarc fp: 1883758400 sid: 16d orbnum: 0d numscan: 1959d milday: 52554078d *** data header *** satid: 16 orbit number: 0 number of lines: 1959 julian day: 10970 time of first scan: 14.598355 ******************** AFTER INITDATA julday: 10970 taos: 52554078 TIME OF FIRST SCAN : 11/01/13 14:35:54 looking for ephemeris data for taos: 10970.608265 opening ephemeris after opening ephemeris size: 76 *******ephemeris elements ************ satid: 26536 orbit: 65195 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 ecc: 0.001062 argper: 0.364140 ascnode: 0.799605 inclin: 0.275446 ephoc: 110105000000 **************************** ******ephemnot structure follows*******: satid: 26536 orbit: 65195 size: 76 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 eccen: 0.001062 argper: 0.364140 ascenode: 0.799605 inclin: 0.275446 earadius: 6378137.000000 oblat: 0.001083 ***************************************************************** *********epheminit structure follows******* timnot: 10962.000000 smajaxis: 1.132905 decay: -0.000000 eccen: 0.001062 inclin: 1.730681 argper: 2.287962 perrate: -0.000551 longan: 5.024068 nodrate: 0.000201 ,meananom: 1.717550 meanmot: 0.828813 meanmotrate: 0.000000 grav constant: 398598005011040.375000 ***************************************************************** satlat1: 1.045842 satlat2: 1.071048 asnflag: 1 DATA IS ASCENDING **************** INITAILIZATION OVER ****************** dashr: 81.38011 RANGE0: 81.380110 IN SATGEO line: 0 spot: 204 time: 10970.608265 IN SATGEO line: 5 spot: 204 time: 10970.608294 RANGE: 81.380110 Pass is Ascending at start center lat: 90.000000 center lon: 0.000000 range: 81.380110 images will be processed using chunks of 361 lines getting space for 10 bit image image.proj: 8 fpsza: 7047dfd8 fpsaza: 7047e070 opening 135358853.NSS.GHRR.NL.D11013.S1302.E1457.B5315354.GC.N2.1 OPENING chan: 0 fp: 1883759312 opening 135358853.NSS.GHRR.NL.D11013.S1302.E1457.B5315354.GC.N2.2 OPENING chan: 1 fp: 1883759464 opening 135358853.NSS.GHRR.NL.D11013.S1302.E1457.B5315354.GC.N2.3 OPENING chan: 2 fp: 1883759616 opening 135358853.NSS.GHRR.NL.D11013.S1302.E1457.B5315354.GC.N2.4 OPENING chan: 3 fp: 1883759768 opening 135358853.NSS.GHRR.NL.D11013.S1302.E1457.B5315354.GC.N2.5 OPENING chan: 4 fp: 1883759920 getting space for time array getting space for sza array getting space for saza array getting space for satelv array getting space for sataz array ************************************* total bytes malloced is : 4217234 ************************************* ******** current elements follow******** taos: 10970.608265 time: 10970.608265 smajaxis: 7225816.856173 eccentricity: 0.001062 inclin: 1.730734 argper: 1.866736 longan: -5.075663 meananom: 5.486567 trueanom: 5.485047 altitude: 7220442.456055 ********************************************** satpos: 2177777.853590 2895352.517885 6241350.328579 satvel: -1784.161794 -6295.340711 3528.712449 satlat: 59.865876 satlon: 53.050859 COMMAND>DASHD: n INTERPOLATION CHOOSEN , every 8 x pixel and every 8 ypixel going through pixels **** before templat: 29.712678 centtodet: 29.878633 CORNERS OF WHOLE IMAGE FOLLOW North West Corner lat: 29.878633 lon: 225.000000 North East Corner lat: 30.063244 lon: 135.159155 South East Corner lat: 30.248190 lon: 45.000000 South West Corner lat: 30.063244 lon: -45.159155 interpolation choosen every 8 i pixels and every 8 j pixels image will be processed in 1 chunks of 361 image lines segment 0 startj: 0 stopj: 361 starti: 0 stopi: 360 numj: 361 north west----- lat: 29.712678 lon: 225.000000 line: -999 spot: -999 north east----- lat: 29.896666 lon: 135.159155 line: -999 spot: -999 south east-----lat: 29.896666 lon: 44.840845 line: -999 spot: 112 south west-----lat: 29.712678 lon: -45.000000 line: -999 spot: -999 doing chunk number: 0 from line: 0 to line: 360 numcelx: 45 numcely: 45 extrai: 0 extraj: 0 ****minline: 1 maxline: 1957 in data aquisiton maxline: 1957 minline: 1 in data aquistion module image is contained within lines : 1 and 1957 data will be processed using 20 chunks of 100 lines in get10 searching data lines 1 to 101 for image lines 0 to 361 in get10 searching data lines 101 to 201 for image lines 0 to 361 in get10 searching data lines 201 to 301 for image lines 0 to 361 in get10 searching data lines 301 to 401 for image lines 0 to 361 in get10 searching data lines 401 to 501 for image lines 0 to 361 in get10 searching data lines 501 to 601 for image lines 0 to 361 in get10 searching data lines 601 to 701 for image lines 0 to 361 in get10 searching data lines 701 to 801 for image lines 0 to 361 in get10 searching data lines 801 to 901 for image lines 0 to 361 in get10 searching data lines 901 to 1001 for image lines 0 to 361 in get10 searching data lines 1001 to 1101 for image lines 0 to 361 in get10 searching data lines 1101 to 1201 for image lines 0 to 361 in get10 searching data lines 1201 to 1301 for image lines 0 to 361 in get10 searching data lines 1301 to 1401 for image lines 0 to 361 in get10 searching data lines 1401 to 1501 for image lines 0 to 361 in get10 searching data lines 1501 to 1601 for image lines 0 to 361 in get10 searching data lines 1601 to 1701 for image lines 0 to 361 in get10 searching data lines 1701 to 1801 for image lines 0 to 361 in get10 searching data lines 1801 to 1901 for image lines 0 to 361 done processing 1959 lines in get10 searching data lines 1901 to 2001 for image lines 0 to 361 dumping SZA array in dumpother j1: 0 j2: 361 ysize: 361 fpother: 1883758552 writing other type image in dumpother j1: 0 j2: 361 ysize: 361 fpother: 1883758704 writing other type image *************** dashY: y dumping ELEV array in dumpother j1: 0 j2: 361 ysize: 361 fpother: 1883759160 writing other type image dumping AZIM array in dumpother j1: 0 j2: 361 ysize: 361 fpother: 1883759008 writing other type image constructing TIME array in puttime j1: 0 j2: 361 ysize: 361 dumping TIME array in dumpother j1: 0 j2: 361 ysize: 361 fpother: 1883758856 writing other type image nchan: 5 dumping ch: 0 fp: 1883759312 about to dump image number: 0 channel: 1 xsize: 361 ysize: 361 IN WRITEIMAGE chan: 0 fp: 1883759312 DOne with dumpimage fp: 1883759312 have dumped ch: 0 fp: 1883759312 dumping ch: 1 fp: 1883759464 about to dump image number: 1 channel: 2 xsize: 361 ysize: 361 IN WRITEIMAGE chan: 1 fp: 1883759464 DOne with dumpimage fp: 1883759464 have dumped ch: 1 fp: 1883759464 dumping ch: 2 fp: 1883759616 about to dump image number: 2 channel: 3 xsize: 361 ysize: 361 IN WRITEIMAGE chan: 2 fp: 1883759616 DOne with dumpimage fp: 1883759616 have dumped ch: 2 fp: 1883759616 dumping ch: 3 fp: 1883759768 about to dump image number: 3 channel: 4 xsize: 361 ysize: 361 IN WRITEIMAGE chan: 3 fp: 1883759768 DOne with dumpimage fp: 1883759768 have dumped ch: 3 fp: 1883759768 dumping ch: 4 fp: 1883759920 about to dump image number: 4 channel: 5 xsize: 361 ysize: 361 IN WRITEIMAGE chan: 4 fp: 1883759920 DOne with dumpimage fp: 1883759920 have dumped ch: 4 fp: 1883759920 About to write headers fp: 1883759768 done with navigation--retrieving data rm: data.*: No such file or directory ***** Running polar regions subsetting at Fri Jan 14 02:18:10 CST 2011 ***** Working on year and julian day (yyddd): 11013 (2011 Jan 13) command line args: ephemfile: /Users/jkey/nav/ephemeris northlimit: 60.000000 southlimit: -60.000000 data is type: G sds-type is: H region is: O SDS GAC data selected. year: 2011 day: 13 miilsecs: 46972578 before md doy: 13 year: 2011 **julianday: 10970 year: 2011 day: 13 miilsecs: 46972578 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 year: 2011 day: 13 miilsecs: 46973078 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 year: 2011 day: 13 miilsecs: 46973578 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 taos: 46972578 satid: 16 julian day: 10970 nlines: 13726 GOING INTO initorb4 satnum: 16 navsatid: 26536 calling readephem taos: 10970.543664 opening ephemeris after opening ephemeris size: 76 *******ephemeris elements ************ satid: 26536 orbit: 65195 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 ecc: 0.001062 argper: 0.364140 ascnode: 0.799605 inclin: 0.275446 ephoc: 110105000000 **************************** ******ephemnot structure follows*******: satid: 26536 orbit: 65195 size: 76 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 eccen: 0.001062 argper: 0.364140 ascenode: 0.799605 inclin: 0.275446 earadius: 6378137.000000 oblat: 0.001083 ***************************************************************** YEAR HERE: 11 *********epheminit structure follows******* timnot: 10962.000000 smajaxis: 1.132905 decay: -0.000000 eccen: 0.001062 inclin: 1.730681 argper: 2.287962 perrate: -0.000551 longan: 5.024068 nodrate: 0.000201 ,meananom: 1.717550 meanmot: 0.828813 meanmotrate: 0.000000 grav constant: 398598005011040.375000 ***************************************************************** ******** current elements follow******** taos: 10970.543664 time: 10970.543664 smajaxis: 7225816.891098 eccentricity: 0.001062 inclin: 1.730681 argper: 1.869897 longan: -4.669720 meananom: 760.018289 trueanom: 760.017769 altitude: 7218377.410580 ********************************************** ******** current elements follow******** taos: 10970.543664 time: 10970.543664 smajaxis: 7225816.891098 eccentricity: 0.001062 inclin: 1.730681 argper: 1.869897 longan: -4.669720 meananom: 760.018289 trueanom: 760.017769 altitude: 7218377.410580 ********************************************** SPECIFIC DATA: bytesperline: 4608 scanspersec: 2.000000 line : 0 10970.543664 80.438398 -15.503028 7212898.040561 Opening data.NORTH1 and writing header line: 0 line : 100 10970.544243 79.186463 -30.767840 7212867.434500 line : 200 10970.544822 77.372507 -42.352629 7212893.774916 line : 300 10970.545400 75.201394 -50.887887 7212976.686070 line : 400 10970.545979 72.807464 -57.243639 7213115.522829 line : 500 10970.546558 70.271193 -62.099679 7213309.376894 line : 600 10970.547136 67.640481 -65.918357 7213557.084958 line : 700 10970.547715 64.944570 -69.004688 7213857.238717 line : 800 10970.548294 62.201943 -71.561281 7214208.196625 line : 900 10970.548872 59.424700 -73.725434 7214608.097280 line : 1000 10970.549451 56.621036 -75.592427 7215054.874312 line : 1100 10970.550030 53.796668 -77.229987 7215546.272613 line : 1200 10970.550609 50.955697 -78.687360 7216079.865764 line : 1300 10970.551187 48.101143 -80.001111 7216653.074480 line : 1400 10970.551766 45.235286 -81.198919 7217263.185894 line : 1500 10970.552345 42.359883 -82.302108 7217907.373505 line : 1600 10970.552923 39.476327 -83.327375 7218582.717582 line : 1700 10970.553502 36.585743 -84.287996 7219286.225851 line : 1800 10970.554081 33.689063 -85.194673 7220014.854249 line : 1900 10970.554659 30.787078 -86.056156 7220765.527572 line : 2000 10970.555238 27.880475 -86.879690 7221535.159815 line : 2100 10970.555817 24.969861 -87.671357 7222320.674028 line : 2200 10970.556396 22.055790 -88.436324 7223119.021500 line : 2300 10970.556974 19.138769 -89.179047 7223927.200117 line : 2400 10970.557553 16.219277 -89.903416 7224742.271720 line : 2500 10970.558132 13.297768 -90.612884 7225561.378339 line : 2600 10970.558710 10.374681 -91.310561 7226381.757148 line : 2700 10970.559289 7.450442 -91.999293 7227200.754043 line : 2800 10970.559868 4.525467 -92.681737 7228015.835734 line : 2900 10970.560447 1.600168 -93.360417 7228824.600266 line : 3000 10970.561025 -1.325047 -94.037778 7229624.785910 line : 3100 10970.561604 -4.249774 -94.716236 7230414.278370 line : 3200 10970.562183 -7.173607 -95.398232 7231191.116277 line : 3300 10970.562761 -10.096140 -96.086275 7231953.494970 line : 3400 10970.563340 -13.016962 -96.783001 7232699.768550 line : 3500 10970.563919 -15.935656 -97.491232 7233428.450258 line : 3600 10970.564497 -18.851797 -98.214038 7234138.211205 line : 3700 10970.565076 -21.764945 -98.954822 7234827.877519 line : 3800 10970.565655 -24.674637 -99.717411 7235496.425985 line : 3900 10970.566234 -27.580387 -100.506179 7236142.978279 line : 4000 10970.566812 -30.481665 -101.326187 7236766.793888 line : 4100 10970.567391 -33.377892 -102.183379 7237367.261849 line : 4200 10970.567970 -36.268414 -103.084823 7237943.891433 line : 4300 10970.568548 -39.152479 -104.039032 7238496.301903 line : 4400 10970.569127 -42.029202 -105.056401 7239024.211524 line : 4500 10970.569706 -44.897516 -106.149785 7239527.425945 line : 4600 10970.570284 -47.756101 -107.335315 7240005.826144 line : 4700 10970.570863 -50.603291 -108.633527 7240459.356076 line : 4800 10970.571442 -53.436930 -110.070994 7240888.010203 line : 4900 10970.572021 -56.254164 -111.682695 7241291.821069 line : 5000 10970.572599 -59.051127 -113.515549 7241670.847068 Opening data.SOUTH1 and writing header line: 5035 line : 5100 10970.573178 -61.822445 -115.633795 7242025.160586 line : 5200 10970.573757 -64.560447 -118.127361 7242354.836643 line : 5300 10970.574335 -67.253858 -121.125120 7242659.942201 line : 5400 10970.574914 -69.885554 -124.816162 7242940.526260 line : 5500 10970.575493 -72.428617 -129.483639 7243196.610875 line : 5600 10970.576072 -74.839238 -135.555441 7243428.183204 line : 5700 10970.576650 -77.044137 -143.663585 7243635.188687 line : 5800 10970.577229 -78.920637 -154.641384 7243817.525452 line : 5900 10970.577808 -80.277420 -169.196641 7243975.040003 line : 6000 10970.578386 -80.880033 173.128173 7244107.524270 line : 6100 10970.578965 -80.582822 154.876330 7244214.714042 line : 6200 10970.579544 -79.461651 139.086818 7244296.288819 line : 6300 10970.580122 -77.740348 126.920833 7244351.873088 line : 6400 10970.580701 -75.632705 117.919454 7244381.039014 line : 6500 10970.581280 -73.283821 111.225809 7244383.310521 line : 6600 10970.581859 -70.781486 106.129698 7244358.168722 line : 6700 10970.582437 -68.177932 102.138742 7244305.058639 line : 6800 10970.583016 -65.504899 98.926284 7244223.397142 line : 6900 10970.583595 -62.782334 96.275288 7244112.582018 line : 7000 10970.584173 -60.023214 94.038966 7243972.002065 line : 7100 10970.584752 -57.236270 92.115732 7243801.048111 line : 7200 10970.585331 -54.427558 90.433599 7243599.124811 line : 7300 10970.585909 -51.601393 88.940380 7243365.663106 line : 7400 10970.586488 -48.760932 87.597439 7243100.133188 line : 7500 10970.587067 -45.908539 86.375609 7242802.057823 line : 7600 10970.587646 -43.046024 85.252481 7242471.025876 line : 7700 10970.588224 -40.174807 84.210547 7242106.705874 line : 7800 10970.588803 -37.296027 83.235924 7241708.859437 line : 7900 10970.589382 -34.410618 82.317444 7241277.354430 line : 8000 10970.589960 -31.519367 81.445998 7240812.177648 line : 8100 10970.590539 -28.622947 80.614061 7240313.446896 line : 8200 10970.591118 -25.721954 79.815333 7239781.422285 line : 8300 10970.591697 -22.816923 79.044471 7239216.516617 line : 8400 10970.592275 -19.908345 78.296886 7238619.304690 line : 8500 10970.592854 -16.996680 77.568578 7237990.531419 line : 8600 10970.593433 -14.082364 76.856012 7237331.118618 line : 8700 10970.594011 -11.165817 76.156016 7236642.170363 line : 8800 10970.594590 -8.247449 75.465693 7235924.976816 line : 8900 10970.595169 -5.327660 74.782357 7235181.016437 line : 9000 10970.595747 -2.406847 74.103463 7234411.956526 line : 9100 10970.596326 0.514595 73.426560 7233619.652022 line : 9200 10970.596905 3.436272 72.749236 7232806.142548 line : 9300 10970.597484 6.357789 72.069070 7231973.647680 line : 9400 10970.598062 9.278748 71.383581 7231124.560429 line : 9500 10970.598641 12.198745 70.690177 7230261.438987 line : 9600 10970.599220 15.117368 69.986098 7229386.996739 line : 9700 10970.599798 18.034195 69.268351 7228504.090631 line : 9800 10970.600377 20.948789 68.533632 7227615.707949 line : 9900 10970.600956 23.860693 67.778241 7226724.951611 line : 10000 10970.601534 26.769420 66.997964 7225835.024068 line : 10100 10970.602113 29.674447 66.187937 7224949.209956 line : 10200 10970.602692 32.575199 65.342470 7224070.857616 line : 10300 10970.603271 35.471031 64.454814 7223203.359651 line : 10400 10970.603849 38.361207 63.516862 7222350.132667 line : 10500 10970.604428 41.244864 62.518747 7221514.596379 line : 10600 10970.605007 44.120966 61.448301 7220700.152257 line : 10700 10970.605585 46.988245 60.290300 7219910.161903 line : 10800 10970.606164 49.845110 59.025424 7219147.925347 line : 10900 10970.606743 52.689514 57.628758 7218416.659454 line : 11000 10970.607321 55.518771 56.067619 7217719.476641 line : 11100 10970.607900 58.329261 54.298337 7217059.364096 Opening data.NORTH2 and writing header line: 11160 line : 11200 10970.608479 61.115991 52.261359 7216439.163680 line : 11300 10970.609058 63.871884 49.873668 7215861.552713 line : 11400 10970.609636 66.586610 47.016775 7215329.025806 line : 11500 10970.610215 69.244604 43.517436 7214843.877915 line : 11600 10970.610794 71.821581 39.116668 7214408.188769 line : 11700 10970.611372 74.278284 33.421946 7214023.808824 line : 11800 10970.611951 76.549275 25.844895 7213692.346865 line : 11900 10970.612530 78.524353 15.572368 7213415.159376 line : 12000 10970.613109 80.026637 1.780641 7213193.341775 line : 12100 10970.613687 80.821298 -15.472878 7213027.721596 line : 12200 10970.614266 80.724750 -34.045681 7212918.853671 line : 12300 10970.614845 79.762075 -50.673336 7212867.017370 line : 12400 10970.615423 78.142126 -63.683069 7212872.215910 line : 12500 10970.616002 76.092361 -73.316282 7212934.177728 line : 12600 10970.616581 73.774446 -80.439124 7213052.359927 line : 12700 10970.617159 71.287304 -85.821872 7213225.953723 line : 12800 10970.617738 68.689623 -90.006873 7213453.891864 line : 12900 10970.618317 66.016808 -93.353829 7213734.857932 line : 13000 10970.618896 63.290920 -96.100447 7214067.297425 line : 13100 10970.619474 60.526210 -98.406419 7214449.430533 line : 13200 10970.620053 57.732199 -100.381510 7214879.266454 line : 13300 10970.620632 54.915456 -102.103016 7215354.619120 line : 13400 10970.621210 52.080643 -103.626649 7215873.124189 line : 13500 10970.621789 49.231160 -104.993442 7216432.257108 line : 13600 10970.622368 46.369545 -106.234229 7217029.352105 line : 13700 10970.622946 43.497742 -107.372602 7217661.621899 could not read line 13723 writing header for file 0 goint into getcorrectsdsvals year: 2011 day: 13 miilsecs: 46972578 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 going into makeheader with taos: 10970.543664 satid: 16 nlines: 883 IN MAKEHEADER going into first make1btime in make1btime taos: 10970.543664 millsec: 46972578 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 after first make1btime in make1btime taos: 10970.545367 millsec: 47119745 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 DONE WITH MAKEHEADER writing header for file 1 goint into getcorrectsdsvals year: 2011 day: 13 miilsecs: 52554078 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 going into makeheader with taos: 10970.608265 satid: 16 nlines: 1959 IN MAKEHEADER going into first make1btime in make1btime taos: 10970.608265 millsec: 52554078 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 after first make1btime in make1btime taos: 10970.612044 millsec: 52880578 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 DONE WITH MAKEHEADER writing header for file 2 goint into getcorrectsdsvals year: 2011 day: 13 miilsecs: 49491578 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 going into makeheader with taos: 10970.572819 satid: 16 nlines: 1966 IN MAKEHEADER going into first make1btime in make1btime taos: 10970.572819 millsec: 49491578 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 after first make1btime in make1btime taos: 10970.576612 millsec: 49819245 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 DONE WITH MAKEHEADER ***** Running navigation/calibration at Fri Jan 14 02:18:10 CST 2011 ***** Working on year and julian day (yyddd): 11013 (2011 Jan 13) no H option specified TBMFLAG: compval: 0 reading input header input header has been read satid from header : 2 XX satid: 16 getting time from firstline getting time in gettime in: 7 db 0 d 0 6b 2 f3 2e 7a year: 2011 day: 13 ymd year: 2011 ymd yeardif: 30 after getheader done with 1966 lines header count: 0 actual: 1966 header will be rewritten output header follows: satid: 16 orbnum: 0 nlines: 1966 julday: 10970 taos: 49491578 NEW PROCESSGENERICGAC year: 2011 input file is : tmp output file is : tmp.p new processraw opening raw file: tmp opening archive file and writing header to tmp.p header written to newdataset dumsat: 3 satid from first line is: 16 year before julianday call: 2011 firstline curday: 13 julian: 10970 time: 49491578 linein: 0 curtime: 49492078 lasttime: 49491578 lastgood: 49491578 timdif: 500 linein: 100 curtime: 49542078 lasttime: 49541578 lastgood: 49541578 timdif: 500 linein: 200 curtime: 49592078 lasttime: 49591578 lastgood: 49591578 timdif: 500 linein: 300 curtime: 49642078 lasttime: 49641578 lastgood: 49641578 timdif: 500 linein: 400 curtime: 49692078 lasttime: 49691578 lastgood: 49691578 timdif: 500 linein: 500 curtime: 49742078 lasttime: 49741578 lastgood: 49741578 timdif: 500 linein: 600 curtime: 49792078 lasttime: 49791578 lastgood: 49791578 timdif: 500 linein: 700 curtime: 49842078 lasttime: 49841578 lastgood: 49841578 timdif: 500 linein: 800 curtime: 49892078 lasttime: 49891578 lastgood: 49891578 timdif: 500 linein: 900 curtime: 49942078 lasttime: 49941578 lastgood: 49941578 timdif: 500 linein: 1000 curtime: 49992078 lasttime: 49991578 lastgood: 49991578 timdif: 500 linein: 1100 curtime: 50042078 lasttime: 50041578 lastgood: 50041578 timdif: 500 linein: 1200 curtime: 50092078 lasttime: 50091578 lastgood: 50091578 timdif: 500 linein: 1300 curtime: 50142078 lasttime: 50141578 lastgood: 50141578 timdif: 500 linein: 1400 curtime: 50192078 lasttime: 50191578 lastgood: 50191578 timdif: 500 linein: 1500 curtime: 50242078 lasttime: 50241578 lastgood: 50241578 timdif: 500 linein: 1600 curtime: 50292078 lasttime: 50291578 lastgood: 50291578 timdif: 500 linein: 1700 curtime: 50342078 lasttime: 50341578 lastgood: 50341578 timdif: 500 linein: 1800 curtime: 50392078 lasttime: 50391578 lastgood: 50391578 timdif: 500 linein: 1900 curtime: 50442078 lasttime: 50441578 lastgood: 50441578 timdif: 500 could not read line bytes read: 0 error reading line: 1965 archive corect to here will rewrite header correctly cleaning up archive file new header being written as: satid: 16 orbit number: 0 dum: 0 number of lines: 1966 julian day: 10970d time of first scan: 13.747660 processing GAC data satid: 16 orbit number: 0 dum: 0 number of lines: 1966 julian day: 10970d time of first scan: 13.747660 Seasonal correction for julian date 10970.572819 = 0.967344 flag is : S 11/01/13 00:00:00110113000000 year: 11 month: 1 day: 13 dayofyear: 13 file containing coefficients is COEFFS.16 calling openparm16 before sprintf parmfilename: /Users/jkey/nav/cal/calib16.dat i: 0 nu: 2226.179930 i: 1 nu: 782.472410 i: 2 nu: 714.285640 chan: 0 nuc: 2700.114800 A: 1.592459 B: 0.998147 chan: 1 nuc: 917.228900 A: 0.332380 B: 0.998522 chan: 2 nuc: 838.125500 A: 0.674623 B: 0.998363 i: 0 wave:0.000000 i: 1 wave:0.000000 i: 2 wave:2700.114800 i: 3 wave:917.228900 i: 4 wave:838.125500 before look for Z after look for Z about to leave openparm newflag is 1: 1 about to open: tmp.p headstuff: sat: 16 orb: 0 julianday: 10970 taos: 49491578 length of headstuff: 57 headstuff: sat: 16 orb: 0 julianday: 10970 taos: 49491578 0.000 0.000 2700.1148 917.2289 838.1255 length of headstuff: 106 ************** results of initial calibration ******** from header firstday is : 13 arcsize: 5626 in sequence numlines: 1 day: 13 val: 0 realline before: 1 spaceref: 0.000000 targtemp: 297.650728 space rad: 0.000000 -4.500000 -3.610000 average space counts: 990.460000 991.180000 994.300000 average internal counts: 785.540000 390.480000 374.080000 satid: 16 launch_indx: -1 chan: 3 radspace: 0.000000 radtarget: 0.526662 spacebar:990.460000 internalbar: 785.540000 chan: 3 radspace: 0.000000 radtarget: 0.526662 spacebar:990.460000 internalbar: 785.540000 gain: -0.002570 offset: 2.545569 chan: 4 radspace: -4.500000 radtarget: 110.235746 spacebar:991.180000 internalbar: 390.480000 chan: 4 radspace: -4.500000 radtarget: 110.235746 spacebar:991.180000 internalbar: 390.480000 gain: -0.191003 offset: 184.818756 chan: 5 radspace: -3.610000 radtarget: 124.492797 spacebar:994.300000 internalbar: 374.080000 chan: 5 radspace: -3.610000 radtarget: 124.492797 spacebar:994.300000 internalbar: 374.080000 gain: -0.206544 offset: 201.756836 gain after: 0.054945 gain after: 0.054945 gain and offset up to scan line 51 : 0.054945 -2.115968 0.057654 -2.330912 -0.002570 2.545569 -0.191003 184.818756 -0.206544 201.756836 ************************************************************ trouble reading line in main DONE WITH CALIBRATION there were 1966 lines done THIS IS ACTUALLY rawcal15_new AS IT SHOULD BE CALIBRATION FILE: COEFFS.16 RADFLAG: 1 calib_dir: /Users/jkey/nav/cal name of caldatfile is: /Users/jkey/nav/cal/calibnew16.dat have found CENTRAL WAVE in string CENTRAL WAVE NUMBER TABLE 190.000000 230.000000 2638.652000 928.260300 834.449600 230.000000 270.000000 2642.807000 928.828400 834.806600 270.000000 310.000000 2645.899000 929.332300 835.164700 have found SPLIT CAL in string SPLIT CAL TABLE SPLIT GAINS and OFFSETS CHAN 1 count 0-490 gain: 0.052300 offset: -2.016000 CHAN 1 count 491-1023 gain: 0.152800 offset: -51.910000 CHAN 2 count 0-500 gain: 0.051300 offset: -1.943000 CHAN 2 count 501-1023 gain: 0.151000 offset: -51.770000 CHAN 3 count 0-499 gain: 0.028700 offset: -2.043000 CHAN 3 count 500-1023 gain: 0.180600 offset: -78.030000 WE ARE GOING NON LINEAR name of caldatfile is: /Users/jkey/nav/cal/calibnew16.dat have found NON LINEAR in string ABOUT TO READ NON LINEAR MATRIX have READ NON LINEAR MATRIX DONE WITH NON LINEAR STUFF have found NEW COEFFS in string ABOUT TO READ NEW COEFFS i: 0 NUC: 2700.114800 Anew: 1.592459 Bnew: 0.998147 NS: 0.000000 B0: 0.000000 B1: 0.000000 B2: 0.000000 i: 1 NUC: 917.228900 Anew: 0.332380 Bnew: 0.998522 NS: -2.467000 B0: 2.960000 B1: -0.054110 B2: 0.000245 i: 2 NUC: 838.125500 Anew: 0.674623 Bnew: 0.998363 NS: -2.009000 B0: 2.225000 B1: -0.036650 B2: 0.000149 DONE WITH NEW COEFFS calhead: sat: 16 orb: 0 julianday: 10970 taos: 49491578 0.000 0.000 2700.1148 917.2289 838.1255 ĭ/Users/jkey/nav/cal/calibnew16.dat calhead: 0.000 0.000 2700.1148 917.2289 838.1255 ĭ/Users/jkey/nav/cal/calibnew16.dat wavecent: 0.000000 0.000000 2700.114800 917.228900 838.125500 INVWAVE: 0.000000 size of cal file is: 208608 have read in cal array number of lines 1966 doing raw line: 0 doing raw line: 500 doing raw line: 1000 doing raw line: 1500 TIME calculation WAS REQUESTED SZA calculation WAS REQUESTED LINE and SAMPLE DATA WAS REQUESTED OSCULATING CORRECTIONS WILL BE APPLIED dashv: temp: strlen: 0 dashH: n strlen: 1 AFTER GET OPTIONS GAC DATA OPTION HAS BEEN CHOOSEN AFTER INIT input file has been opened, fp: 1883758400 after openarc fp: 1883758400 sid: 16d orbnum: 0d numscan: 1966d milday: 49491578d *** data header *** satid: 16 orbit number: 0 number of lines: 1966 julian day: 10970 time of first scan: 13.747660 ******************** AFTER INITDATA julday: 10970 taos: 49491578 TIME OF FIRST SCAN : 11/01/13 13:44:52 looking for ephemeris data for taos: 10970.572819 opening ephemeris after opening ephemeris size: 76 *******ephemeris elements ************ satid: 26536 orbit: 65195 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 ecc: 0.001062 argper: 0.364140 ascnode: 0.799605 inclin: 0.275446 ephoc: 110105000000 **************************** ******ephemnot structure follows*******: satid: 26536 orbit: 65195 size: 76 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 eccen: 0.001062 argper: 0.364140 ascenode: 0.799605 inclin: 0.275446 earadius: 6378137.000000 oblat: 0.001083 ***************************************************************** *********epheminit structure follows******* timnot: 10962.000000 smajaxis: 1.132905 decay: -0.000000 eccen: 0.001062 inclin: 1.730681 argper: 2.287962 perrate: -0.000551 longan: 5.024068 nodrate: 0.000201 ,meananom: 1.717550 meanmot: 0.828813 meanmotrate: 0.000000 grav constant: 398598005011040.375000 ***************************************************************** satlat1: -1.046184 satlat2: -1.071313 asnflag: -1 DATA IS DESCENDING **************** INITAILIZATION OVER ****************** dashr: 72.363 RANGE0: 72.363000 IN SATGEO line: 0 spot: 204 time: 10970.572819 IN SATGEO line: 5 spot: 204 time: 10970.572848 RANGE: 72.363000 Pass is Descending at start center lat: -89.999943 center lon: 180.000000 range: 72.363000 images will be processed using chunks of 321 lines getting space for 10 bit image image.proj: 8 fpsza: 7047dfd8 fpsaza: 7047e070 opening 135358853.NSS.GHRR.NL.D11013.S1302.E1457.B5315354.GC.S.1 OPENING chan: 0 fp: 1883759312 opening 135358853.NSS.GHRR.NL.D11013.S1302.E1457.B5315354.GC.S.2 OPENING chan: 1 fp: 1883759464 opening 135358853.NSS.GHRR.NL.D11013.S1302.E1457.B5315354.GC.S.3 OPENING chan: 2 fp: 1883759616 opening 135358853.NSS.GHRR.NL.D11013.S1302.E1457.B5315354.GC.S.4 OPENING chan: 3 fp: 1883759768 opening 135358853.NSS.GHRR.NL.D11013.S1302.E1457.B5315354.GC.S.5 OPENING chan: 4 fp: 1883759920 getting space for time array getting space for sza array getting space for saza array getting space for satelv array getting space for sataz array ************************************* total bytes malloced is : 3453394 ************************************* ******** current elements follow******** taos: 10970.572819 time: 10970.572819 smajaxis: 7225816.875336 eccentricity: 0.001062 inclin: 1.730734 argper: 1.868470 longan: -4.852972 meananom: 2.340556 trueanom: 2.342080 altitude: 7231175.374149 ********************************************** satpos: -1488854.846429 -3300108.492041 -6271872.448642 satvel: 348.433909 6511.008092 -3516.901677 satlat: -60.004469 satlon: -114.282673 COMMAND>DASHD: n INTERPOLATION CHOOSEN , every 8 x pixel and every 8 ypixel going through pixels **** before templat: -36.957736 centtodet: -37.142800 CORNERS OF WHOLE IMAGE FOLLOW North West Corner lat: -37.142800 lon: -45.000061 North East Corner lat: -37.320927 lon: 44.821012 South East Corner lat: -37.499365 lon: 135.000061 South West Corner lat: -37.320826 lon: 225.178988 interpolation choosen every 8 i pixels and every 8 j pixels image will be processed in 1 chunks of 321 image lines segment 0 startj: 0 stopj: 321 starti: 0 stopi: 320 numj: 321 north west----- lat: -36.957736 lon: -45.000061 line: -999 spot: -999 north east----- lat: -37.135539 lon: 44.821012 line: -999 spot: -999 south east-----lat: -37.135438 lon: 135.179109 line: -999 spot: -999 south west-----lat: -36.957635 lon: 224.999939 line: -999 spot: 92 doing chunk number: 0 from line: 0 to line: 320 numcelx: 40 numcely: 40 extrai: 0 extraj: 0 ****minline: 1 maxline: 1965 in data aquisiton maxline: 1965 minline: 1 in data aquistion module image is contained within lines : 1 and 1965 data will be processed using 20 chunks of 100 lines in get10 searching data lines 1 to 101 for image lines 0 to 321 in get10 searching data lines 101 to 201 for image lines 0 to 321 in get10 searching data lines 201 to 301 for image lines 0 to 321 in get10 searching data lines 301 to 401 for image lines 0 to 321 in get10 searching data lines 401 to 501 for image lines 0 to 321 in get10 searching data lines 501 to 601 for image lines 0 to 321 in get10 searching data lines 601 to 701 for image lines 0 to 321 in get10 searching data lines 701 to 801 for image lines 0 to 321 in get10 searching data lines 801 to 901 for image lines 0 to 321 in get10 searching data lines 901 to 1001 for image lines 0 to 321 in get10 searching data lines 1001 to 1101 for image lines 0 to 321 in get10 searching data lines 1101 to 1201 for image lines 0 to 321 in get10 searching data lines 1201 to 1301 for image lines 0 to 321 in get10 searching data lines 1301 to 1401 for image lines 0 to 321 in get10 searching data lines 1401 to 1501 for image lines 0 to 321 in get10 searching data lines 1501 to 1601 for image lines 0 to 321 in get10 searching data lines 1601 to 1701 for image lines 0 to 321 in get10 searching data lines 1701 to 1801 for image lines 0 to 321 in get10 searching data lines 1801 to 1901 for image lines 0 to 321 Undefined error: 0 eof or error after 1964 lines in get10 searching data lines 1901 to 2001 for image lines 0 to 321 dumping SZA array in dumpother j1: 0 j2: 321 ysize: 321 fpother: 1883758552 writing other type image in dumpother j1: 0 j2: 321 ysize: 321 fpother: 1883758704 writing other type image *************** dashY: y dumping ELEV array in dumpother j1: 0 j2: 321 ysize: 321 fpother: 1883759160 writing other type image dumping AZIM array in dumpother j1: 0 j2: 321 ysize: 321 fpother: 1883759008 writing other type image constructing TIME array in puttime j1: 0 j2: 321 ysize: 321 dumping TIME array in dumpother j1: 0 j2: 321 ysize: 321 fpother: 1883758856 writing other type image nchan: 5 dumping ch: 0 fp: 1883759312 about to dump image number: 0 channel: 1 xsize: 321 ysize: 321 IN WRITEIMAGE chan: 0 fp: 1883759312 DOne with dumpimage fp: 1883759312 have dumped ch: 0 fp: 1883759312 dumping ch: 1 fp: 1883759464 about to dump image number: 1 channel: 2 xsize: 321 ysize: 321 IN WRITEIMAGE chan: 1 fp: 1883759464 DOne with dumpimage fp: 1883759464 have dumped ch: 1 fp: 1883759464 dumping ch: 2 fp: 1883759616 about to dump image number: 2 channel: 3 xsize: 321 ysize: 321 IN WRITEIMAGE chan: 2 fp: 1883759616 DOne with dumpimage fp: 1883759616 have dumped ch: 2 fp: 1883759616 dumping ch: 3 fp: 1883759768 about to dump image number: 3 channel: 4 xsize: 321 ysize: 321 IN WRITEIMAGE chan: 3 fp: 1883759768 DOne with dumpimage fp: 1883759768 have dumped ch: 3 fp: 1883759768 dumping ch: 4 fp: 1883759920 about to dump image number: 4 channel: 5 xsize: 321 ysize: 321 IN WRITEIMAGE chan: 4 fp: 1883759920 DOne with dumpimage fp: 1883759920 have dumped ch: 4 fp: 1883759920 About to write headers fp: 1883759768 done with navigation--retrieving data ***** Running polar regions subsetting at Fri Jan 14 02:18:11 CST 2011 ***** Working on year and julian day (yyddd): 11013 (2011 Jan 13) command line args: ephemfile: /Users/jkey/nav/ephemeris northlimit: 60.000000 southlimit: -60.000000 data is type: G sds-type is: H region is: O SDS GAC data selected. year: 2011 day: 13 miilsecs: 53527078 before md doy: 13 year: 2011 **julianday: 10970 year: 2011 day: 13 miilsecs: 53527078 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 year: 2011 day: 13 miilsecs: 53527578 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 year: 2011 day: 13 miilsecs: 53528078 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 taos: 53527078 satid: 16 julian day: 10970 nlines: 11210 GOING INTO initorb4 satnum: 16 navsatid: 26536 calling readephem taos: 10970.619526 opening ephemeris after opening ephemeris size: 76 *******ephemeris elements ************ satid: 26536 orbit: 65195 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 ecc: 0.001062 argper: 0.364140 ascnode: 0.799605 inclin: 0.275446 ephoc: 110105000000 **************************** ******ephemnot structure follows*******: satid: 26536 orbit: 65195 size: 76 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 eccen: 0.001062 argper: 0.364140 ascenode: 0.799605 inclin: 0.275446 earadius: 6378137.000000 oblat: 0.001083 ***************************************************************** YEAR HERE: 11 *********epheminit structure follows******* timnot: 10962.000000 smajaxis: 1.132905 decay: -0.000000 eccen: 0.001062 inclin: 1.730681 argper: 2.287962 perrate: -0.000551 longan: 5.024068 nodrate: 0.000201 ,meananom: 1.717550 meanmot: 0.828813 meanmotrate: 0.000000 grav constant: 398598005011040.375000 ***************************************************************** ******** current elements follow******** taos: 10970.619526 time: 10970.619526 smajaxis: 7225816.850085 eccentricity: 0.001062 inclin: 1.730681 argper: 1.866185 longan: -5.146329 meananom: 766.751521 trueanom: 766.751950 altitude: 7218301.510966 ********************************************** ******** current elements follow******** taos: 10970.619526 time: 10970.619526 smajaxis: 7225816.850085 eccentricity: 0.001062 inclin: 1.730681 argper: 1.866185 longan: -5.146329 meananom: 766.751521 trueanom: 766.751950 altitude: 7218301.510966 ********************************************** SPECIFIC DATA: bytesperline: 4608 scanspersec: 2.000000 line : 0 10970.619526 60.275805 -98.596408 7214486.197859 Opening data.NORTH1 and writing header line: 0 line : 100 10970.620105 57.479513 -100.545892 7214920.223073 line : 200 10970.620684 54.660975 -102.247564 7215399.559258 line : 300 10970.621262 51.824718 -103.755577 7215921.826892 line : 400 10970.621841 48.974049 -105.109891 7216484.487924 line : 500 10970.622420 46.111444 -106.340584 7217084.864827 line : 600 10970.622999 43.238804 -107.470704 7217720.160371 line : 700 10970.623577 40.357618 -108.518215 7218387.477921 line : 800 10970.624156 37.469085 -109.497333 7219083.842062 line : 900 10970.624735 34.574190 -110.419471 7219806.219362 line : 1000 10970.625313 31.673762 -111.293921 7220551.539084 line : 1100 10970.625892 28.768515 -112.128347 7221316.713642 line : 1200 10970.626471 25.859081 -112.929156 7222098.658633 line : 1300 10970.627050 22.946025 -113.701772 7222894.312248 line : 1400 10970.627628 20.029870 -114.450848 7223700.653909 line : 1500 10970.628207 17.111101 -115.180435 7224514.721951 line : 1600 10970.628786 14.190179 -115.894107 7225333.630221 line : 1700 10970.629364 11.267547 -116.595069 7226154.583437 line : 1800 10970.629943 8.343634 -117.286240 7226974.891207 line : 1900 10970.630522 5.418860 -117.970329 7227791.980583 line : 2000 10970.631100 2.493637 -118.649894 7228603.407079 line : 2100 10970.631679 -0.431627 -119.327397 7229406.864061 line : 2200 10970.632258 -3.356525 -120.005260 7230200.190483 line : 2300 10970.632837 -6.280653 -120.685910 7230981.376902 line : 2400 10970.633415 -9.203605 -121.371830 7231748.569788 line : 2500 10970.633994 -12.124972 -122.065611 7232500.074100 line : 2600 10970.634573 -15.044340 -122.770011 7233234.354180 line : 2700 10970.635151 -17.961286 -123.488017 7233950.032975 line : 2800 10970.635730 -20.875374 -124.222921 7234645.889665 line : 2900 10970.636309 -23.786151 -124.978409 7235320.855750 line : 3000 10970.636887 -26.693138 -125.758673 7235974.009707 line : 3100 10970.637466 -29.595820 -126.568547 7236604.570296 line : 3200 10970.638045 -32.493635 -127.413683 7237211.888644 line : 3300 10970.638624 -35.385954 -128.300773 7237795.439235 line : 3400 10970.639202 -38.272059 -129.237850 7238354.809940 line : 3500 10970.639781 -41.151110 -130.234680 7238889.691228 line : 3600 10970.640360 -44.022101 -131.303292 7239399.864726 line : 3700 10970.640938 -46.883798 -132.458712 7239885.191273 line : 3800 10970.641517 -49.734655 -133.719985 7240345.598644 line : 3900 10970.642096 -52.572683 -135.111629 7240781.069087 line : 4000 10970.642675 -55.395269 -136.665741 7241191.626867 line : 4100 10970.643253 -58.198899 -138.425125 7241577.325954 Opening data.SOUTH1 and writing header line: 4165 line : 4200 10970.643832 -60.978727 -140.448004 7241938.238025 line : 4300 10970.644411 -63.727893 -142.815323 7242274.440934 line : 4400 10970.644989 -66.436406 -145.642242 7242586.007796 line : 4500 10970.645568 -69.089250 -149.096542 7242872.996820 line : 4600 10970.646147 -71.663071 -153.428071 7243135.442029 line : 4700 10970.646725 -74.120248 -159.014114 7243373.344968 line : 4800 10970.647304 -76.398282 -166.419022 7243586.667526 line : 4900 10970.647883 -78.392063 -176.426116 7243775.325945 line : 5000 10970.648462 -79.932047 170.145467 7243939.186106 line : 5100 10970.649040 -80.788356 153.249150 7244078.060145 line : 5200 10970.649619 -80.769063 134.812649 7244191.704455 line : 5300 10970.650198 -79.879249 118.040801 7244279.819091 line : 5400 10970.650776 -78.316005 104.768758 7244342.048603 line : 5500 10970.651355 -76.307796 94.890260 7244377.984284 line : 5600 10970.651934 -74.021141 87.577162 7244387.167827 line : 5700 10970.652512 -71.558885 82.054412 7244369.096332 line : 5800 10970.653091 -68.982166 77.766786 7244323.228633 line : 5900 10970.653670 -66.327826 74.343572 7244248.992863 line : 6000 10970.654249 -63.618764 71.539204 7244145.795177 line : 6100 10970.654827 -60.869728 69.188643 7244013.029537 line : 6200 10970.655406 -58.090540 67.178495 7243850.088449 line : 6300 10970.655985 -55.287950 65.428980 7243656.374530 line : 6400 10970.656563 -52.466733 63.882655 7243431.312768 line : 6500 10970.657142 -49.630352 62.497254 7243174.363343 line : 6600 10970.657721 -46.781382 61.241057 7242885.034845 line : 6700 10970.658300 -43.921784 60.089817 7242562.897748 line : 6800 10970.658878 -41.053084 59.024686 7242207.597968 line : 6900 10970.659457 -38.176496 58.030786 7241818.870349 line : 7000 10970.660036 -35.293012 57.096198 7241396.551905 line : 7100 10970.660614 -32.403456 56.211240 7240940.594663 line : 7200 10970.661193 -29.508535 55.367945 7240451.077931 line : 7300 10970.661772 -26.608865 54.559673 7239928.219850 line : 7400 10970.662350 -23.704998 53.780811 7239372.388062 line : 7500 10970.662929 -20.797437 53.026559 7238784.109358 line : 7600 10970.663508 -17.886651 52.292752 7238164.078163 line : 7700 10970.664087 -14.973082 51.575725 7237513.163739 line : 7800 10970.664665 -12.057154 50.872204 7236832.415985 line : 7900 10970.665244 -9.139281 50.179216 7236123.069735 line : 8000 10970.665823 -6.219864 49.494017 7235386.547471 line : 8100 10970.666401 -3.299302 48.814025 7234624.460368 line : 8200 10970.666980 -0.377990 48.136768 7233838.607635 line : 8300 10970.667559 2.543678 47.459825 7233030.974091 line : 8400 10970.668137 5.465307 46.780783 7232203.725970 line : 8500 10970.668716 8.386500 46.097185 7231359.204954 line : 8600 10970.669295 11.306856 45.406480 7230499.920431 line : 8700 10970.669874 14.225964 44.705963 7229628.540042 line : 8800 10970.670452 17.143407 43.992722 7228747.878531 line : 8900 10970.671031 20.058752 43.263556 7227860.885007 line : 9000 10970.671610 22.971549 42.514897 7226970.628673 line : 9100 10970.672188 25.881322 41.742700 7226080.283141 line : 9200 10970.672767 28.787558 40.942317 7225193.109449 line : 9300 10970.673346 31.689702 40.108332 7224312.437915 line : 9400 10970.673925 34.587130 39.234347 7223441.648969 line : 9500 10970.674503 37.479139 38.312708 7222584.153126 line : 9600 10970.675082 40.364907 37.334135 7221743.370270 line : 9700 10970.675661 43.243457 36.287230 7220922.708422 line : 9800 10970.676239 46.113602 35.157799 7220125.542183 line : 9900 10970.676818 48.973858 33.927905 7219355.191032 line : 10000 10970.677397 51.822336 32.574535 7218614.897690 line : 10100 10970.677975 54.656569 31.067663 7217907.806719 line : 10200 10970.678554 57.473261 29.367400 7217236.943573 Opening data.NORTH2 and writing header line: 10291 line : 10300 10970.679133 60.267899 27.419696 7216605.194281 line : 10400 10970.679712 63.034139 25.149724 7216015.285945 line : 10500 10970.680290 65.762807 22.451464 7215469.768240 line : 10600 10970.680869 68.440220 19.171033 7214970.996090 line : 10700 10970.681448 71.045256 15.079835 7214521.113659 line : 10800 10970.682026 73.544137 9.832311 7214122.039843 line : 10900 10970.682605 75.881016 2.906435 7213775.455352 line : 11000 10970.683184 77.961785 -6.446820 7213482.791548 line : 11100 10970.683762 79.631620 -19.102473 7213245.221106 line : 11200 10970.684341 80.667660 -35.417018 7213063.650599 could not read line 11207 writing header for file 0 goint into getcorrectsdsvals year: 2011 day: 13 miilsecs: 53527078 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 going into makeheader with taos: 10970.619526 satid: 16 nlines: 13 IN MAKEHEADER going into first make1btime in make1btime taos: 10970.619526 millsec: 53527078 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 after first make1btime in make1btime taos: 10970.619551 millsec: 53529245 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 DONE WITH MAKEHEADER writing header for file 1 goint into getcorrectsdsvals year: 2011 day: 13 miilsecs: 58674078 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 going into makeheader with taos: 10970.679098 satid: 16 nlines: 916 IN MAKEHEADER going into first make1btime in make1btime taos: 10970.679098 millsec: 58674078 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 after first make1btime in make1btime taos: 10970.680865 millsec: 58826745 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 DONE WITH MAKEHEADER writing header for file 2 goint into getcorrectsdsvals year: 2011 day: 13 miilsecs: 55611078 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 going into makeheader with taos: 10970.643647 satid: 16 nlines: 1967 IN MAKEHEADER going into first make1btime in make1btime taos: 10970.643647 millsec: 55611078 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 after first make1btime in make1btime taos: 10970.647441 millsec: 55938911 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 DONE WITH MAKEHEADER ***** Running navigation/calibration at Fri Jan 14 02:18:12 CST 2011 ***** Working on year and julian day (yyddd): 11013 (2011 Jan 13) no H option specified TBMFLAG: compval: 0 reading input header input header has been read satid from header : 2 XX satid: 16 getting time from firstline getting time in gettime in: 7 db 0 d 0 6b 3 30 c2 26 year: 2011 day: 13 ymd year: 2011 ymd yeardif: 30 after getheader done with 13 lines header count: 0 actual: 13 header will be rewritten output header follows: satid: 16 orbnum: 0 nlines: 13 julday: 10970 taos: 53527078 NEW PROCESSGENERICGAC year: 2011 input file is : tmp output file is : tmp.p new processraw opening raw file: tmp opening archive file and writing header to tmp.p header written to newdataset dumsat: 3 satid from first line is: 16 year before julianday call: 2011 firstline curday: 13 julian: 10970 time: 53527078 linein: 0 curtime: 53527578 lasttime: 53527078 lastgood: 53527078 timdif: 500 could not read line bytes read: 0 error reading line: 12 archive corect to here will rewrite header correctly cleaning up archive file new header being written as: satid: 16 orbit number: 0 dum: 0 number of lines: 13 julian day: 10970d time of first scan: 14.868633 processing GAC data satid: 16 orbit number: 0 dum: 0 number of lines: 13 julian day: 10970d time of first scan: 14.868633 Seasonal correction for julian date 10970.619526 = 0.967348 flag is : S 11/01/13 00:00:00110113000000 year: 11 month: 1 day: 13 dayofyear: 13 file containing coefficients is COEFFS.16 calling openparm16 before sprintf parmfilename: /Users/jkey/nav/cal/calib16.dat i: 0 nu: 2226.179930 i: 1 nu: 782.472410 i: 2 nu: 714.285640 chan: 0 nuc: 2700.114800 A: 1.592459 B: 0.998147 chan: 1 nuc: 917.228900 A: 0.332380 B: 0.998522 chan: 2 nuc: 838.125500 A: 0.674623 B: 0.998363 i: 0 wave:0.000000 i: 1 wave:0.000000 i: 2 wave:2700.114800 i: 3 wave:917.228900 i: 4 wave:838.125500 before look for Z after look for Z about to leave openparm newflag is 1: 1 about to open: tmp.p headstuff: sat: 16 orb: 0 julianday: 10970 taos: 53527078 length of headstuff: 57 headstuff: sat: 16 orb: 0 julianday: 10970 taos: 53527078 0.000 0.000 2700.1148 917.2289 838.1255 length of headstuff: 106 ************** results of initial calibration ******** from header firstday is : 13 arcsize: 5626 in sequence numlines: 1 day: 13 val: 390 arcsize: 5626 in sequence numlines: 2 day: 13 val: 383 arcsize: 5626 in sequence numlines: 3 day: 13 val: 389 arcsize: 5626 in sequence numlines: 4 day: 13 val: 392 arcsize: 5626 in sequence numlines: 5 day: 13 val: 0 realline before: 5 trouble reading line in main THIS IS ACTUALLY rawcal15_new AS IT SHOULD BE CALIBRATION FILE: COEFFS.16 RADFLAG: 1 calib_dir: /Users/jkey/nav/cal name of caldatfile is: /Users/jkey/nav/cal/calibnew16.dat have found CENTRAL WAVE in string CENTRAL WAVE NUMBER TABLE 190.000000 230.000000 2638.652000 928.260300 834.449600 230.000000 270.000000 2642.807000 928.828400 834.806600 270.000000 310.000000 2645.899000 929.332300 835.164700 have found SPLIT CAL in string SPLIT CAL TABLE SPLIT GAINS and OFFSETS CHAN 1 count 0-490 gain: 0.052300 offset: -2.016000 CHAN 1 count 491-1023 gain: 0.152800 offset: -51.910000 CHAN 2 count 0-500 gain: 0.051300 offset: -1.943000 CHAN 2 count 501-1023 gain: 0.151000 offset: -51.770000 CHAN 3 count 0-499 gain: 0.028700 offset: -2.043000 CHAN 3 count 500-1023 gain: 0.180600 offset: -78.030000 WE ARE GOING NON LINEAR name of caldatfile is: /Users/jkey/nav/cal/calibnew16.dat have found NON LINEAR in string ABOUT TO READ NON LINEAR MATRIX have READ NON LINEAR MATRIX DONE WITH NON LINEAR STUFF have found NEW COEFFS in string ABOUT TO READ NEW COEFFS i: 0 NUC: 2700.114800 Anew: 1.592459 Bnew: 0.998147 NS: 0.000000 B0: 0.000000 B1: 0.000000 B2: 0.000000 i: 1 NUC: 917.228900 Anew: 0.332380 Bnew: 0.998522 NS: -2.467000 B0: 2.960000 B1: -0.054110 B2: 0.000245 i: 2 NUC: 838.125500 Anew: 0.674623 Bnew: 0.998363 NS: -2.009000 B0: 2.225000 B1: -0.036650 B2: 0.000149 DONE WITH NEW COEFFS calhead: sat: 16 orb: 0 julianday: 10970 taos: 53527078 0.000 0.000 2700.1148 917.2289 838.1255 ٛF'T/Users/jkey/nav/cal/calibnew16.dat calhead: 0.000 0.000 2700.1148 917.2289 838.1255 ٛF'T/Users/jkey/nav/cal/calibnew16.dat wavecent: 0.000000 0.000000 2700.114800 917.228900 838.125500 INVWAVE: 0.000000 size of cal file is: 106 have read in cal array number of lines 13 doing raw line: 0 calib file line num: -2114088048 image line num: 0 nt  TIME calculation WAS REQUESTED SZA calculation WAS REQUESTED LINE and SAMPLE DATA WAS REQUESTED OSCULATING CORRECTIONS WILL BE APPLIED dashv: temp: strlen: 0 dashH: n strlen: 1 AFTER GET OPTIONS GAC DATA OPTION HAS BEEN CHOOSEN AFTER INIT input file has been opened, fp: 1883758400 after openarc fp: 1883758400 sid: 16d orbnum: 0d numscan: 13d milday: 53527078d *** data header *** satid: 16 orbit number: 0 number of lines: 13 julian day: 10970 time of first scan: 14.868633 ******************** AFTER INITDATA julday: 10970 taos: 53527078 TIME OF FIRST SCAN : 11/01/13 14:52:07 looking for ephemeris data for taos: 10970.619526 opening ephemeris after opening ephemeris size: 76 *******ephemeris elements ************ satid: 26536 orbit: 65195 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 ecc: 0.001062 argper: 0.364140 ascnode: 0.799605 inclin: 0.275446 ephoc: 110105000000 **************************** ******ephemnot structure follows*******: satid: 26536 orbit: 65195 size: 76 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 eccen: 0.001062 argper: 0.364140 ascenode: 0.799605 inclin: 0.275446 earadius: 6378137.000000 oblat: 0.001083 ***************************************************************** *********epheminit structure follows******* timnot: 10962.000000 smajaxis: 1.132905 decay: -0.000000 eccen: 0.001062 inclin: 1.730681 argper: 2.287962 perrate: -0.000551 longan: 5.024068 nodrate: 0.000201 ,meananom: 1.717550 meanmot: 0.828813 meanmotrate: 0.000000 grav constant: 398598005011040.375000 ***************************************************************** satlat1: 1.049129 satlat2: 1.023799 asnflag: -1 DATA IS DESCENDING **************** INITAILIZATION OVER ****************** dashr: 81.38011 RANGE0: 81.380110 IN SATGEO line: 0 spot: 204 time: 10970.619526 IN SATGEO line: 5 spot: 204 time: 10970.619555 RANGE: 81.380110 Pass is Descending at start center lat: 90.000000 center lon: 0.000000 range: 81.380110 images will be processed using chunks of 361 lines getting space for 10 bit image image.proj: 8 fpsza: 7047dfd8 fpsaza: 7047e070 opening 135359173.NSS.GHRR.NL.D11013.S1452.E1625.B5315455.GC.N1.1 OPENING chan: 0 fp: 1883759312 opening 135359173.NSS.GHRR.NL.D11013.S1452.E1625.B5315455.GC.N1.2 OPENING chan: 1 fp: 1883759464 opening 135359173.NSS.GHRR.NL.D11013.S1452.E1625.B5315455.GC.N1.3 OPENING chan: 2 fp: 1883759616 opening 135359173.NSS.GHRR.NL.D11013.S1452.E1625.B5315455.GC.N1.4 OPENING chan: 3 fp: 1883759768 opening 135359173.NSS.GHRR.NL.D11013.S1452.E1625.B5315455.GC.N1.5 OPENING chan: 4 fp: 1883759920 getting space for time array getting space for sza array getting space for saza array getting space for satelv array getting space for sataz array ************************************* total bytes malloced is : 4217234 ************************************* ******** current elements follow******** taos: 10970.619526 time: 10970.619526 smajaxis: 7225816.850085 eccentricity: 0.001062 inclin: 1.730735 argper: 1.866185 longan: -5.146244 meananom: 0.202914 trueanom: 0.203342 altitude: 7218305.515249 ********************************************** satpos: -538296.847016 -3560831.980727 6251361.708350 satvel: -3259.277603 -5687.686452 -3510.923425 satlat: 60.054579 satlon: -98.596408 COMMAND>DASHD: n INTERPOLATION CHOOSEN , every 8 x pixel and every 8 ypixel going through pixels **** before templat: 29.712678 centtodet: 29.878633 CORNERS OF WHOLE IMAGE FOLLOW North West Corner lat: 29.878633 lon: 225.000000 North East Corner lat: 30.063244 lon: 135.159155 South East Corner lat: 30.248190 lon: 45.000000 South West Corner lat: 30.063244 lon: -45.159155 interpolation choosen every 8 i pixels and every 8 j pixels image will be processed in 1 chunks of 361 image lines segment 0 startj: 0 stopj: 361 starti: 0 stopi: 360 numj: 361 north west----- lat: 29.712678 lon: 225.000000 line: -999 spot: -999 north east----- lat: 29.896666 lon: 135.159155 line: -999 spot: -999 south east-----lat: 29.896666 lon: 44.840845 line: -999 spot: 112 south west-----lat: 29.712678 lon: -45.000000 line: -999 spot: -999 doing chunk number: 0 from line: 0 to line: 360 numcelx: 45 numcely: 45 extrai: 0 extraj: 0 ****minline: 1 maxline: 11 in data aquisiton maxline: 11 minline: 1 in data aquistion module image is contained within lines : 1 and 11 data will be processed using 1 chunks of 100 lines Undefined error: 0 eof or error after 0 lines in get10 searching data lines 1 to 101 for image lines 0 to 361 dumping SZA array in dumpother j1: 0 j2: 361 ysize: 361 fpother: 1883758552 writing other type image in dumpother j1: 0 j2: 361 ysize: 361 fpother: 1883758704 writing other type image *************** dashY: y dumping ELEV array in dumpother j1: 0 j2: 361 ysize: 361 fpother: 1883759160 writing other type image dumping AZIM array in dumpother j1: 0 j2: 361 ysize: 361 fpother: 1883759008 writing other type image constructing TIME array in puttime j1: 0 j2: 361 ysize: 361 dumping TIME array in dumpother j1: 0 j2: 361 ysize: 361 fpother: 1883758856 writing other type image nchan: 5 dumping ch: 0 fp: 1883759312 about to dump image number: 0 channel: 1 xsize: 361 ysize: 361 IN WRITEIMAGE chan: 0 fp: 1883759312 DOne with dumpimage fp: 1883759312 have dumped ch: 0 fp: 1883759312 dumping ch: 1 fp: 1883759464 about to dump image number: 1 channel: 2 xsize: 361 ysize: 361 IN WRITEIMAGE chan: 1 fp: 1883759464 DOne with dumpimage fp: 1883759464 have dumped ch: 1 fp: 1883759464 dumping ch: 2 fp: 1883759616 about to dump image number: 2 channel: 3 xsize: 361 ysize: 361 IN WRITEIMAGE chan: 2 fp: 1883759616 DOne with dumpimage fp: 1883759616 have dumped ch: 2 fp: 1883759616 dumping ch: 3 fp: 1883759768 about to dump image number: 3 channel: 4 xsize: 361 ysize: 361 IN WRITEIMAGE chan: 3 fp: 1883759768 DOne with dumpimage fp: 1883759768 have dumped ch: 3 fp: 1883759768 dumping ch: 4 fp: 1883759920 about to dump image number: 4 channel: 5 xsize: 361 ysize: 361 IN WRITEIMAGE chan: 4 fp: 1883759920 DOne with dumpimage fp: 1883759920 have dumped ch: 4 fp: 1883759920 About to write headers fp: 1883759768 done with navigation--retrieving data ***** Running navigation/calibration at Fri Jan 14 02:18:12 CST 2011 ***** Working on year and julian day (yyddd): 11013 (2011 Jan 13) no H option specified TBMFLAG: compval: 0 reading input header input header has been read satid from header : 2 XX satid: 16 getting time from firstline getting time in gettime in: 7 db 0 d 0 6b 3 7f 4b 9e year: 2011 day: 13 ymd year: 2011 ymd yeardif: 30 after getheader done with 916 lines header count: 0 actual: 916 header will be rewritten output header follows: satid: 16 orbnum: 0 nlines: 916 julday: 10970 taos: 58674078 NEW PROCESSGENERICGAC year: 2011 input file is : tmp output file is : tmp.p new processraw opening raw file: tmp opening archive file and writing header to tmp.p header written to newdataset dumsat: 3 satid from first line is: 16 year before julianday call: 2011 firstline curday: 13 julian: 10970 time: 58674078 linein: 0 curtime: 58674578 lasttime: 58674078 lastgood: 58674078 timdif: 500 linein: 100 curtime: 58724578 lasttime: 58724078 lastgood: 58724078 timdif: 500 linein: 200 curtime: 58774578 lasttime: 58774078 lastgood: 58774078 timdif: 500 linein: 300 curtime: 58824578 lasttime: 58824078 lastgood: 58824078 timdif: 500 linein: 400 curtime: 58874578 lasttime: 58874078 lastgood: 58874078 timdif: 500 linein: 500 curtime: 58924578 lasttime: 58924078 lastgood: 58924078 timdif: 500 linein: 600 curtime: 58974578 lasttime: 58974078 lastgood: 58974078 timdif: 500 linein: 700 curtime: 59024578 lasttime: 59024078 lastgood: 59024078 timdif: 500 linein: 800 curtime: 59074578 lasttime: 59074078 lastgood: 59074078 timdif: 500 linein: 900 curtime: 59124578 lasttime: 59124078 lastgood: 59124078 timdif: 500 could not read line bytes read: 0 error reading line: 915 archive corect to here will rewrite header correctly cleaning up archive file new header being written as: satid: 16 orbit number: 0 dum: 0 number of lines: 916 julian day: 10970d time of first scan: 16.298355 processing GAC data satid: 16 orbit number: 0 dum: 0 number of lines: 916 julian day: 10970d time of first scan: 16.298355 Seasonal correction for julian date 10970.679098 = 0.967354 flag is : S 11/01/13 00:00:00110113000000 year: 11 month: 1 day: 13 dayofyear: 13 file containing coefficients is COEFFS.16 calling openparm16 before sprintf parmfilename: /Users/jkey/nav/cal/calib16.dat i: 0 nu: 2226.179930 i: 1 nu: 782.472410 i: 2 nu: 714.285640 chan: 0 nuc: 2700.114800 A: 1.592459 B: 0.998147 chan: 1 nuc: 917.228900 A: 0.332380 B: 0.998522 chan: 2 nuc: 838.125500 A: 0.674623 B: 0.998363 i: 0 wave:0.000000 i: 1 wave:0.000000 i: 2 wave:2700.114800 i: 3 wave:917.228900 i: 4 wave:838.125500 before look for Z after look for Z about to leave openparm newflag is 1: 1 about to open: tmp.p headstuff: sat: 16 orb: 0 julianday: 10970 taos: 58674078 length of headstuff: 57 headstuff: sat: 16 orb: 0 julianday: 10970 taos: 58674078 0.000 0.000 2700.1148 917.2289 838.1255 length of headstuff: 106 ************** results of initial calibration ******** from header firstday is : 13 arcsize: 5626 in sequence numlines: 1 day: 13 val: 0 realline before: 1 spaceref: 0.000000 targtemp: 296.462711 space rad: 0.000000 -4.500000 -3.610000 average space counts: 990.540000 991.240000 994.420000 average internal counts: 795.420000 398.120000 382.120000 satid: 16 launch_indx: -1 chan: 3 radspace: 0.000000 radtarget: 0.500055 spacebar:990.540000 internalbar: 795.420000 chan: 3 radspace: 0.000000 radtarget: 0.500055 spacebar:990.540000 internalbar: 795.420000 gain: -0.002563 offset: 2.538564 chan: 4 radspace: -4.500000 radtarget: 108.273084 spacebar:991.240000 internalbar: 398.120000 chan: 4 radspace: -4.500000 radtarget: 108.273084 spacebar:991.240000 internalbar: 398.120000 gain: -0.190135 offset: 183.969772 chan: 5 radspace: -3.610000 radtarget: 122.458855 spacebar:994.420000 internalbar: 382.120000 chan: 5 radspace: -3.610000 radtarget: 122.458855 spacebar:994.420000 internalbar: 382.120000 gain: -0.205894 offset: 201.135040 gain after: 0.054946 gain after: 0.054946 gain and offset up to scan line 51 : 0.054946 -2.115991 0.057654 -2.330937 -0.002563 2.538564 -0.190135 183.969772 -0.205894 201.135040 ************************************************************ trouble reading line in main DONE WITH CALIBRATION there were 916 lines done THIS IS ACTUALLY rawcal15_new AS IT SHOULD BE CALIBRATION FILE: COEFFS.16 RADFLAG: 1 calib_dir: /Users/jkey/nav/cal name of caldatfile is: /Users/jkey/nav/cal/calibnew16.dat have found CENTRAL WAVE in string CENTRAL WAVE NUMBER TABLE 190.000000 230.000000 2638.652000 928.260300 834.449600 230.000000 270.000000 2642.807000 928.828400 834.806600 270.000000 310.000000 2645.899000 929.332300 835.164700 have found SPLIT CAL in string SPLIT CAL TABLE SPLIT GAINS and OFFSETS CHAN 1 count 0-490 gain: 0.052300 offset: -2.016000 CHAN 1 count 491-1023 gain: 0.152800 offset: -51.910000 CHAN 2 count 0-500 gain: 0.051300 offset: -1.943000 CHAN 2 count 501-1023 gain: 0.151000 offset: -51.770000 CHAN 3 count 0-499 gain: 0.028700 offset: -2.043000 CHAN 3 count 500-1023 gain: 0.180600 offset: -78.030000 WE ARE GOING NON LINEAR name of caldatfile is: /Users/jkey/nav/cal/calibnew16.dat have found NON LINEAR in string ABOUT TO READ NON LINEAR MATRIX have READ NON LINEAR MATRIX DONE WITH NON LINEAR STUFF have found NEW COEFFS in string ABOUT TO READ NEW COEFFS i: 0 NUC: 2700.114800 Anew: 1.592459 Bnew: 0.998147 NS: 0.000000 B0: 0.000000 B1: 0.000000 B2: 0.000000 i: 1 NUC: 917.228900 Anew: 0.332380 Bnew: 0.998522 NS: -2.467000 B0: 2.960000 B1: -0.054110 B2: 0.000245 i: 2 NUC: 838.125500 Anew: 0.674623 Bnew: 0.998363 NS: -2.009000 B0: 2.225000 B1: -0.036650 B2: 0.000149 DONE WITH NEW COEFFS calhead: sat: 16 orb: 0 julianday: 10970 taos: 58674078 0.000 0.000 2700.1148 917.2289 838.1255 8.7l/Users/jkey/nav/cal/calibnew16.dat calhead: 0.000 0.000 2700.1148 917.2289 838.1255 8.7l/Users/jkey/nav/cal/calibnew16.dat wavecent: 0.000000 0.000000 2700.114800 917.228900 838.125500 INVWAVE: 0.000000 size of cal file is: 97308 have read in cal array number of lines 916 doing raw line: 0 doing raw line: 500 TIME calculation WAS REQUESTED SZA calculation WAS REQUESTED LINE and SAMPLE DATA WAS REQUESTED OSCULATING CORRECTIONS WILL BE APPLIED dashv: temp: strlen: 0 dashH: n strlen: 1 AFTER GET OPTIONS GAC DATA OPTION HAS BEEN CHOOSEN AFTER INIT input file has been opened, fp: 1883758400 after openarc fp: 1883758400 sid: 16d orbnum: 0d numscan: 916d milday: 58674078d *** data header *** satid: 16 orbit number: 0 number of lines: 916 julian day: 10970 time of first scan: 16.298355 ******************** AFTER INITDATA julday: 10970 taos: 58674078 TIME OF FIRST SCAN : 11/01/13 16:17:54 looking for ephemeris data for taos: 10970.679098 opening ephemeris after opening ephemeris size: 76 *******ephemeris elements ************ satid: 26536 orbit: 65195 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 ecc: 0.001062 argper: 0.364140 ascnode: 0.799605 inclin: 0.275446 ephoc: 110105000000 **************************** ******ephemnot structure follows*******: satid: 26536 orbit: 65195 size: 76 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 eccen: 0.001062 argper: 0.364140 ascenode: 0.799605 inclin: 0.275446 earadius: 6378137.000000 oblat: 0.001083 ***************************************************************** *********epheminit structure follows******* timnot: 10962.000000 smajaxis: 1.132905 decay: -0.000000 eccen: 0.001062 inclin: 1.730681 argper: 2.287962 perrate: -0.000551 longan: 5.024068 nodrate: 0.000201 ,meananom: 1.717550 meanmot: 0.828813 meanmotrate: 0.000000 grav constant: 398598005011040.375000 ***************************************************************** satlat1: 1.046067 satlat2: 1.071273 asnflag: 1 DATA IS ASCENDING **************** INITAILIZATION OVER ****************** dashr: 81.38011 RANGE0: 81.380110 IN SATGEO line: 0 spot: 204 time: 10970.679098 IN SATGEO line: 5 spot: 204 time: 10970.679127 RANGE: 81.380110 Pass is Ascending at start center lat: 90.000000 center lon: 0.000000 range: 81.380110 images will be processed using chunks of 361 lines getting space for 10 bit image image.proj: 8 fpsza: 7047dfd8 fpsaza: 7047e070 opening 135359173.NSS.GHRR.NL.D11013.S1452.E1625.B5315455.GC.N2.1 OPENING chan: 0 fp: 1883759312 opening 135359173.NSS.GHRR.NL.D11013.S1452.E1625.B5315455.GC.N2.2 OPENING chan: 1 fp: 1883759464 opening 135359173.NSS.GHRR.NL.D11013.S1452.E1625.B5315455.GC.N2.3 OPENING chan: 2 fp: 1883759616 opening 135359173.NSS.GHRR.NL.D11013.S1452.E1625.B5315455.GC.N2.4 OPENING chan: 3 fp: 1883759768 opening 135359173.NSS.GHRR.NL.D11013.S1452.E1625.B5315455.GC.N2.5 OPENING chan: 4 fp: 1883759920 getting space for time array getting space for sza array getting space for saza array getting space for satelv array getting space for sataz array ************************************* total bytes malloced is : 4217234 ************************************* ******** current elements follow******** taos: 10970.679098 time: 10970.679098 smajaxis: 7225816.817879 eccentricity: 0.001062 inclin: 1.730734 argper: 1.863270 longan: -5.520677 meananom: 5.490265 trueanom: 5.488751 altitude: 7220422.184558 ********************************************** satpos: 3211029.178292 1674745.424570 6242150.292780 satvel: -4321.143216 -4914.589738 3527.207826 satlat: 59.878829 satlon: 27.544758 COMMAND>DASHD: n INTERPOLATION CHOOSEN , every 8 x pixel and every 8 ypixel going through pixels **** before templat: 29.712678 centtodet: 29.878633 CORNERS OF WHOLE IMAGE FOLLOW North West Corner lat: 29.878633 lon: 225.000000 North East Corner lat: 30.063244 lon: 135.159155 South East Corner lat: 30.248190 lon: 45.000000 South West Corner lat: 30.063244 lon: -45.159155 interpolation choosen every 8 i pixels and every 8 j pixels image will be processed in 1 chunks of 361 image lines segment 0 startj: 0 stopj: 361 starti: 0 stopi: 360 numj: 361 north west----- lat: 29.712678 lon: 225.000000 line: -999 spot: 257 north east----- lat: 29.896666 lon: 135.159155 line: -999 spot: -999 south east-----lat: 29.896666 lon: 44.840845 line: -999 spot: -999 south west-----lat: 29.712678 lon: -45.000000 line: -999 spot: -999 doing chunk number: 0 from line: 0 to line: 360 numcelx: 45 numcely: 45 extrai: 0 extraj: 0 ****minline: 0 maxline: 914 in data aquisiton maxline: 914 minline: 0 in data aquistion module image is contained within lines : 1 and 914 data will be processed using 10 chunks of 100 lines in get10 searching data lines 1 to 101 for image lines 0 to 361 in get10 searching data lines 101 to 201 for image lines 0 to 361 in get10 searching data lines 201 to 301 for image lines 0 to 361 in get10 searching data lines 301 to 401 for image lines 0 to 361 in get10 searching data lines 401 to 501 for image lines 0 to 361 in get10 searching data lines 501 to 601 for image lines 0 to 361 in get10 searching data lines 601 to 701 for image lines 0 to 361 in get10 searching data lines 701 to 801 for image lines 0 to 361 in get10 searching data lines 801 to 901 for image lines 0 to 361 done processing 916 lines in get10 searching data lines 901 to 1001 for image lines 0 to 361 dumping SZA array in dumpother j1: 0 j2: 361 ysize: 361 fpother: 1883758552 writing other type image in dumpother j1: 0 j2: 361 ysize: 361 fpother: 1883758704 writing other type image *************** dashY: y dumping ELEV array in dumpother j1: 0 j2: 361 ysize: 361 fpother: 1883759160 writing other type image dumping AZIM array in dumpother j1: 0 j2: 361 ysize: 361 fpother: 1883759008 writing other type image constructing TIME array in puttime j1: 0 j2: 361 ysize: 361 dumping TIME array in dumpother j1: 0 j2: 361 ysize: 361 fpother: 1883758856 writing other type image nchan: 5 dumping ch: 0 fp: 1883759312 about to dump image number: 0 channel: 1 xsize: 361 ysize: 361 IN WRITEIMAGE chan: 0 fp: 1883759312 DOne with dumpimage fp: 1883759312 have dumped ch: 0 fp: 1883759312 dumping ch: 1 fp: 1883759464 about to dump image number: 1 channel: 2 xsize: 361 ysize: 361 IN WRITEIMAGE chan: 1 fp: 1883759464 DOne with dumpimage fp: 1883759464 have dumped ch: 1 fp: 1883759464 dumping ch: 2 fp: 1883759616 about to dump image number: 2 channel: 3 xsize: 361 ysize: 361 IN WRITEIMAGE chan: 2 fp: 1883759616 DOne with dumpimage fp: 1883759616 have dumped ch: 2 fp: 1883759616 dumping ch: 3 fp: 1883759768 about to dump image number: 3 channel: 4 xsize: 361 ysize: 361 IN WRITEIMAGE chan: 3 fp: 1883759768 DOne with dumpimage fp: 1883759768 have dumped ch: 3 fp: 1883759768 dumping ch: 4 fp: 1883759920 about to dump image number: 4 channel: 5 xsize: 361 ysize: 361 IN WRITEIMAGE chan: 4 fp: 1883759920 DOne with dumpimage fp: 1883759920 have dumped ch: 4 fp: 1883759920 About to write headers fp: 1883759768 done with navigation--retrieving data rm: data.*: No such file or directory ***** Running polar regions subsetting at Fri Jan 14 02:18:13 CST 2011 ***** Working on year and julian day (yyddd): 11013 (2011 Jan 13) command line args: ephemfile: /Users/jkey/nav/ephemeris northlimit: 60.000000 southlimit: -60.000000 data is type: G sds-type is: H region is: O SDS GAC data selected. year: 2011 day: 13 miilsecs: 53527078 before md doy: 13 year: 2011 **julianday: 10970 year: 2011 day: 13 miilsecs: 53527078 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 year: 2011 day: 13 miilsecs: 53527578 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 year: 2011 day: 13 miilsecs: 53528078 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 taos: 53527078 satid: 16 julian day: 10970 nlines: 11210 GOING INTO initorb4 satnum: 16 navsatid: 26536 calling readephem taos: 10970.619526 opening ephemeris after opening ephemeris size: 76 *******ephemeris elements ************ satid: 26536 orbit: 65195 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 ecc: 0.001062 argper: 0.364140 ascnode: 0.799605 inclin: 0.275446 ephoc: 110105000000 **************************** ******ephemnot structure follows*******: satid: 26536 orbit: 65195 size: 76 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 eccen: 0.001062 argper: 0.364140 ascenode: 0.799605 inclin: 0.275446 earadius: 6378137.000000 oblat: 0.001083 ***************************************************************** YEAR HERE: 11 *********epheminit structure follows******* timnot: 10962.000000 smajaxis: 1.132905 decay: -0.000000 eccen: 0.001062 inclin: 1.730681 argper: 2.287962 perrate: -0.000551 longan: 5.024068 nodrate: 0.000201 ,meananom: 1.717550 meanmot: 0.828813 meanmotrate: 0.000000 grav constant: 398598005011040.375000 ***************************************************************** ******** current elements follow******** taos: 10970.619526 time: 10970.619526 smajaxis: 7225816.850085 eccentricity: 0.001062 inclin: 1.730681 argper: 1.866185 longan: -5.146329 meananom: 766.751521 trueanom: 766.751950 altitude: 7218301.510966 ********************************************** ******** current elements follow******** taos: 10970.619526 time: 10970.619526 smajaxis: 7225816.850085 eccentricity: 0.001062 inclin: 1.730681 argper: 1.866185 longan: -5.146329 meananom: 766.751521 trueanom: 766.751950 altitude: 7218301.510966 ********************************************** SPECIFIC DATA: bytesperline: 4608 scanspersec: 2.000000 line : 0 10970.619526 60.275805 -98.596408 7214486.197859 Opening data.NORTH1 and writing header line: 0 line : 100 10970.620105 57.479513 -100.545892 7214920.223073 line : 200 10970.620684 54.660975 -102.247564 7215399.559258 line : 300 10970.621262 51.824718 -103.755577 7215921.826892 line : 400 10970.621841 48.974049 -105.109891 7216484.487924 line : 500 10970.622420 46.111444 -106.340584 7217084.864827 line : 600 10970.622999 43.238804 -107.470704 7217720.160371 line : 700 10970.623577 40.357618 -108.518215 7218387.477921 line : 800 10970.624156 37.469085 -109.497333 7219083.842062 line : 900 10970.624735 34.574190 -110.419471 7219806.219362 line : 1000 10970.625313 31.673762 -111.293921 7220551.539084 line : 1100 10970.625892 28.768515 -112.128347 7221316.713642 line : 1200 10970.626471 25.859081 -112.929156 7222098.658633 line : 1300 10970.627050 22.946025 -113.701772 7222894.312248 line : 1400 10970.627628 20.029870 -114.450848 7223700.653909 line : 1500 10970.628207 17.111101 -115.180435 7224514.721951 line : 1600 10970.628786 14.190179 -115.894107 7225333.630221 line : 1700 10970.629364 11.267547 -116.595069 7226154.583437 line : 1800 10970.629943 8.343634 -117.286240 7226974.891207 line : 1900 10970.630522 5.418860 -117.970329 7227791.980583 line : 2000 10970.631100 2.493637 -118.649894 7228603.407079 line : 2100 10970.631679 -0.431627 -119.327397 7229406.864061 line : 2200 10970.632258 -3.356525 -120.005260 7230200.190483 line : 2300 10970.632837 -6.280653 -120.685910 7230981.376902 line : 2400 10970.633415 -9.203605 -121.371830 7231748.569788 line : 2500 10970.633994 -12.124972 -122.065611 7232500.074100 line : 2600 10970.634573 -15.044340 -122.770011 7233234.354180 line : 2700 10970.635151 -17.961286 -123.488017 7233950.032975 line : 2800 10970.635730 -20.875374 -124.222921 7234645.889665 line : 2900 10970.636309 -23.786151 -124.978409 7235320.855750 line : 3000 10970.636887 -26.693138 -125.758673 7235974.009707 line : 3100 10970.637466 -29.595820 -126.568547 7236604.570296 line : 3200 10970.638045 -32.493635 -127.413683 7237211.888644 line : 3300 10970.638624 -35.385954 -128.300773 7237795.439235 line : 3400 10970.639202 -38.272059 -129.237850 7238354.809940 line : 3500 10970.639781 -41.151110 -130.234680 7238889.691228 line : 3600 10970.640360 -44.022101 -131.303292 7239399.864726 line : 3700 10970.640938 -46.883798 -132.458712 7239885.191273 line : 3800 10970.641517 -49.734655 -133.719985 7240345.598644 line : 3900 10970.642096 -52.572683 -135.111629 7240781.069087 line : 4000 10970.642675 -55.395269 -136.665741 7241191.626867 line : 4100 10970.643253 -58.198899 -138.425125 7241577.325954 Opening data.SOUTH1 and writing header line: 4165 line : 4200 10970.643832 -60.978727 -140.448004 7241938.238025 line : 4300 10970.644411 -63.727893 -142.815323 7242274.440934 line : 4400 10970.644989 -66.436406 -145.642242 7242586.007796 line : 4500 10970.645568 -69.089250 -149.096542 7242872.996820 line : 4600 10970.646147 -71.663071 -153.428071 7243135.442029 line : 4700 10970.646725 -74.120248 -159.014114 7243373.344968 line : 4800 10970.647304 -76.398282 -166.419022 7243586.667526 line : 4900 10970.647883 -78.392063 -176.426116 7243775.325945 line : 5000 10970.648462 -79.932047 170.145467 7243939.186106 line : 5100 10970.649040 -80.788356 153.249150 7244078.060145 line : 5200 10970.649619 -80.769063 134.812649 7244191.704455 line : 5300 10970.650198 -79.879249 118.040801 7244279.819091 line : 5400 10970.650776 -78.316005 104.768758 7244342.048603 line : 5500 10970.651355 -76.307796 94.890260 7244377.984284 line : 5600 10970.651934 -74.021141 87.577162 7244387.167827 line : 5700 10970.652512 -71.558885 82.054412 7244369.096332 line : 5800 10970.653091 -68.982166 77.766786 7244323.228633 line : 5900 10970.653670 -66.327826 74.343572 7244248.992863 line : 6000 10970.654249 -63.618764 71.539204 7244145.795177 line : 6100 10970.654827 -60.869728 69.188643 7244013.029537 line : 6200 10970.655406 -58.090540 67.178495 7243850.088449 line : 6300 10970.655985 -55.287950 65.428980 7243656.374530 line : 6400 10970.656563 -52.466733 63.882655 7243431.312768 line : 6500 10970.657142 -49.630352 62.497254 7243174.363343 line : 6600 10970.657721 -46.781382 61.241057 7242885.034845 line : 6700 10970.658300 -43.921784 60.089817 7242562.897748 line : 6800 10970.658878 -41.053084 59.024686 7242207.597968 line : 6900 10970.659457 -38.176496 58.030786 7241818.870349 line : 7000 10970.660036 -35.293012 57.096198 7241396.551905 line : 7100 10970.660614 -32.403456 56.211240 7240940.594663 line : 7200 10970.661193 -29.508535 55.367945 7240451.077931 line : 7300 10970.661772 -26.608865 54.559673 7239928.219850 line : 7400 10970.662350 -23.704998 53.780811 7239372.388062 line : 7500 10970.662929 -20.797437 53.026559 7238784.109358 line : 7600 10970.663508 -17.886651 52.292752 7238164.078163 line : 7700 10970.664087 -14.973082 51.575725 7237513.163739 line : 7800 10970.664665 -12.057154 50.872204 7236832.415985 line : 7900 10970.665244 -9.139281 50.179216 7236123.069735 line : 8000 10970.665823 -6.219864 49.494017 7235386.547471 line : 8100 10970.666401 -3.299302 48.814025 7234624.460368 line : 8200 10970.666980 -0.377990 48.136768 7233838.607635 line : 8300 10970.667559 2.543678 47.459825 7233030.974091 line : 8400 10970.668137 5.465307 46.780783 7232203.725970 line : 8500 10970.668716 8.386500 46.097185 7231359.204954 line : 8600 10970.669295 11.306856 45.406480 7230499.920431 line : 8700 10970.669874 14.225964 44.705963 7229628.540042 line : 8800 10970.670452 17.143407 43.992722 7228747.878531 line : 8900 10970.671031 20.058752 43.263556 7227860.885007 line : 9000 10970.671610 22.971549 42.514897 7226970.628673 line : 9100 10970.672188 25.881322 41.742700 7226080.283141 line : 9200 10970.672767 28.787558 40.942317 7225193.109449 line : 9300 10970.673346 31.689702 40.108332 7224312.437915 line : 9400 10970.673925 34.587130 39.234347 7223441.648969 line : 9500 10970.674503 37.479139 38.312708 7222584.153126 line : 9600 10970.675082 40.364907 37.334135 7221743.370270 line : 9700 10970.675661 43.243457 36.287230 7220922.708422 line : 9800 10970.676239 46.113602 35.157799 7220125.542183 line : 9900 10970.676818 48.973858 33.927905 7219355.191032 line : 10000 10970.677397 51.822336 32.574535 7218614.897690 line : 10100 10970.677975 54.656569 31.067663 7217907.806719 line : 10200 10970.678554 57.473261 29.367400 7217236.943573 Opening data.NORTH2 and writing header line: 10291 line : 10300 10970.679133 60.267899 27.419696 7216605.194281 line : 10400 10970.679712 63.034139 25.149724 7216015.285945 line : 10500 10970.680290 65.762807 22.451464 7215469.768240 line : 10600 10970.680869 68.440220 19.171033 7214970.996090 line : 10700 10970.681448 71.045256 15.079835 7214521.113659 line : 10800 10970.682026 73.544137 9.832311 7214122.039843 line : 10900 10970.682605 75.881016 2.906435 7213775.455352 line : 11000 10970.683184 77.961785 -6.446820 7213482.791548 line : 11100 10970.683762 79.631620 -19.102473 7213245.221106 line : 11200 10970.684341 80.667660 -35.417018 7213063.650599 could not read line 11207 writing header for file 0 goint into getcorrectsdsvals year: 2011 day: 13 miilsecs: 53527078 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 going into makeheader with taos: 10970.619526 satid: 16 nlines: 13 IN MAKEHEADER going into first make1btime in make1btime taos: 10970.619526 millsec: 53527078 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 after first make1btime in make1btime taos: 10970.619551 millsec: 53529245 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 DONE WITH MAKEHEADER writing header for file 1 goint into getcorrectsdsvals year: 2011 day: 13 miilsecs: 58674078 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 going into makeheader with taos: 10970.679098 satid: 16 nlines: 916 IN MAKEHEADER going into first make1btime in make1btime taos: 10970.679098 millsec: 58674078 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 after first make1btime in make1btime taos: 10970.680865 millsec: 58826745 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 DONE WITH MAKEHEADER writing header for file 2 goint into getcorrectsdsvals year: 2011 day: 13 miilsecs: 55611078 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 going into makeheader with taos: 10970.643647 satid: 16 nlines: 1967 IN MAKEHEADER going into first make1btime in make1btime taos: 10970.643647 millsec: 55611078 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 after first make1btime in make1btime taos: 10970.647441 millsec: 55938911 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 DONE WITH MAKEHEADER ***** Running navigation/calibration at Fri Jan 14 02:18:13 CST 2011 ***** Working on year and julian day (yyddd): 11013 (2011 Jan 13) no H option specified TBMFLAG: compval: 0 reading input header input header has been read satid from header : 2 XX satid: 16 getting time from firstline getting time in gettime in: 7 db 0 d 0 6b 3 50 8e c6 year: 2011 day: 13 ymd year: 2011 ymd yeardif: 30 after getheader done with 1967 lines header count: 0 actual: 1967 header will be rewritten output header follows: satid: 16 orbnum: 0 nlines: 1967 julday: 10970 taos: 55611078 NEW PROCESSGENERICGAC year: 2011 input file is : tmp output file is : tmp.p new processraw opening raw file: tmp opening archive file and writing header to tmp.p header written to newdataset dumsat: 3 satid from first line is: 16 year before julianday call: 2011 firstline curday: 13 julian: 10970 time: 55611078 linein: 0 curtime: 55611578 lasttime: 55611078 lastgood: 55611078 timdif: 500 linein: 100 curtime: 55661578 lasttime: 55661078 lastgood: 55661078 timdif: 500 linein: 200 curtime: 55711578 lasttime: 55711078 lastgood: 55711078 timdif: 500 linein: 300 curtime: 55761578 lasttime: 55761078 lastgood: 55761078 timdif: 500 linein: 400 curtime: 55811578 lasttime: 55811078 lastgood: 55811078 timdif: 500 linein: 500 curtime: 55861578 lasttime: 55861078 lastgood: 55861078 timdif: 500 linein: 600 curtime: 55911578 lasttime: 55911078 lastgood: 55911078 timdif: 500 linein: 700 curtime: 55961578 lasttime: 55961078 lastgood: 55961078 timdif: 500 linein: 800 curtime: 56011578 lasttime: 56011078 lastgood: 56011078 timdif: 500 linein: 900 curtime: 56061578 lasttime: 56061078 lastgood: 56061078 timdif: 500 linein: 1000 curtime: 56111578 lasttime: 56111078 lastgood: 56111078 timdif: 500 linein: 1100 curtime: 56161578 lasttime: 56161078 lastgood: 56161078 timdif: 500 linein: 1200 curtime: 56211578 lasttime: 56211078 lastgood: 56211078 timdif: 500 linein: 1300 curtime: 56261578 lasttime: 56261078 lastgood: 56261078 timdif: 500 linein: 1400 curtime: 56311578 lasttime: 56311078 lastgood: 56311078 timdif: 500 linein: 1500 curtime: 56361578 lasttime: 56361078 lastgood: 56361078 timdif: 500 linein: 1600 curtime: 56411578 lasttime: 56411078 lastgood: 56411078 timdif: 500 linein: 1700 curtime: 56461578 lasttime: 56461078 lastgood: 56461078 timdif: 500 linein: 1800 curtime: 56511578 lasttime: 56511078 lastgood: 56511078 timdif: 500 linein: 1900 curtime: 56561578 lasttime: 56561078 lastgood: 56561078 timdif: 500 could not read line bytes read: 0 error reading line: 1966 archive corect to here will rewrite header correctly cleaning up archive file new header being written as: satid: 16 orbit number: 0 dum: 0 number of lines: 1967 julian day: 10970d time of first scan: 15.447522 processing GAC data satid: 16 orbit number: 0 dum: 0 number of lines: 1967 julian day: 10970d time of first scan: 15.447522 Seasonal correction for julian date 10970.643647 = 0.967351 flag is : S 11/01/13 00:00:00110113000000 year: 11 month: 1 day: 13 dayofyear: 13 file containing coefficients is COEFFS.16 calling openparm16 before sprintf parmfilename: /Users/jkey/nav/cal/calib16.dat i: 0 nu: 2226.179930 i: 1 nu: 782.472410 i: 2 nu: 714.285640 chan: 0 nuc: 2700.114800 A: 1.592459 B: 0.998147 chan: 1 nuc: 917.228900 A: 0.332380 B: 0.998522 chan: 2 nuc: 838.125500 A: 0.674623 B: 0.998363 i: 0 wave:0.000000 i: 1 wave:0.000000 i: 2 wave:2700.114800 i: 3 wave:917.228900 i: 4 wave:838.125500 before look for Z after look for Z about to leave openparm newflag is 1: 1 about to open: tmp.p headstuff: sat: 16 orb: 0 julianday: 10970 taos: 55611078 length of headstuff: 57 headstuff: sat: 16 orb: 0 julianday: 10970 taos: 55611078 0.000 0.000 2700.1148 917.2289 838.1255 length of headstuff: 106 ************** results of initial calibration ******** from header firstday is : 13 arcsize: 5626 in sequence numlines: 1 day: 13 val: 415 arcsize: 5626 in sequence numlines: 2 day: 13 val: 0 realline before: 2 spaceref: 0.000000 targtemp: 297.624835 space rad: 0.000000 -4.500000 -3.610000 average space counts: 990.480000 991.340000 994.220000 average internal counts: 785.760000 390.680000 374.180000 satid: 16 launch_indx: -1 chan: 3 radspace: 0.000000 radtarget: 0.526070 spacebar:990.480000 internalbar: 785.760000 chan: 3 radspace: 0.000000 radtarget: 0.526070 spacebar:990.480000 internalbar: 785.760000 gain: -0.002570 offset: 2.545241 chan: 4 radspace: -4.500000 radtarget: 110.192756 spacebar:991.340000 internalbar: 390.680000 chan: 4 radspace: -4.500000 radtarget: 110.192756 spacebar:991.340000 internalbar: 390.680000 gain: -0.190945 offset: 184.790970 chan: 5 radspace: -3.610000 radtarget: 124.448276 spacebar:994.220000 internalbar: 374.180000 chan: 5 radspace: -3.610000 radtarget: 124.448276 spacebar:994.220000 internalbar: 374.180000 gain: -0.206532 offset: 201.728531 gain after: 0.054946 gain after: 0.054946 gain and offset up to scan line 52 : 0.054946 -2.115983 0.057654 -2.330928 -0.002570 2.545241 -0.190945 184.790970 -0.206532 201.728531 ************************************************************ trouble reading line in main DONE WITH CALIBRATION there were 1967 lines done THIS IS ACTUALLY rawcal15_new AS IT SHOULD BE CALIBRATION FILE: COEFFS.16 RADFLAG: 1 calib_dir: /Users/jkey/nav/cal name of caldatfile is: /Users/jkey/nav/cal/calibnew16.dat have found CENTRAL WAVE in string CENTRAL WAVE NUMBER TABLE 190.000000 230.000000 2638.652000 928.260300 834.449600 230.000000 270.000000 2642.807000 928.828400 834.806600 270.000000 310.000000 2645.899000 929.332300 835.164700 have found SPLIT CAL in string SPLIT CAL TABLE SPLIT GAINS and OFFSETS CHAN 1 count 0-490 gain: 0.052300 offset: -2.016000 CHAN 1 count 491-1023 gain: 0.152800 offset: -51.910000 CHAN 2 count 0-500 gain: 0.051300 offset: -1.943000 CHAN 2 count 501-1023 gain: 0.151000 offset: -51.770000 CHAN 3 count 0-499 gain: 0.028700 offset: -2.043000 CHAN 3 count 500-1023 gain: 0.180600 offset: -78.030000 WE ARE GOING NON LINEAR name of caldatfile is: /Users/jkey/nav/cal/calibnew16.dat have found NON LINEAR in string ABOUT TO READ NON LINEAR MATRIX have READ NON LINEAR MATRIX DONE WITH NON LINEAR STUFF have found NEW COEFFS in string ABOUT TO READ NEW COEFFS i: 0 NUC: 2700.114800 Anew: 1.592459 Bnew: 0.998147 NS: 0.000000 B0: 0.000000 B1: 0.000000 B2: 0.000000 i: 1 NUC: 917.228900 Anew: 0.332380 Bnew: 0.998522 NS: -2.467000 B0: 2.960000 B1: -0.054110 B2: 0.000245 i: 2 NUC: 838.125500 Anew: 0.674623 Bnew: 0.998363 NS: -2.009000 B0: 2.225000 B1: -0.036650 B2: 0.000149 DONE WITH NEW COEFFS calhead: sat: 16 orb: 0 julianday: 10970 taos: 55611078 0.000 0.000 2700.1148 917.2289 838.1255 )-"/Users/jkey/nav/cal/calibnew16.dat calhead: 0.000 0.000 2700.1148 917.2289 838.1255 )-"/Users/jkey/nav/cal/calibnew16.dat wavecent: 0.000000 0.000000 2700.114800 917.228900 838.125500 INVWAVE: 0.000000 size of cal file is: 208714 have read in cal array number of lines 1967 doing raw line: 0 doing raw line: 500 doing raw line: 1000 doing raw line: 1500 TIME calculation WAS REQUESTED SZA calculation WAS REQUESTED LINE and SAMPLE DATA WAS REQUESTED OSCULATING CORRECTIONS WILL BE APPLIED dashv: temp: strlen: 0 dashH: n strlen: 1 AFTER GET OPTIONS GAC DATA OPTION HAS BEEN CHOOSEN AFTER INIT input file has been opened, fp: 1883758400 after openarc fp: 1883758400 sid: 16d orbnum: 0d numscan: 1967d milday: 55611078d *** data header *** satid: 16 orbit number: 0 number of lines: 1967 julian day: 10970 time of first scan: 15.447522 ******************** AFTER INITDATA julday: 10970 taos: 55611078 TIME OF FIRST SCAN : 11/01/13 15:26:51 looking for ephemeris data for taos: 10970.643647 opening ephemeris after opening ephemeris size: 76 *******ephemeris elements ************ satid: 26536 orbit: 65195 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 ecc: 0.001062 argper: 0.364140 ascnode: 0.799605 inclin: 0.275446 ephoc: 110105000000 **************************** ******ephemnot structure follows*******: satid: 26536 orbit: 65195 size: 76 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 eccen: 0.001062 argper: 0.364140 ascenode: 0.799605 inclin: 0.275446 earadius: 6378137.000000 oblat: 0.001083 ***************************************************************** *********epheminit structure follows******* timnot: 10962.000000 smajaxis: 1.132905 decay: -0.000000 eccen: 0.001062 inclin: 1.730681 argper: 2.287962 perrate: -0.000551 longan: 5.024068 nodrate: 0.000201 ,meananom: 1.717550 meanmot: 0.828813 meanmotrate: 0.000000 grav constant: 398598005011040.375000 ***************************************************************** satlat1: -1.045913 satlat2: -1.071044 asnflag: -1 DATA IS DESCENDING **************** INITAILIZATION OVER ****************** dashr: 72.363 RANGE0: 72.363000 IN SATGEO line: 0 spot: 204 time: 10970.643647 IN SATGEO line: 5 spot: 204 time: 10970.643676 RANGE: 72.363000 Pass is Descending at start center lat: -89.999943 center lon: 180.000000 range: 72.363000 images will be processed using chunks of 321 lines getting space for 10 bit image image.proj: 8 fpsza: 7047dfd8 fpsaza: 7047e070 opening 135359173.NSS.GHRR.NL.D11013.S1452.E1625.B5315455.GC.S.1 OPENING chan: 0 fp: 1883759312 opening 135359173.NSS.GHRR.NL.D11013.S1452.E1625.B5315455.GC.S.2 OPENING chan: 1 fp: 1883759464 opening 135359173.NSS.GHRR.NL.D11013.S1452.E1625.B5315455.GC.S.3 OPENING chan: 2 fp: 1883759616 opening 135359173.NSS.GHRR.NL.D11013.S1452.E1625.B5315455.GC.S.4 OPENING chan: 3 fp: 1883759768 opening 135359173.NSS.GHRR.NL.D11013.S1452.E1625.B5315455.GC.S.5 OPENING chan: 4 fp: 1883759920 getting space for time array getting space for sza array getting space for saza array getting space for satelv array getting space for sataz array ************************************* total bytes malloced is : 3453394 ************************************* ******** current elements follow******** taos: 10970.643647 time: 10970.643647 smajaxis: 7225816.837045 eccentricity: 0.001062 inclin: 1.730734 argper: 1.865005 longan: -5.297951 meananom: 2.343741 trueanom: 2.345260 altitude: 7231192.787013 ********************************************** satpos: -2765238.906658 -2339485.743758 -6270908.701239 satvel: 3116.283803 5726.296459 -3518.708245 satlat: -59.988987 satlon: -139.767648 COMMAND>DASHD: n INTERPOLATION CHOOSEN , every 8 x pixel and every 8 ypixel going through pixels **** before templat: -36.957736 centtodet: -37.142800 CORNERS OF WHOLE IMAGE FOLLOW North West Corner lat: -37.142800 lon: -45.000061 North East Corner lat: -37.320927 lon: 44.821012 South East Corner lat: -37.499365 lon: 135.000061 South West Corner lat: -37.320826 lon: 225.178988 interpolation choosen every 8 i pixels and every 8 j pixels image will be processed in 1 chunks of 321 image lines segment 0 startj: 0 stopj: 321 starti: 0 stopi: 320 numj: 321 north west----- lat: -36.957736 lon: -45.000061 line: -999 spot: -999 north east----- lat: -37.135539 lon: 44.821012 line: -999 spot: 386 south east-----lat: -37.135438 lon: 135.179109 line: -999 spot: -999 south west-----lat: -36.957635 lon: 224.999939 line: -999 spot: -999 doing chunk number: 0 from line: 0 to line: 320 numcelx: 40 numcely: 40 extrai: 0 extraj: 0 ****minline: 1 maxline: 1964 in data aquisiton maxline: 1964 minline: 1 in data aquistion module image is contained within lines : 1 and 1964 data will be processed using 20 chunks of 100 lines in get10 searching data lines 1 to 101 for image lines 0 to 321 in get10 searching data lines 101 to 201 for image lines 0 to 321 in get10 searching data lines 201 to 301 for image lines 0 to 321 in get10 searching data lines 301 to 401 for image lines 0 to 321 in get10 searching data lines 401 to 501 for image lines 0 to 321 in get10 searching data lines 501 to 601 for image lines 0 to 321 in get10 searching data lines 601 to 701 for image lines 0 to 321 in get10 searching data lines 701 to 801 for image lines 0 to 321 in get10 searching data lines 801 to 901 for image lines 0 to 321 in get10 searching data lines 901 to 1001 for image lines 0 to 321 in get10 searching data lines 1001 to 1101 for image lines 0 to 321 in get10 searching data lines 1101 to 1201 for image lines 0 to 321 in get10 searching data lines 1201 to 1301 for image lines 0 to 321 in get10 searching data lines 1301 to 1401 for image lines 0 to 321 in get10 searching data lines 1401 to 1501 for image lines 0 to 321 in get10 searching data lines 1501 to 1601 for image lines 0 to 321 in get10 searching data lines 1601 to 1701 for image lines 0 to 321 in get10 searching data lines 1701 to 1801 for image lines 0 to 321 in get10 searching data lines 1801 to 1901 for image lines 0 to 321 done processing 1967 lines in get10 searching data lines 1901 to 2001 for image lines 0 to 321 dumping SZA array in dumpother j1: 0 j2: 321 ysize: 321 fpother: 1883758552 writing other type image in dumpother j1: 0 j2: 321 ysize: 321 fpother: 1883758704 writing other type image *************** dashY: y dumping ELEV array in dumpother j1: 0 j2: 321 ysize: 321 fpother: 1883759160 writing other type image dumping AZIM array in dumpother j1: 0 j2: 321 ysize: 321 fpother: 1883759008 writing other type image constructing TIME array in puttime j1: 0 j2: 321 ysize: 321 dumping TIME array in dumpother j1: 0 j2: 321 ysize: 321 fpother: 1883758856 writing other type image nchan: 5 dumping ch: 0 fp: 1883759312 about to dump image number: 0 channel: 1 xsize: 321 ysize: 321 IN WRITEIMAGE chan: 0 fp: 1883759312 DOne with dumpimage fp: 1883759312 have dumped ch: 0 fp: 1883759312 dumping ch: 1 fp: 1883759464 about to dump image number: 1 channel: 2 xsize: 321 ysize: 321 IN WRITEIMAGE chan: 1 fp: 1883759464 DOne with dumpimage fp: 1883759464 have dumped ch: 1 fp: 1883759464 dumping ch: 2 fp: 1883759616 about to dump image number: 2 channel: 3 xsize: 321 ysize: 321 IN WRITEIMAGE chan: 2 fp: 1883759616 DOne with dumpimage fp: 1883759616 have dumped ch: 2 fp: 1883759616 dumping ch: 3 fp: 1883759768 about to dump image number: 3 channel: 4 xsize: 321 ysize: 321 IN WRITEIMAGE chan: 3 fp: 1883759768 DOne with dumpimage fp: 1883759768 have dumped ch: 3 fp: 1883759768 dumping ch: 4 fp: 1883759920 about to dump image number: 4 channel: 5 xsize: 321 ysize: 321 IN WRITEIMAGE chan: 4 fp: 1883759920 DOne with dumpimage fp: 1883759920 have dumped ch: 4 fp: 1883759920 About to write headers fp: 1883759768 done with navigation--retrieving data ***** Running polar regions subsetting at Fri Jan 14 02:18:14 CST 2011 ***** Working on year and julian day (yyddd): 11013 (2011 Jan 13) command line args: ephemfile: /Users/jkey/nav/ephemeris northlimit: 60.000000 southlimit: -60.000000 data is type: G sds-type is: H region is: O SDS GAC data selected. year: 2011 day: 13 miilsecs: 58822078 before md doy: 13 year: 2011 **julianday: 10970 year: 2011 day: 13 miilsecs: 58822078 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 year: 2011 day: 13 miilsecs: 58822578 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 year: 2011 day: 13 miilsecs: 58823078 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 taos: 58822078 satid: 16 julian day: 10970 nlines: 13735 GOING INTO initorb4 satnum: 16 navsatid: 26536 calling readephem taos: 10970.680811 opening ephemeris after opening ephemeris size: 76 *******ephemeris elements ************ satid: 26536 orbit: 65195 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 ecc: 0.001062 argper: 0.364140 ascnode: 0.799605 inclin: 0.275446 ephoc: 110105000000 **************************** ******ephemnot structure follows*******: satid: 26536 orbit: 65195 size: 76 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 eccen: 0.001062 argper: 0.364140 ascenode: 0.799605 inclin: 0.275446 earadius: 6378137.000000 oblat: 0.001083 ***************************************************************** YEAR HERE: 11 *********epheminit structure follows******* timnot: 10962.000000 smajaxis: 1.132905 decay: -0.000000 eccen: 0.001062 inclin: 1.730681 argper: 2.287962 perrate: -0.000551 longan: 5.024068 nodrate: 0.000201 ,meananom: 1.717550 meanmot: 0.828813 meanmotrate: 0.000000 grav constant: 398598005011040.375000 ***************************************************************** ******** current elements follow******** taos: 10970.680811 time: 10970.680811 smajaxis: 7225816.816953 eccentricity: 0.001062 inclin: 1.730681 argper: 1.863186 longan: -5.531354 meananom: 772.190908 trueanom: 772.189637 altitude: 7219669.232304 ********************************************** ******** current elements follow******** taos: 10970.680811 time: 10970.680811 smajaxis: 7225816.816953 eccentricity: 0.001062 inclin: 1.730681 argper: 1.863186 longan: -5.531354 meananom: 772.190908 trueanom: 772.189637 altitude: 7219669.232304 ********************************************** SPECIFIC DATA: bytesperline: 4608 scanspersec: 2.000000 line : 0 10970.680811 68.175332 19.531010 7215018.702835 Opening data.NORTH1 and writing header line: 0 line : 100 10970.681390 70.788861 15.534085 7214563.841683 line : 200 10970.681968 73.300405 10.422241 7214159.607789 line : 300 10970.682547 75.656922 3.694020 7213807.706213 line : 400 10970.683126 77.769086 -5.376821 7213509.593702 line : 500 10970.683705 79.489088 -17.668613 7213266.469161 line : 600 10970.684283 80.599551 -33.643270 7213079.266050 line : 700 10970.684862 80.875357 -52.074601 7212948.646760 line : 800 10970.685441 80.245427 -69.826938 7212874.999025 line : 900 10970.686019 78.862200 -84.354443 7212858.434395 line : 1000 10970.686598 76.962968 -95.261334 7212898.788795 line : 1100 10970.687177 74.738782 -103.296596 7212995.625133 line : 1200 10970.687756 72.311356 -109.306767 7213148.237963 line : 1300 10970.688334 69.753185 -113.925070 7213355.660117 line : 1400 10970.688913 67.107573 -117.577358 7213616.671265 line : 1500 10970.689492 64.401129 -120.544432 7213929.808302 line : 1600 10970.690070 61.650794 -123.013442 7214293.377463 line : 1700 10970.690649 58.867734 -125.111796 7214705.468034 line : 1800 10970.691228 56.059559 -126.928340 7215163.967546 line : 1900 10970.691806 53.231607 -128.526520 7215666.578275 line : 2000 10970.692385 50.387729 -129.952670 7216210.834903 line : 2100 10970.692964 47.530777 -131.241330 7216794.123167 line : 2200 10970.693543 44.662909 -132.418740 7217413.699308 line : 2300 10970.694121 41.785801 -133.505184 7218066.710140 line : 2400 10970.694700 38.900784 -134.516595 7218750.213547 line : 2500 10970.695279 36.008940 -135.465675 7219461.199212 line : 2600 10970.695857 33.111170 -136.362695 7220196.609379 line : 2700 10970.696436 30.208241 -137.216073 7220953.359474 line : 2800 10970.697015 27.300821 -138.032798 7221728.358374 line : 2900 10970.697593 24.389508 -138.818752 7222518.528152 line : 3000 10970.698172 21.474842 -139.578945 7223320.823128 line : 3100 10970.698751 18.557325 -140.317710 7224132.248044 line : 3200 10970.699330 15.637431 -141.038842 7224949.875227 line : 3300 10970.699908 12.715611 -141.745717 7225770.860581 line : 3400 10970.700487 9.792298 -142.441385 7226592.458286 line : 3500 10970.701066 6.867918 -143.128652 7227412.034099 line : 3600 10970.701644 3.942886 -143.810142 7228227.077142 line : 3700 10970.702223 1.017612 -144.488359 7229035.210111 line : 3800 10970.702802 -1.907497 -145.165739 7229834.197839 line : 3900 10970.703381 -4.832037 -145.844699 7230621.954170 line : 4000 10970.703959 -7.755601 -146.527688 7231396.547116 line : 4100 10970.704538 -10.677783 -147.217238 7232156.202290 line : 4200 10970.705117 -13.598172 -147.916016 7232899.304638 line : 4300 10970.705695 -16.516350 -148.626886 7233624.398473 line : 4400 10970.706274 -19.431888 -149.352980 7234330.185896 line : 4500 10970.706853 -22.344343 -150.097775 7235015.523630 line : 4600 10970.707431 -25.253248 -150.865199 7235679.418376 line : 4700 10970.708010 -28.158110 -151.659746 7236321.020773 line : 4800 10970.708589 -31.058390 -152.486639 7236939.618071 line : 4900 10970.709168 -33.953495 -153.352023 7237534.625647 line : 5000 10970.709746 -36.842756 -154.263224 7238105.577490 line : 5100 10970.710325 -39.725396 -155.229092 7238652.115794 line : 5200 10970.710904 -42.600500 -156.260456 7239173.979824 line : 5300 10970.711482 -45.466956 -157.370752 7239670.994194 line : 5400 10970.712061 -48.323384 -158.576881 7240143.056728 line : 5500 10970.712640 -51.168034 -159.900432 7240590.126072 line : 5600 10970.713218 -53.998631 -161.369430 7241012.209205 line : 5700 10970.713797 -56.812150 -163.020898 7241409.349032 line : 5800 10970.714376 -59.604470 -164.904697 7241781.612204 Opening data.SOUTH1 and writing header line: 5815 line : 5900 10970.714955 -62.369837 -167.089383 7242129.077334 line : 6000 10970.715533 -65.099991 -169.671367 7242451.823752 line : 6100 10970.716112 -67.782711 -172.789473 7242749.920946 line : 6200 10970.716691 -70.399315 -176.648302 7243023.418814 line : 6300 10970.717269 -72.920229 178.444817 7243272.338866 line : 6400 10970.717848 -75.297010 172.025895 7243496.666476 line : 6500 10970.718427 -77.448368 163.417893 7243696.344278 line : 6600 10970.719006 -79.239057 151.768280 7243871.266806 line : 6700 10970.719584 -80.464369 136.494019 7244021.276438 line : 6800 10970.720163 -80.893624 118.443191 7244146.160694 line : 6900 10970.720742 -80.419416 100.478186 7244245.650931 line : 7000 10970.721320 -79.159629 85.387234 7244319.422467 line : 7100 10970.721899 -77.346551 73.913724 7244367.096114 line : 7200 10970.722478 -75.181563 65.437974 7244388.241132 line : 7300 10970.723056 -72.796600 59.111101 7244382.379564 line : 7400 10970.723635 -70.270806 54.267685 7244348.991904 line : 7500 10970.724214 -67.651382 50.453288 7244287.524054 line : 7600 10970.724793 -64.967185 47.367017 7244197.395467 line : 7700 10970.725371 -62.236479 44.808406 7244078.008417 line : 7800 10970.725950 -59.471228 42.641281 7243928.758265 line : 7900 10970.726529 -56.679531 40.770957 7243749.044624 line : 8000 10970.727107 -53.867037 39.130022 7243538.283279 line : 8100 10970.727686 -51.037794 37.669397 7243295.918745 line : 8200 10970.728265 -48.194777 36.352601 7243021.437295 line : 8300 10970.728843 -45.340223 35.151994 7242714.380320 line : 8400 10970.729422 -42.475855 34.046264 7242374.357859 line : 8500 10970.730001 -39.603029 33.018714 7242001.062130 line : 8600 10970.730580 -36.722838 32.056063 7241594.280908 line : 8700 10970.731158 -33.836183 31.147598 7241153.910578 line : 8800 10970.731737 -30.943825 30.284557 7240679.968701 line : 8900 10970.732316 -28.046421 29.459685 7240172.605937 line : 9000 10970.732894 -25.144553 28.666891 7239632.117158 line : 9100 10970.733473 -22.238746 27.900997 7239058.951614 line : 9200 10970.734052 -19.329484 27.157542 7238453.722010 line : 9300 10970.734631 -16.417223 26.432628 7237817.212346 line : 9400 10970.735209 -13.502393 25.722799 7237150.384429 line : 9500 10970.735788 -10.585414 25.024943 7236454.382914 line : 9600 10970.736367 -7.666693 24.336213 7235730.538813 line : 9700 10970.736945 -4.746629 23.653952 7234980.371369 line : 9800 10970.737524 -1.825619 22.975642 7234205.588244 line : 9900 10970.738103 1.095942 22.298840 7233408.083965 line : 10000 10970.738681 4.017661 21.621138 7232589.936611 line : 10100 10970.739260 6.939142 20.940107 7231753.402717 line : 10200 10970.739839 9.859984 20.253246 7230900.910404 line : 10300 10970.740418 12.779783 19.557937 7230035.050769 line : 10400 10970.740996 15.698126 18.851377 7229158.567565 line : 10500 10970.741575 18.614587 18.130519 7228274.345239 line : 10600 10970.742154 21.528726 17.391987 7227385.395402 line : 10700 10970.742732 24.440080 16.631987 7226494.841839 line : 10800 10970.743311 27.348156 15.846190 7225605.904146 line : 10900 10970.743890 30.252421 15.029582 7224721.880142 line : 11000 10970.744468 33.152289 14.176281 7223846.127193 line : 11100 10970.745047 36.047097 13.279294 7222982.042587 line : 11200 10970.745626 38.936088 12.330201 7222133.043139 line : 11300 10970.746205 41.818367 11.318725 7221302.544196 line : 11400 10970.746783 44.692860 10.232155 7220493.938216 line : 11500 10970.747362 47.558241 9.054547 7219710.573122 line : 11600 10970.747941 50.412839 7.765602 7218955.730607 line : 11700 10970.748519 53.254499 6.339056 7218232.604595 line : 11800 10970.749098 56.080374 4.740338 7217544.280056 line : 11900 10970.749677 58.886613 2.923069 7216893.712349 Opening data.NORTH2 and writing header line: 11940 line : 12000 10970.750256 61.667876 0.823735 7216283.707302 line : 12100 10970.750834 64.416548 -1.646613 7215716.902200 line : 12200 10970.751413 67.121451 -4.615538 7215195.747865 line : 12300 10970.751992 69.765625 -8.270436 7214722.491980 line : 12400 10970.752570 72.322419 -12.892490 7214299.163830 line : 12500 10970.753149 74.748457 -18.908139 7213927.560587 line : 12600 10970.753728 76.971117 -26.951372 7213609.235275 line : 12700 10970.754306 78.868475 -37.869220 7213345.486520 line : 12800 10970.754885 80.249223 -52.409078 7213137.350188 line : 12900 10970.755464 80.876019 -70.169012 7212985.592978 line : 13000 10970.756043 80.596929 -88.596852 7212890.708034 line : 13100 10970.756621 79.483697 -104.560101 7212852.912615 line : 13200 10970.757200 77.761598 -116.839993 7212872.147836 line : 13300 10970.757779 75.647788 -125.901686 7212948.080481 line : 13400 10970.758357 73.289835 -132.623531 7213080.106866 line : 13500 10970.758936 70.776907 -137.731014 7213267.358716 line : 13600 10970.759515 68.161958 -141.724924 7213508.710977 line : 13700 10970.760093 65.477115 -144.936238 7213802.791508 could not read line 13732 writing header for file 0 goint into getcorrectsdsvals year: 2011 day: 13 miilsecs: 58822078 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 going into makeheader with taos: 10970.680811 satid: 16 nlines: 1663 IN MAKEHEADER going into first make1btime in make1btime taos: 10970.680811 millsec: 58822078 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 after first make1btime in make1btime taos: 10970.684019 millsec: 59099245 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 DONE WITH MAKEHEADER writing header for file 1 goint into getcorrectsdsvals year: 2011 day: 13 miilsecs: 64793578 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 going into makeheader with taos: 10970.749926 satid: 16 nlines: 1792 IN MAKEHEADER going into first make1btime in make1btime taos: 10970.749926 millsec: 64793578 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 after first make1btime in make1btime taos: 10970.753382 millsec: 65092245 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 DONE WITH MAKEHEADER writing header for file 2 goint into getcorrectsdsvals year: 2011 day: 13 miilsecs: 61731078 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 going into makeheader with taos: 10970.714480 satid: 16 nlines: 1966 IN MAKEHEADER going into first make1btime in make1btime taos: 10970.714480 millsec: 61731078 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 after first make1btime in make1btime taos: 10970.718273 millsec: 62058745 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 DONE WITH MAKEHEADER ***** Running navigation/calibration at Fri Jan 14 02:18:15 CST 2011 ***** Working on year and julian day (yyddd): 11013 (2011 Jan 13) no H option specified TBMFLAG: compval: 0 reading input header input header has been read satid from header : 2 XX satid: 16 getting time from firstline getting time in gettime in: 7 db 0 d 0 6b 3 81 8d be year: 2011 day: 13 ymd year: 2011 ymd yeardif: 30 after getheader done with 1663 lines header count: 0 actual: 1663 header will be rewritten output header follows: satid: 16 orbnum: 0 nlines: 1663 julday: 10970 taos: 58822078 NEW PROCESSGENERICGAC year: 2011 input file is : tmp output file is : tmp.p new processraw opening raw file: tmp opening archive file and writing header to tmp.p header written to newdataset dumsat: 3 satid from first line is: 16 year before julianday call: 2011 firstline curday: 13 julian: 10970 time: 58822078 linein: 0 curtime: 58822578 lasttime: 58822078 lastgood: 58822078 timdif: 500 linein: 100 curtime: 58872578 lasttime: 58872078 lastgood: 58872078 timdif: 500 linein: 200 curtime: 58922578 lasttime: 58922078 lastgood: 58922078 timdif: 500 linein: 300 curtime: 58972578 lasttime: 58972078 lastgood: 58972078 timdif: 500 linein: 400 curtime: 59022578 lasttime: 59022078 lastgood: 59022078 timdif: 500 linein: 500 curtime: 59072578 lasttime: 59072078 lastgood: 59072078 timdif: 500 linein: 600 curtime: 59122578 lasttime: 59122078 lastgood: 59122078 timdif: 500 linein: 700 curtime: 59172578 lasttime: 59172078 lastgood: 59172078 timdif: 500 linein: 800 curtime: 59222578 lasttime: 59222078 lastgood: 59222078 timdif: 500 linein: 900 curtime: 59272578 lasttime: 59272078 lastgood: 59272078 timdif: 500 linein: 1000 curtime: 59322578 lasttime: 59322078 lastgood: 59322078 timdif: 500 linein: 1100 curtime: 59372578 lasttime: 59372078 lastgood: 59372078 timdif: 500 linein: 1200 curtime: 59422578 lasttime: 59422078 lastgood: 59422078 timdif: 500 linein: 1300 curtime: 59472578 lasttime: 59472078 lastgood: 59472078 timdif: 500 linein: 1400 curtime: 59522578 lasttime: 59522078 lastgood: 59522078 timdif: 500 linein: 1500 curtime: 59572578 lasttime: 59572078 lastgood: 59572078 timdif: 500 linein: 1600 curtime: 59622578 lasttime: 59622078 lastgood: 59622078 timdif: 500 could not read line bytes read: 0 error reading line: 1662 archive corect to here will rewrite header correctly cleaning up archive file new header being written as: satid: 16 orbit number: 0 dum: 0 number of lines: 1663 julian day: 10970d time of first scan: 16.339466 processing GAC data satid: 16 orbit number: 0 dum: 0 number of lines: 1663 julian day: 10970d time of first scan: 16.339466 Seasonal correction for julian date 10970.680811 = 0.967354 flag is : S 11/01/13 00:00:00110113000000 year: 11 month: 1 day: 13 dayofyear: 13 file containing coefficients is COEFFS.16 calling openparm16 before sprintf parmfilename: /Users/jkey/nav/cal/calib16.dat i: 0 nu: 2226.179930 i: 1 nu: 782.472410 i: 2 nu: 714.285640 chan: 0 nuc: 2700.114800 A: 1.592459 B: 0.998147 chan: 1 nuc: 917.228900 A: 0.332380 B: 0.998522 chan: 2 nuc: 838.125500 A: 0.674623 B: 0.998363 i: 0 wave:0.000000 i: 1 wave:0.000000 i: 2 wave:2700.114800 i: 3 wave:917.228900 i: 4 wave:838.125500 before look for Z after look for Z about to leave openparm newflag is 1: 1 about to open: tmp.p headstuff: sat: 16 orb: 0 julianday: 10970 taos: 58822078 length of headstuff: 57 headstuff: sat: 16 orb: 0 julianday: 10970 taos: 58822078 0.000 0.000 2700.1148 917.2289 838.1255 length of headstuff: 106 ************** results of initial calibration ******** from header firstday is : 13 arcsize: 5626 in sequence numlines: 1 day: 13 val: 389 arcsize: 5626 in sequence numlines: 2 day: 13 val: 383 arcsize: 5626 in sequence numlines: 3 day: 13 val: 385 arcsize: 5626 in sequence numlines: 4 day: 13 val: 389 arcsize: 5626 in sequence numlines: 5 day: 13 val: 0 realline before: 5 spaceref: 0.000000 targtemp: 296.425232 space rad: 0.000000 -4.500000 -3.610000 average space counts: 990.360000 991.280000 994.100000 average internal counts: 796.080000 398.820000 383.120000 satid: 16 launch_indx: -1 chan: 3 radspace: 0.000000 radtarget: 0.499235 spacebar:990.360000 internalbar: 796.080000 chan: 3 radspace: 0.000000 radtarget: 0.499235 spacebar:990.360000 internalbar: 796.080000 gain: -0.002570 offset: 2.544894 chan: 4 radspace: -4.500000 radtarget: 108.211493 spacebar:991.280000 internalbar: 398.820000 chan: 4 radspace: -4.500000 radtarget: 108.211493 spacebar:991.280000 internalbar: 398.820000 gain: -0.190243 offset: 184.084290 chan: 5 radspace: -3.610000 radtarget: 122.394980 spacebar:994.100000 internalbar: 383.120000 chan: 5 radspace: -3.610000 radtarget: 122.394980 spacebar:994.100000 internalbar: 383.120000 gain: -0.206234 offset: 201.407440 gain after: 0.054946 gain after: 0.054946 gain and offset up to scan line 55 : 0.054946 -2.115991 0.057654 -2.330937 -0.002570 2.544894 -0.190243 184.084290 -0.206234 201.407440 ************************************************************ trouble reading line in main DONE WITH CALIBRATION there were 1663 lines done THIS IS ACTUALLY rawcal15_new AS IT SHOULD BE CALIBRATION FILE: COEFFS.16 RADFLAG: 1 calib_dir: /Users/jkey/nav/cal name of caldatfile is: /Users/jkey/nav/cal/calibnew16.dat have found CENTRAL WAVE in string CENTRAL WAVE NUMBER TABLE 190.000000 230.000000 2638.652000 928.260300 834.449600 230.000000 270.000000 2642.807000 928.828400 834.806600 270.000000 310.000000 2645.899000 929.332300 835.164700 have found SPLIT CAL in string SPLIT CAL TABLE SPLIT GAINS and OFFSETS CHAN 1 count 0-490 gain: 0.052300 offset: -2.016000 CHAN 1 count 491-1023 gain: 0.152800 offset: -51.910000 CHAN 2 count 0-500 gain: 0.051300 offset: -1.943000 CHAN 2 count 501-1023 gain: 0.151000 offset: -51.770000 CHAN 3 count 0-499 gain: 0.028700 offset: -2.043000 CHAN 3 count 500-1023 gain: 0.180600 offset: -78.030000 WE ARE GOING NON LINEAR name of caldatfile is: /Users/jkey/nav/cal/calibnew16.dat have found NON LINEAR in string ABOUT TO READ NON LINEAR MATRIX have READ NON LINEAR MATRIX DONE WITH NON LINEAR STUFF have found NEW COEFFS in string ABOUT TO READ NEW COEFFS i: 0 NUC: 2700.114800 Anew: 1.592459 Bnew: 0.998147 NS: 0.000000 B0: 0.000000 B1: 0.000000 B2: 0.000000 i: 1 NUC: 917.228900 Anew: 0.332380 Bnew: 0.998522 NS: -2.467000 B0: 2.960000 B1: -0.054110 B2: 0.000245 i: 2 NUC: 838.125500 Anew: 0.674623 Bnew: 0.998363 NS: -2.009000 B0: 2.225000 B1: -0.036650 B2: 0.000149 DONE WITH NEW COEFFS calhead: sat: 16 orb: 0 julianday: 10970 taos: 58822078 0.000 0.000 2700.1148 917.2289 838.1255 VXƹ/Users/jkey/nav/cal/calibnew16.dat calhead: 0.000 0.000 2700.1148 917.2289 838.1255 VXƹ/Users/jkey/nav/cal/calibnew16.dat wavecent: 0.000000 0.000000 2700.114800 917.228900 838.125500 INVWAVE: 0.000000 size of cal file is: 176490 have read in cal array number of lines 1663 doing raw line: 0 doing raw line: 500 doing raw line: 1000 doing raw line: 1500 TIME calculation WAS REQUESTED SZA calculation WAS REQUESTED LINE and SAMPLE DATA WAS REQUESTED OSCULATING CORRECTIONS WILL BE APPLIED dashv: temp: strlen: 0 dashH: n strlen: 1 AFTER GET OPTIONS GAC DATA OPTION HAS BEEN CHOOSEN AFTER INIT input file has been opened, fp: 1883758400 after openarc fp: 1883758400 sid: 16d orbnum: 0d numscan: 1663d milday: 58822078d *** data header *** satid: 16 orbit number: 0 number of lines: 1663 julian day: 10970 time of first scan: 16.339466 ******************** AFTER INITDATA julday: 10970 taos: 58822078 TIME OF FIRST SCAN : 11/01/13 16:20:22 looking for ephemeris data for taos: 10970.680811 opening ephemeris after opening ephemeris size: 76 *******ephemeris elements ************ satid: 26536 orbit: 65195 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 ecc: 0.001062 argper: 0.364140 ascnode: 0.799605 inclin: 0.275446 ephoc: 110105000000 **************************** ******ephemnot structure follows*******: satid: 26536 orbit: 65195 size: 76 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 eccen: 0.001062 argper: 0.364140 ascenode: 0.799605 inclin: 0.275446 earadius: 6378137.000000 oblat: 0.001083 ***************************************************************** *********epheminit structure follows******* timnot: 10962.000000 smajaxis: 1.132905 decay: -0.000000 eccen: 0.001062 inclin: 1.730681 argper: 2.287962 perrate: -0.000551 longan: 5.024068 nodrate: 0.000201 ,meananom: 1.717550 meanmot: 0.828813 meanmotrate: 0.000000 grav constant: 398598005011040.375000 ***************************************************************** satlat1: 1.187591 satlat2: 1.211541 asnflag: 1 DATA IS ASCENDING **************** INITAILIZATION OVER ****************** dashr: 81.38011 RANGE0: 81.380110 IN SATGEO line: 0 spot: 204 time: 10970.680811 IN SATGEO line: 5 spot: 204 time: 10970.680840 RANGE: 81.380110 Pass is Ascending at start center lat: 90.000000 center lon: 0.000000 range: 81.380110 images will be processed using chunks of 361 lines getting space for 10 bit image image.proj: 8 fpsza: 7047dfd8 fpsaza: 7047e070 opening 135378763.NSS.GHRR.NL.D11013.S1620.E1814.B5315556.GC.N1.1 OPENING chan: 0 fp: 1883759312 opening 135378763.NSS.GHRR.NL.D11013.S1620.E1814.B5315556.GC.N1.2 OPENING chan: 1 fp: 1883759464 opening 135378763.NSS.GHRR.NL.D11013.S1620.E1814.B5315556.GC.N1.3 OPENING chan: 2 fp: 1883759616 opening 135378763.NSS.GHRR.NL.D11013.S1620.E1814.B5315556.GC.N1.4 OPENING chan: 3 fp: 1883759768 opening 135378763.NSS.GHRR.NL.D11013.S1620.E1814.B5315556.GC.N1.5 OPENING chan: 4 fp: 1883759920 getting space for time array getting space for sza array getting space for saza array getting space for satelv array getting space for sataz array ************************************* total bytes malloced is : 4217234 ************************************* ******** current elements follow******** taos: 10970.680811 time: 10970.680811 smajaxis: 7225816.816953 eccentricity: 0.001062 inclin: 1.730757 argper: 1.863186 longan: -5.531419 meananom: 5.642301 trueanom: 5.641030 altitude: 7219657.450319 ********************************************** satpos: 2546767.497078 903409.197141 6689867.115318 satvel: -4826.502203 -5066.965364 2511.303031 satlat: 68.004627 satlon: 19.531010 COMMAND>DASHD: n INTERPOLATION CHOOSEN , every 8 x pixel and every 8 ypixel going through pixels **** before templat: 29.712678 centtodet: 29.878633 CORNERS OF WHOLE IMAGE FOLLOW North West Corner lat: 29.878633 lon: 225.000000 North East Corner lat: 30.063244 lon: 135.159155 South East Corner lat: 30.248190 lon: 45.000000 South West Corner lat: 30.063244 lon: -45.159155 interpolation choosen every 8 i pixels and every 8 j pixels image will be processed in 1 chunks of 361 image lines segment 0 startj: 0 stopj: 361 starti: 0 stopi: 360 numj: 361 north west----- lat: 29.712678 lon: 225.000000 line: -999 spot: 257 north east----- lat: 29.896666 lon: 135.159155 line: -999 spot: -999 south east-----lat: 29.896666 lon: 44.840845 line: -999 spot: -999 south west-----lat: 29.712678 lon: -45.000000 line: -999 spot: -999 doing chunk number: 0 from line: 0 to line: 360 numcelx: 45 numcely: 45 extrai: 0 extraj: 0 ****minline: 1 maxline: 1660 in data aquisiton maxline: 1660 minline: 1 in data aquistion module image is contained within lines : 1 and 1660 data will be processed using 17 chunks of 100 lines in get10 searching data lines 1 to 101 for image lines 0 to 361 in get10 searching data lines 101 to 201 for image lines 0 to 361 in get10 searching data lines 201 to 301 for image lines 0 to 361 in get10 searching data lines 301 to 401 for image lines 0 to 361 in get10 searching data lines 401 to 501 for image lines 0 to 361 in get10 searching data lines 501 to 601 for image lines 0 to 361 in get10 searching data lines 601 to 701 for image lines 0 to 361 in get10 searching data lines 701 to 801 for image lines 0 to 361 in get10 searching data lines 801 to 901 for image lines 0 to 361 in get10 searching data lines 901 to 1001 for image lines 0 to 361 in get10 searching data lines 1001 to 1101 for image lines 0 to 361 in get10 searching data lines 1101 to 1201 for image lines 0 to 361 in get10 searching data lines 1201 to 1301 for image lines 0 to 361 in get10 searching data lines 1301 to 1401 for image lines 0 to 361 in get10 searching data lines 1401 to 1501 for image lines 0 to 361 in get10 searching data lines 1501 to 1601 for image lines 0 to 361 done processing 1663 lines in get10 searching data lines 1601 to 1701 for image lines 0 to 361 dumping SZA array in dumpother j1: 0 j2: 361 ysize: 361 fpother: 1883758552 writing other type image in dumpother j1: 0 j2: 361 ysize: 361 fpother: 1883758704 writing other type image *************** dashY: y dumping ELEV array in dumpother j1: 0 j2: 361 ysize: 361 fpother: 1883759160 writing other type image dumping AZIM array in dumpother j1: 0 j2: 361 ysize: 361 fpother: 1883759008 writing other type image constructing TIME array in puttime j1: 0 j2: 361 ysize: 361 dumping TIME array in dumpother j1: 0 j2: 361 ysize: 361 fpother: 1883758856 writing other type image nchan: 5 dumping ch: 0 fp: 1883759312 about to dump image number: 0 channel: 1 xsize: 361 ysize: 361 IN WRITEIMAGE chan: 0 fp: 1883759312 DOne with dumpimage fp: 1883759312 have dumped ch: 0 fp: 1883759312 dumping ch: 1 fp: 1883759464 about to dump image number: 1 channel: 2 xsize: 361 ysize: 361 IN WRITEIMAGE chan: 1 fp: 1883759464 DOne with dumpimage fp: 1883759464 have dumped ch: 1 fp: 1883759464 dumping ch: 2 fp: 1883759616 about to dump image number: 2 channel: 3 xsize: 361 ysize: 361 IN WRITEIMAGE chan: 2 fp: 1883759616 DOne with dumpimage fp: 1883759616 have dumped ch: 2 fp: 1883759616 dumping ch: 3 fp: 1883759768 about to dump image number: 3 channel: 4 xsize: 361 ysize: 361 IN WRITEIMAGE chan: 3 fp: 1883759768 DOne with dumpimage fp: 1883759768 have dumped ch: 3 fp: 1883759768 dumping ch: 4 fp: 1883759920 about to dump image number: 4 channel: 5 xsize: 361 ysize: 361 IN WRITEIMAGE chan: 4 fp: 1883759920 DOne with dumpimage fp: 1883759920 have dumped ch: 4 fp: 1883759920 About to write headers fp: 1883759768 done with navigation--retrieving data ***** Running navigation/calibration at Fri Jan 14 02:18:16 CST 2011 ***** Working on year and julian day (yyddd): 11013 (2011 Jan 13) no H option specified TBMFLAG: compval: 0 reading input header input header has been read satid from header : 2 XX satid: 16 getting time from firstline getting time in gettime in: 7 db 0 d 0 6b 3 dc ab ea year: 2011 day: 13 ymd year: 2011 ymd yeardif: 30 after getheader done with 1792 lines header count: 0 actual: 1792 header will be rewritten output header follows: satid: 16 orbnum: 0 nlines: 1792 julday: 10970 taos: 64793578 NEW PROCESSGENERICGAC year: 2011 input file is : tmp output file is : tmp.p new processraw opening raw file: tmp opening archive file and writing header to tmp.p header written to newdataset dumsat: 3 satid from first line is: 16 year before julianday call: 2011 firstline curday: 13 julian: 10970 time: 64793578 linein: 0 curtime: 64794078 lasttime: 64793578 lastgood: 64793578 timdif: 500 linein: 100 curtime: 64844078 lasttime: 64843578 lastgood: 64843578 timdif: 500 linein: 200 curtime: 64894078 lasttime: 64893578 lastgood: 64893578 timdif: 500 linein: 300 curtime: 64944078 lasttime: 64943578 lastgood: 64943578 timdif: 500 linein: 400 curtime: 64994078 lasttime: 64993578 lastgood: 64993578 timdif: 500 linein: 500 curtime: 65044078 lasttime: 65043578 lastgood: 65043578 timdif: 500 linein: 600 curtime: 65094078 lasttime: 65093578 lastgood: 65093578 timdif: 500 linein: 700 curtime: 65144078 lasttime: 65143578 lastgood: 65143578 timdif: 500 linein: 800 curtime: 65194078 lasttime: 65193578 lastgood: 65193578 timdif: 500 linein: 900 curtime: 65244078 lasttime: 65243578 lastgood: 65243578 timdif: 500 linein: 1000 curtime: 65294078 lasttime: 65293578 lastgood: 65293578 timdif: 500 linein: 1100 curtime: 65344078 lasttime: 65343578 lastgood: 65343578 timdif: 500 linein: 1200 curtime: 65394078 lasttime: 65393578 lastgood: 65393578 timdif: 500 linein: 1300 curtime: 65444078 lasttime: 65443578 lastgood: 65443578 timdif: 500 linein: 1400 curtime: 65494078 lasttime: 65493578 lastgood: 65493578 timdif: 500 linein: 1500 curtime: 65544078 lasttime: 65543578 lastgood: 65543578 timdif: 500 linein: 1600 curtime: 65594078 lasttime: 65593578 lastgood: 65593578 timdif: 500 linein: 1700 curtime: 65644078 lasttime: 65643578 lastgood: 65643578 timdif: 500 could not read line bytes read: 0 error reading line: 1791 archive corect to here will rewrite header correctly cleaning up archive file new header being written as: satid: 16 orbit number: 0 dum: 0 number of lines: 1792 julian day: 10970d time of first scan: 17.998215 processing GAC data satid: 16 orbit number: 0 dum: 0 number of lines: 1792 julian day: 10970d time of first scan: 17.998215 Seasonal correction for julian date 10970.749926 = 0.967361 flag is : S 11/01/13 00:00:00110113000000 year: 11 month: 1 day: 13 dayofyear: 13 file containing coefficients is COEFFS.16 calling openparm16 before sprintf parmfilename: /Users/jkey/nav/cal/calib16.dat i: 0 nu: 2226.179930 i: 1 nu: 782.472410 i: 2 nu: 714.285640 chan: 0 nuc: 2700.114800 A: 1.592459 B: 0.998147 chan: 1 nuc: 917.228900 A: 0.332380 B: 0.998522 chan: 2 nuc: 838.125500 A: 0.674623 B: 0.998363 i: 0 wave:0.000000 i: 1 wave:0.000000 i: 2 wave:2700.114800 i: 3 wave:917.228900 i: 4 wave:838.125500 before look for Z after look for Z about to leave openparm newflag is 1: 1 about to open: tmp.p headstuff: sat: 16 orb: 0 julianday: 10970 taos: 64793578 length of headstuff: 57 headstuff: sat: 16 orb: 0 julianday: 10970 taos: 64793578 0.000 0.000 2700.1148 917.2289 838.1255 length of headstuff: 106 ************** results of initial calibration ******** from header firstday is : 13 arcsize: 5626 in sequence numlines: 1 day: 13 val: 387 arcsize: 5626 in sequence numlines: 2 day: 13 val: 0 realline before: 2 spaceref: 0.000000 targtemp: 296.328269 space rad: 0.000000 -4.500000 -3.610000 average space counts: 990.420000 991.360000 994.380000 average internal counts: 796.440000 399.100000 383.700000 satid: 16 launch_indx: -1 chan: 3 radspace: 0.000000 radtarget: 0.497117 spacebar:990.420000 internalbar: 796.440000 chan: 3 radspace: 0.000000 radtarget: 0.497117 spacebar:990.420000 internalbar: 796.440000 gain: -0.002563 offset: 2.538173 chan: 4 radspace: -4.500000 radtarget: 108.052240 spacebar:991.360000 internalbar: 399.100000 chan: 4 radspace: -4.500000 radtarget: 108.052240 spacebar:991.360000 internalbar: 399.100000 gain: -0.190039 offset: 183.896622 chan: 5 radspace: -3.610000 radtarget: 122.229810 spacebar:994.380000 internalbar: 383.700000 chan: 5 radspace: -3.610000 radtarget: 122.229810 spacebar:994.380000 internalbar: 383.700000 gain: -0.206065 offset: 201.296967 gain after: 0.054946 gain after: 0.054946 gain and offset up to scan line 52 : 0.054946 -2.116006 0.057655 -2.330954 -0.002563 2.538173 -0.190039 183.896622 -0.206065 201.296967 ************************************************************ trouble reading line in main DONE WITH CALIBRATION there were 1792 lines done THIS IS ACTUALLY rawcal15_new AS IT SHOULD BE CALIBRATION FILE: COEFFS.16 RADFLAG: 1 calib_dir: /Users/jkey/nav/cal name of caldatfile is: /Users/jkey/nav/cal/calibnew16.dat have found CENTRAL WAVE in string CENTRAL WAVE NUMBER TABLE 190.000000 230.000000 2638.652000 928.260300 834.449600 230.000000 270.000000 2642.807000 928.828400 834.806600 270.000000 310.000000 2645.899000 929.332300 835.164700 have found SPLIT CAL in string SPLIT CAL TABLE SPLIT GAINS and OFFSETS CHAN 1 count 0-490 gain: 0.052300 offset: -2.016000 CHAN 1 count 491-1023 gain: 0.152800 offset: -51.910000 CHAN 2 count 0-500 gain: 0.051300 offset: -1.943000 CHAN 2 count 501-1023 gain: 0.151000 offset: -51.770000 CHAN 3 count 0-499 gain: 0.028700 offset: -2.043000 CHAN 3 count 500-1023 gain: 0.180600 offset: -78.030000 WE ARE GOING NON LINEAR name of caldatfile is: /Users/jkey/nav/cal/calibnew16.dat have found NON LINEAR in string ABOUT TO READ NON LINEAR MATRIX have READ NON LINEAR MATRIX DONE WITH NON LINEAR STUFF have found NEW COEFFS in string ABOUT TO READ NEW COEFFS i: 0 NUC: 2700.114800 Anew: 1.592459 Bnew: 0.998147 NS: 0.000000 B0: 0.000000 B1: 0.000000 B2: 0.000000 i: 1 NUC: 917.228900 Anew: 0.332380 Bnew: 0.998522 NS: -2.467000 B0: 2.960000 B1: -0.054110 B2: 0.000245 i: 2 NUC: 838.125500 Anew: 0.674623 Bnew: 0.998363 NS: -2.009000 B0: 2.225000 B1: -0.036650 B2: 0.000149 DONE WITH NEW COEFFS calhead: sat: 16 orb: 0 julianday: 10970 taos: 64793578 0.000 0.000 2700.1148 917.2289 838.1255 sOI/Users/jkey/nav/cal/calibnew16.dat calhead: 0.000 0.000 2700.1148 917.2289 838.1255 sOI/Users/jkey/nav/cal/calibnew16.dat wavecent: 0.000000 0.000000 2700.114800 917.228900 838.125500 INVWAVE: 0.000000 size of cal file is: 190164 have read in cal array number of lines 1792 doing raw line: 0 doing raw line: 500 doing raw line: 1000 doing raw line: 1500 TIME calculation WAS REQUESTED SZA calculation WAS REQUESTED LINE and SAMPLE DATA WAS REQUESTED OSCULATING CORRECTIONS WILL BE APPLIED dashv: temp: strlen: 0 dashH: n strlen: 1 AFTER GET OPTIONS GAC DATA OPTION HAS BEEN CHOOSEN AFTER INIT input file has been opened, fp: 1883758400 after openarc fp: 1883758400 sid: 16d orbnum: 0d numscan: 1792d milday: 64793578d *** data header *** satid: 16 orbit number: 0 number of lines: 1792 julian day: 10970 time of first scan: 17.998215 ******************** AFTER INITDATA julday: 10970 taos: 64793578 TIME OF FIRST SCAN : 11/01/13 17:59:54 looking for ephemeris data for taos: 10970.749926 opening ephemeris after opening ephemeris size: 76 *******ephemeris elements ************ satid: 26536 orbit: 65195 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 ecc: 0.001062 argper: 0.364140 ascnode: 0.799605 inclin: 0.275446 ephoc: 110105000000 **************************** ******ephemnot structure follows*******: satid: 26536 orbit: 65195 size: 76 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 eccen: 0.001062 argper: 0.364140 ascenode: 0.799605 inclin: 0.275446 earadius: 6378137.000000 oblat: 0.001083 ***************************************************************** *********epheminit structure follows******* timnot: 10962.000000 smajaxis: 1.132905 decay: -0.000000 eccen: 0.001062 inclin: 1.730681 argper: 2.287962 perrate: -0.000551 longan: 5.024068 nodrate: 0.000201 ,meananom: 1.717550 meanmot: 0.828813 meanmotrate: 0.000000 grav constant: 398598005011040.375000 ***************************************************************** satlat1: 1.045806 satlat2: 1.071013 asnflag: 1 DATA IS ASCENDING **************** INITAILIZATION OVER ****************** dashr: 81.38011 RANGE0: 81.380110 IN SATGEO line: 0 spot: 204 time: 10970.749926 IN SATGEO line: 5 spot: 204 time: 10970.749955 RANGE: 81.380110 Pass is Ascending at start center lat: 90.000000 center lon: 0.000000 range: 81.380110 images will be processed using chunks of 361 lines getting space for 10 bit image image.proj: 8 fpsza: 7047dfd8 fpsaza: 7047e070 opening 135378763.NSS.GHRR.NL.D11013.S1620.E1814.B5315556.GC.N2.1 OPENING chan: 0 fp: 1883759312 opening 135378763.NSS.GHRR.NL.D11013.S1620.E1814.B5315556.GC.N2.2 OPENING chan: 1 fp: 1883759464 opening 135378763.NSS.GHRR.NL.D11013.S1620.E1814.B5315556.GC.N2.3 OPENING chan: 2 fp: 1883759616 opening 135378763.NSS.GHRR.NL.D11013.S1620.E1814.B5315556.GC.N2.4 OPENING chan: 3 fp: 1883759768 opening 135378763.NSS.GHRR.NL.D11013.S1620.E1814.B5315556.GC.N2.5 OPENING chan: 4 fp: 1883759920 getting space for time array getting space for sza array getting space for saza array getting space for satelv array getting space for sataz array ************************************* total bytes malloced is : 4217234 ************************************* ******** current elements follow******** taos: 10970.749926 time: 10970.749926 smajaxis: 7225816.779587 eccentricity: 0.001062 inclin: 1.730734 argper: 1.859804 longan: -5.965656 meananom: 5.493450 trueanom: 5.491940 altitude: 7220404.781570 ********************************************** satpos: 3620819.137147 130200.131317 6241186.705888 satvel: -6014.756900 -2575.991227 3529.009148 satlat: 59.863802 satlon: 2.059397 COMMAND>DASHD: n INTERPOLATION CHOOSEN , every 8 x pixel and every 8 ypixel going through pixels **** before templat: 29.712678 centtodet: 29.878633 CORNERS OF WHOLE IMAGE FOLLOW North West Corner lat: 29.878633 lon: 225.000000 North East Corner lat: 30.063244 lon: 135.159155 South East Corner lat: 30.248190 lon: 45.000000 South West Corner lat: 30.063244 lon: -45.159155 interpolation choosen every 8 i pixels and every 8 j pixels image will be processed in 1 chunks of 361 image lines segment 0 startj: 0 stopj: 361 starti: 0 stopi: 360 numj: 361 north west----- lat: 29.712678 lon: 225.000000 line: -999 spot: -999 north east----- lat: 29.896666 lon: 135.159155 line: -999 spot: -999 south east-----lat: 29.896666 lon: 44.840845 line: -999 spot: -999 south west-----lat: 29.712678 lon: -45.000000 line: -999 spot: -999 doing chunk number: 0 from line: 0 to line: 360 numcelx: 45 numcely: 45 extrai: 0 extraj: 0 ****minline: 1 maxline: 1791 in data aquisiton maxline: 1791 minline: 1 in data aquistion module image is contained within lines : 1 and 1791 data will be processed using 18 chunks of 100 lines in get10 searching data lines 1 to 101 for image lines 0 to 361 in get10 searching data lines 101 to 201 for image lines 0 to 361 in get10 searching data lines 201 to 301 for image lines 0 to 361 in get10 searching data lines 301 to 401 for image lines 0 to 361 in get10 searching data lines 401 to 501 for image lines 0 to 361 in get10 searching data lines 501 to 601 for image lines 0 to 361 in get10 searching data lines 601 to 701 for image lines 0 to 361 in get10 searching data lines 701 to 801 for image lines 0 to 361 in get10 searching data lines 801 to 901 for image lines 0 to 361 in get10 searching data lines 901 to 1001 for image lines 0 to 361 in get10 searching data lines 1001 to 1101 for image lines 0 to 361 in get10 searching data lines 1101 to 1201 for image lines 0 to 361 in get10 searching data lines 1201 to 1301 for image lines 0 to 361 in get10 searching data lines 1301 to 1401 for image lines 0 to 361 in get10 searching data lines 1401 to 1501 for image lines 0 to 361 in get10 searching data lines 1501 to 1601 for image lines 0 to 361 in get10 searching data lines 1601 to 1701 for image lines 0 to 361 Undefined error: 0 eof or error after 1790 lines in get10 searching data lines 1701 to 1801 for image lines 0 to 361 dumping SZA array in dumpother j1: 0 j2: 361 ysize: 361 fpother: 1883758552 writing other type image in dumpother j1: 0 j2: 361 ysize: 361 fpother: 1883758704 writing other type image *************** dashY: y dumping ELEV array in dumpother j1: 0 j2: 361 ysize: 361 fpother: 1883759160 writing other type image dumping AZIM array in dumpother j1: 0 j2: 361 ysize: 361 fpother: 1883759008 writing other type image constructing TIME array in puttime j1: 0 j2: 361 ysize: 361 dumping TIME array in dumpother j1: 0 j2: 361 ysize: 361 fpother: 1883758856 writing other type image nchan: 5 dumping ch: 0 fp: 1883759312 about to dump image number: 0 channel: 1 xsize: 361 ysize: 361 IN WRITEIMAGE chan: 0 fp: 1883759312 DOne with dumpimage fp: 1883759312 have dumped ch: 0 fp: 1883759312 dumping ch: 1 fp: 1883759464 about to dump image number: 1 channel: 2 xsize: 361 ysize: 361 IN WRITEIMAGE chan: 1 fp: 1883759464 DOne with dumpimage fp: 1883759464 have dumped ch: 1 fp: 1883759464 dumping ch: 2 fp: 1883759616 about to dump image number: 2 channel: 3 xsize: 361 ysize: 361 IN WRITEIMAGE chan: 2 fp: 1883759616 DOne with dumpimage fp: 1883759616 have dumped ch: 2 fp: 1883759616 dumping ch: 3 fp: 1883759768 about to dump image number: 3 channel: 4 xsize: 361 ysize: 361 IN WRITEIMAGE chan: 3 fp: 1883759768 DOne with dumpimage fp: 1883759768 have dumped ch: 3 fp: 1883759768 dumping ch: 4 fp: 1883759920 about to dump image number: 4 channel: 5 xsize: 361 ysize: 361 IN WRITEIMAGE chan: 4 fp: 1883759920 DOne with dumpimage fp: 1883759920 have dumped ch: 4 fp: 1883759920 About to write headers fp: 1883759768 done with navigation--retrieving data rm: data.*: No such file or directory ***** Running polar regions subsetting at Fri Jan 14 02:18:17 CST 2011 ***** Working on year and julian day (yyddd): 11013 (2011 Jan 13) command line args: ephemfile: /Users/jkey/nav/ephemeris northlimit: 60.000000 southlimit: -60.000000 data is type: G sds-type is: H region is: O SDS GAC data selected. year: 2011 day: 13 miilsecs: 58822078 before md doy: 13 year: 2011 **julianday: 10970 year: 2011 day: 13 miilsecs: 58822078 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 year: 2011 day: 13 miilsecs: 58822578 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 year: 2011 day: 13 miilsecs: 58823078 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 taos: 58822078 satid: 16 julian day: 10970 nlines: 13735 GOING INTO initorb4 satnum: 16 navsatid: 26536 calling readephem taos: 10970.680811 opening ephemeris after opening ephemeris size: 76 *******ephemeris elements ************ satid: 26536 orbit: 65195 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 ecc: 0.001062 argper: 0.364140 ascnode: 0.799605 inclin: 0.275446 ephoc: 110105000000 **************************** ******ephemnot structure follows*******: satid: 26536 orbit: 65195 size: 76 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 eccen: 0.001062 argper: 0.364140 ascenode: 0.799605 inclin: 0.275446 earadius: 6378137.000000 oblat: 0.001083 ***************************************************************** YEAR HERE: 11 *********epheminit structure follows******* timnot: 10962.000000 smajaxis: 1.132905 decay: -0.000000 eccen: 0.001062 inclin: 1.730681 argper: 2.287962 perrate: -0.000551 longan: 5.024068 nodrate: 0.000201 ,meananom: 1.717550 meanmot: 0.828813 meanmotrate: 0.000000 grav constant: 398598005011040.375000 ***************************************************************** ******** current elements follow******** taos: 10970.680811 time: 10970.680811 smajaxis: 7225816.816953 eccentricity: 0.001062 inclin: 1.730681 argper: 1.863186 longan: -5.531354 meananom: 772.190908 trueanom: 772.189637 altitude: 7219669.232304 ********************************************** ******** current elements follow******** taos: 10970.680811 time: 10970.680811 smajaxis: 7225816.816953 eccentricity: 0.001062 inclin: 1.730681 argper: 1.863186 longan: -5.531354 meananom: 772.190908 trueanom: 772.189637 altitude: 7219669.232304 ********************************************** SPECIFIC DATA: bytesperline: 4608 scanspersec: 2.000000 line : 0 10970.680811 68.175332 19.531010 7215018.702835 Opening data.NORTH1 and writing header line: 0 line : 100 10970.681390 70.788861 15.534085 7214563.841683 line : 200 10970.681968 73.300405 10.422241 7214159.607789 line : 300 10970.682547 75.656922 3.694020 7213807.706213 line : 400 10970.683126 77.769086 -5.376821 7213509.593702 line : 500 10970.683705 79.489088 -17.668613 7213266.469161 line : 600 10970.684283 80.599551 -33.643270 7213079.266050 line : 700 10970.684862 80.875357 -52.074601 7212948.646760 line : 800 10970.685441 80.245427 -69.826938 7212874.999025 line : 900 10970.686019 78.862200 -84.354443 7212858.434395 line : 1000 10970.686598 76.962968 -95.261334 7212898.788795 line : 1100 10970.687177 74.738782 -103.296596 7212995.625133 line : 1200 10970.687756 72.311356 -109.306767 7213148.237963 line : 1300 10970.688334 69.753185 -113.925070 7213355.660117 line : 1400 10970.688913 67.107573 -117.577358 7213616.671265 line : 1500 10970.689492 64.401129 -120.544432 7213929.808302 line : 1600 10970.690070 61.650794 -123.013442 7214293.377463 line : 1700 10970.690649 58.867734 -125.111796 7214705.468034 line : 1800 10970.691228 56.059559 -126.928340 7215163.967546 line : 1900 10970.691806 53.231607 -128.526520 7215666.578275 line : 2000 10970.692385 50.387729 -129.952670 7216210.834903 line : 2100 10970.692964 47.530777 -131.241330 7216794.123167 line : 2200 10970.693543 44.662909 -132.418740 7217413.699308 line : 2300 10970.694121 41.785801 -133.505184 7218066.710140 line : 2400 10970.694700 38.900784 -134.516595 7218750.213547 line : 2500 10970.695279 36.008940 -135.465675 7219461.199212 line : 2600 10970.695857 33.111170 -136.362695 7220196.609379 line : 2700 10970.696436 30.208241 -137.216073 7220953.359474 line : 2800 10970.697015 27.300821 -138.032798 7221728.358374 line : 2900 10970.697593 24.389508 -138.818752 7222518.528152 line : 3000 10970.698172 21.474842 -139.578945 7223320.823128 line : 3100 10970.698751 18.557325 -140.317710 7224132.248044 line : 3200 10970.699330 15.637431 -141.038842 7224949.875227 line : 3300 10970.699908 12.715611 -141.745717 7225770.860581 line : 3400 10970.700487 9.792298 -142.441385 7226592.458286 line : 3500 10970.701066 6.867918 -143.128652 7227412.034099 line : 3600 10970.701644 3.942886 -143.810142 7228227.077142 line : 3700 10970.702223 1.017612 -144.488359 7229035.210111 line : 3800 10970.702802 -1.907497 -145.165739 7229834.197839 line : 3900 10970.703381 -4.832037 -145.844699 7230621.954170 line : 4000 10970.703959 -7.755601 -146.527688 7231396.547116 line : 4100 10970.704538 -10.677783 -147.217238 7232156.202290 line : 4200 10970.705117 -13.598172 -147.916016 7232899.304638 line : 4300 10970.705695 -16.516350 -148.626886 7233624.398473 line : 4400 10970.706274 -19.431888 -149.352980 7234330.185896 line : 4500 10970.706853 -22.344343 -150.097775 7235015.523630 line : 4600 10970.707431 -25.253248 -150.865199 7235679.418376 line : 4700 10970.708010 -28.158110 -151.659746 7236321.020773 line : 4800 10970.708589 -31.058390 -152.486639 7236939.618071 line : 4900 10970.709168 -33.953495 -153.352023 7237534.625647 line : 5000 10970.709746 -36.842756 -154.263224 7238105.577490 line : 5100 10970.710325 -39.725396 -155.229092 7238652.115794 line : 5200 10970.710904 -42.600500 -156.260456 7239173.979824 line : 5300 10970.711482 -45.466956 -157.370752 7239670.994194 line : 5400 10970.712061 -48.323384 -158.576881 7240143.056728 line : 5500 10970.712640 -51.168034 -159.900432 7240590.126072 line : 5600 10970.713218 -53.998631 -161.369430 7241012.209205 line : 5700 10970.713797 -56.812150 -163.020898 7241409.349032 line : 5800 10970.714376 -59.604470 -164.904697 7241781.612204 Opening data.SOUTH1 and writing header line: 5815 line : 5900 10970.714955 -62.369837 -167.089383 7242129.077334 line : 6000 10970.715533 -65.099991 -169.671367 7242451.823752 line : 6100 10970.716112 -67.782711 -172.789473 7242749.920946 line : 6200 10970.716691 -70.399315 -176.648302 7243023.418814 line : 6300 10970.717269 -72.920229 178.444817 7243272.338866 line : 6400 10970.717848 -75.297010 172.025895 7243496.666476 line : 6500 10970.718427 -77.448368 163.417893 7243696.344278 line : 6600 10970.719006 -79.239057 151.768280 7243871.266806 line : 6700 10970.719584 -80.464369 136.494019 7244021.276438 line : 6800 10970.720163 -80.893624 118.443191 7244146.160694 line : 6900 10970.720742 -80.419416 100.478186 7244245.650931 line : 7000 10970.721320 -79.159629 85.387234 7244319.422467 line : 7100 10970.721899 -77.346551 73.913724 7244367.096114 line : 7200 10970.722478 -75.181563 65.437974 7244388.241132 line : 7300 10970.723056 -72.796600 59.111101 7244382.379564 line : 7400 10970.723635 -70.270806 54.267685 7244348.991904 line : 7500 10970.724214 -67.651382 50.453288 7244287.524054 line : 7600 10970.724793 -64.967185 47.367017 7244197.395467 line : 7700 10970.725371 -62.236479 44.808406 7244078.008417 line : 7800 10970.725950 -59.471228 42.641281 7243928.758265 line : 7900 10970.726529 -56.679531 40.770957 7243749.044624 line : 8000 10970.727107 -53.867037 39.130022 7243538.283279 line : 8100 10970.727686 -51.037794 37.669397 7243295.918745 line : 8200 10970.728265 -48.194777 36.352601 7243021.437295 line : 8300 10970.728843 -45.340223 35.151994 7242714.380320 line : 8400 10970.729422 -42.475855 34.046264 7242374.357859 line : 8500 10970.730001 -39.603029 33.018714 7242001.062130 line : 8600 10970.730580 -36.722838 32.056063 7241594.280908 line : 8700 10970.731158 -33.836183 31.147598 7241153.910578 line : 8800 10970.731737 -30.943825 30.284557 7240679.968701 line : 8900 10970.732316 -28.046421 29.459685 7240172.605937 line : 9000 10970.732894 -25.144553 28.666891 7239632.117158 line : 9100 10970.733473 -22.238746 27.900997 7239058.951614 line : 9200 10970.734052 -19.329484 27.157542 7238453.722010 line : 9300 10970.734631 -16.417223 26.432628 7237817.212346 line : 9400 10970.735209 -13.502393 25.722799 7237150.384429 line : 9500 10970.735788 -10.585414 25.024943 7236454.382914 line : 9600 10970.736367 -7.666693 24.336213 7235730.538813 line : 9700 10970.736945 -4.746629 23.653952 7234980.371369 line : 9800 10970.737524 -1.825619 22.975642 7234205.588244 line : 9900 10970.738103 1.095942 22.298840 7233408.083965 line : 10000 10970.738681 4.017661 21.621138 7232589.936611 line : 10100 10970.739260 6.939142 20.940107 7231753.402717 line : 10200 10970.739839 9.859984 20.253246 7230900.910404 line : 10300 10970.740418 12.779783 19.557937 7230035.050769 line : 10400 10970.740996 15.698126 18.851377 7229158.567565 line : 10500 10970.741575 18.614587 18.130519 7228274.345239 line : 10600 10970.742154 21.528726 17.391987 7227385.395402 line : 10700 10970.742732 24.440080 16.631987 7226494.841839 line : 10800 10970.743311 27.348156 15.846190 7225605.904146 line : 10900 10970.743890 30.252421 15.029582 7224721.880142 line : 11000 10970.744468 33.152289 14.176281 7223846.127193 line : 11100 10970.745047 36.047097 13.279294 7222982.042587 line : 11200 10970.745626 38.936088 12.330201 7222133.043139 line : 11300 10970.746205 41.818367 11.318725 7221302.544196 line : 11400 10970.746783 44.692860 10.232155 7220493.938216 line : 11500 10970.747362 47.558241 9.054547 7219710.573122 line : 11600 10970.747941 50.412839 7.765602 7218955.730607 line : 11700 10970.748519 53.254499 6.339056 7218232.604595 line : 11800 10970.749098 56.080374 4.740338 7217544.280056 line : 11900 10970.749677 58.886613 2.923069 7216893.712349 Opening data.NORTH2 and writing header line: 11940 line : 12000 10970.750256 61.667876 0.823735 7216283.707302 line : 12100 10970.750834 64.416548 -1.646613 7215716.902200 line : 12200 10970.751413 67.121451 -4.615538 7215195.747865 line : 12300 10970.751992 69.765625 -8.270436 7214722.491980 line : 12400 10970.752570 72.322419 -12.892490 7214299.163830 line : 12500 10970.753149 74.748457 -18.908139 7213927.560587 line : 12600 10970.753728 76.971117 -26.951372 7213609.235275 line : 12700 10970.754306 78.868475 -37.869220 7213345.486520 line : 12800 10970.754885 80.249223 -52.409078 7213137.350188 line : 12900 10970.755464 80.876019 -70.169012 7212985.592978 line : 13000 10970.756043 80.596929 -88.596852 7212890.708034 line : 13100 10970.756621 79.483697 -104.560101 7212852.912615 line : 13200 10970.757200 77.761598 -116.839993 7212872.147836 line : 13300 10970.757779 75.647788 -125.901686 7212948.080481 line : 13400 10970.758357 73.289835 -132.623531 7213080.106866 line : 13500 10970.758936 70.776907 -137.731014 7213267.358716 line : 13600 10970.759515 68.161958 -141.724924 7213508.710977 line : 13700 10970.760093 65.477115 -144.936238 7213802.791508 could not read line 13732 writing header for file 0 goint into getcorrectsdsvals year: 2011 day: 13 miilsecs: 58822078 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 going into makeheader with taos: 10970.680811 satid: 16 nlines: 1663 IN MAKEHEADER going into first make1btime in make1btime taos: 10970.680811 millsec: 58822078 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 after first make1btime in make1btime taos: 10970.684019 millsec: 59099245 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 DONE WITH MAKEHEADER writing header for file 1 goint into getcorrectsdsvals year: 2011 day: 13 miilsecs: 64793578 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 going into makeheader with taos: 10970.749926 satid: 16 nlines: 1792 IN MAKEHEADER going into first make1btime in make1btime taos: 10970.749926 millsec: 64793578 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 after first make1btime in make1btime taos: 10970.753382 millsec: 65092245 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 DONE WITH MAKEHEADER writing header for file 2 goint into getcorrectsdsvals year: 2011 day: 13 miilsecs: 61731078 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 going into makeheader with taos: 10970.714480 satid: 16 nlines: 1966 IN MAKEHEADER going into first make1btime in make1btime taos: 10970.714480 millsec: 61731078 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 after first make1btime in make1btime taos: 10970.718273 millsec: 62058745 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 DONE WITH MAKEHEADER ***** Running navigation/calibration at Fri Jan 14 02:18:17 CST 2011 ***** Working on year and julian day (yyddd): 11013 (2011 Jan 13) no H option specified TBMFLAG: compval: 0 reading input header input header has been read satid from header : 2 XX satid: 16 getting time from firstline getting time in gettime in: 7 db 0 d 0 6b 3 ad f1 6 year: 2011 day: 13 ymd year: 2011 ymd yeardif: 30 after getheader done with 1966 lines header count: 0 actual: 1966 header will be rewritten output header follows: satid: 16 orbnum: 0 nlines: 1966 julday: 10970 taos: 61731078 NEW PROCESSGENERICGAC year: 2011 input file is : tmp output file is : tmp.p new processraw opening raw file: tmp opening archive file and writing header to tmp.p header written to newdataset dumsat: 3 satid from first line is: 16 year before julianday call: 2011 firstline curday: 13 julian: 10970 time: 61731078 linein: 0 curtime: 61731578 lasttime: 61731078 lastgood: 61731078 timdif: 500 linein: 100 curtime: 61781578 lasttime: 61781078 lastgood: 61781078 timdif: 500 linein: 200 curtime: 61831578 lasttime: 61831078 lastgood: 61831078 timdif: 500 linein: 300 curtime: 61881578 lasttime: 61881078 lastgood: 61881078 timdif: 500 linein: 400 curtime: 61931578 lasttime: 61931078 lastgood: 61931078 timdif: 500 linein: 500 curtime: 61981578 lasttime: 61981078 lastgood: 61981078 timdif: 500 linein: 600 curtime: 62031578 lasttime: 62031078 lastgood: 62031078 timdif: 500 linein: 700 curtime: 62081578 lasttime: 62081078 lastgood: 62081078 timdif: 500 linein: 800 curtime: 62131578 lasttime: 62131078 lastgood: 62131078 timdif: 500 linein: 900 curtime: 62181578 lasttime: 62181078 lastgood: 62181078 timdif: 500 linein: 1000 curtime: 62231578 lasttime: 62231078 lastgood: 62231078 timdif: 500 linein: 1100 curtime: 62281578 lasttime: 62281078 lastgood: 62281078 timdif: 500 linein: 1200 curtime: 62331578 lasttime: 62331078 lastgood: 62331078 timdif: 500 linein: 1300 curtime: 62381578 lasttime: 62381078 lastgood: 62381078 timdif: 500 linein: 1400 curtime: 62431578 lasttime: 62431078 lastgood: 62431078 timdif: 500 linein: 1500 curtime: 62481578 lasttime: 62481078 lastgood: 62481078 timdif: 500 linein: 1600 curtime: 62531578 lasttime: 62531078 lastgood: 62531078 timdif: 500 linein: 1700 curtime: 62581578 lasttime: 62581078 lastgood: 62581078 timdif: 500 linein: 1800 curtime: 62631578 lasttime: 62631078 lastgood: 62631078 timdif: 500 linein: 1900 curtime: 62681578 lasttime: 62681078 lastgood: 62681078 timdif: 500 could not read line bytes read: 0 error reading line: 1965 archive corect to here will rewrite header correctly cleaning up archive file new header being written as: satid: 16 orbit number: 0 dum: 0 number of lines: 1966 julian day: 10970d time of first scan: 17.147522 processing GAC data satid: 16 orbit number: 0 dum: 0 number of lines: 1966 julian day: 10970d time of first scan: 17.147522 Seasonal correction for julian date 10970.714480 = 0.967358 flag is : S 11/01/13 00:00:00110113000000 year: 11 month: 1 day: 13 dayofyear: 13 file containing coefficients is COEFFS.16 calling openparm16 before sprintf parmfilename: /Users/jkey/nav/cal/calib16.dat i: 0 nu: 2226.179930 i: 1 nu: 782.472410 i: 2 nu: 714.285640 chan: 0 nuc: 2700.114800 A: 1.592459 B: 0.998147 chan: 1 nuc: 917.228900 A: 0.332380 B: 0.998522 chan: 2 nuc: 838.125500 A: 0.674623 B: 0.998363 i: 0 wave:0.000000 i: 1 wave:0.000000 i: 2 wave:2700.114800 i: 3 wave:917.228900 i: 4 wave:838.125500 before look for Z after look for Z about to leave openparm newflag is 1: 1 about to open: tmp.p headstuff: sat: 16 orb: 0 julianday: 10970 taos: 61731078 length of headstuff: 57 headstuff: sat: 16 orb: 0 julianday: 10970 taos: 61731078 0.000 0.000 2700.1148 917.2289 838.1255 length of headstuff: 106 ************** results of initial calibration ******** from header firstday is : 13 arcsize: 5626 in sequence numlines: 1 day: 13 val: 414 arcsize: 5626 in sequence numlines: 2 day: 13 val: 0 realline before: 2 spaceref: 0.000000 targtemp: 297.591152 space rad: 0.000000 -4.500000 -3.610000 average space counts: 990.560000 991.380000 994.280000 average internal counts: 786.180000 390.920000 374.500000 satid: 16 launch_indx: -1 chan: 3 radspace: 0.000000 radtarget: 0.525300 spacebar:990.560000 internalbar: 786.180000 chan: 3 radspace: 0.000000 radtarget: 0.525300 spacebar:990.560000 internalbar: 786.180000 gain: -0.002570 offset: 2.545950 chan: 4 radspace: -4.500000 radtarget: 110.136846 spacebar:991.380000 internalbar: 390.920000 chan: 4 radspace: -4.500000 radtarget: 110.136846 spacebar:991.380000 internalbar: 390.920000 gain: -0.190915 offset: 184.769363 chan: 5 radspace: -3.610000 radtarget: 124.390374 spacebar:994.280000 internalbar: 374.500000 chan: 5 radspace: -3.610000 radtarget: 124.390374 spacebar:994.280000 internalbar: 374.500000 gain: -0.206526 offset: 201.734177 gain after: 0.054946 gain after: 0.054946 gain and offset up to scan line 52 : 0.054946 -2.115998 0.057655 -2.330945 -0.002570 2.545950 -0.190915 184.769363 -0.206526 201.734177 ************************************************************ trouble reading line in main DONE WITH CALIBRATION there were 1966 lines done THIS IS ACTUALLY rawcal15_new AS IT SHOULD BE CALIBRATION FILE: COEFFS.16 RADFLAG: 1 calib_dir: /Users/jkey/nav/cal name of caldatfile is: /Users/jkey/nav/cal/calibnew16.dat have found CENTRAL WAVE in string CENTRAL WAVE NUMBER TABLE 190.000000 230.000000 2638.652000 928.260300 834.449600 230.000000 270.000000 2642.807000 928.828400 834.806600 270.000000 310.000000 2645.899000 929.332300 835.164700 have found SPLIT CAL in string SPLIT CAL TABLE SPLIT GAINS and OFFSETS CHAN 1 count 0-490 gain: 0.052300 offset: -2.016000 CHAN 1 count 491-1023 gain: 0.152800 offset: -51.910000 CHAN 2 count 0-500 gain: 0.051300 offset: -1.943000 CHAN 2 count 501-1023 gain: 0.151000 offset: -51.770000 CHAN 3 count 0-499 gain: 0.028700 offset: -2.043000 CHAN 3 count 500-1023 gain: 0.180600 offset: -78.030000 WE ARE GOING NON LINEAR name of caldatfile is: /Users/jkey/nav/cal/calibnew16.dat have found NON LINEAR in string ABOUT TO READ NON LINEAR MATRIX have READ NON LINEAR MATRIX DONE WITH NON LINEAR STUFF have found NEW COEFFS in string ABOUT TO READ NEW COEFFS i: 0 NUC: 2700.114800 Anew: 1.592459 Bnew: 0.998147 NS: 0.000000 B0: 0.000000 B1: 0.000000 B2: 0.000000 i: 1 NUC: 917.228900 Anew: 0.332380 Bnew: 0.998522 NS: -2.467000 B0: 2.960000 B1: -0.054110 B2: 0.000245 i: 2 NUC: 838.125500 Anew: 0.674623 Bnew: 0.998363 NS: -2.009000 B0: 2.225000 B1: -0.036650 B2: 0.000149 DONE WITH NEW COEFFS calhead: sat: 16 orb: 0 julianday: 10970 taos: 61731078 0.000 0.000 2700.1148 917.2289 838.1255 v149/Users/jkey/nav/cal/calibnew16.dat calhead: 0.000 0.000 2700.1148 917.2289 838.1255 v149/Users/jkey/nav/cal/calibnew16.dat wavecent: 0.000000 0.000000 2700.114800 917.228900 838.125500 INVWAVE: 0.000000 size of cal file is: 208608 have read in cal array number of lines 1966 doing raw line: 0 doing raw line: 500 doing raw line: 1000 doing raw line: 1500 TIME calculation WAS REQUESTED SZA calculation WAS REQUESTED LINE and SAMPLE DATA WAS REQUESTED OSCULATING CORRECTIONS WILL BE APPLIED dashv: temp: strlen: 0 dashH: n strlen: 1 AFTER GET OPTIONS GAC DATA OPTION HAS BEEN CHOOSEN AFTER INIT input file has been opened, fp: 1883758400 after openarc fp: 1883758400 sid: 16d orbnum: 0d numscan: 1966d milday: 61731078d *** data header *** satid: 16 orbit number: 0 number of lines: 1966 julian day: 10970 time of first scan: 17.147522 ******************** AFTER INITDATA julday: 10970 taos: 61731078 TIME OF FIRST SCAN : 11/01/13 17:08:51 looking for ephemeris data for taos: 10970.714480 opening ephemeris after opening ephemeris size: 76 *******ephemeris elements ************ satid: 26536 orbit: 65195 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 ecc: 0.001062 argper: 0.364140 ascnode: 0.799605 inclin: 0.275446 ephoc: 110105000000 **************************** ******ephemnot structure follows*******: satid: 26536 orbit: 65195 size: 76 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 eccen: 0.001062 argper: 0.364140 ascenode: 0.799605 inclin: 0.275446 earadius: 6378137.000000 oblat: 0.001083 ***************************************************************** *********epheminit structure follows******* timnot: 10962.000000 smajaxis: 1.132905 decay: -0.000000 eccen: 0.001062 inclin: 1.730681 argper: 2.287962 perrate: -0.000551 longan: 5.024068 nodrate: 0.000201 ,meananom: 1.717550 meanmot: 0.828813 meanmotrate: 0.000000 grav constant: 398598005011040.375000 ***************************************************************** satlat1: -1.046128 satlat2: -1.071257 asnflag: -1 DATA IS DESCENDING **************** INITAILIZATION OVER ****************** dashr: 72.363 RANGE0: 72.363000 IN SATGEO line: 0 spot: 204 time: 10970.714480 IN SATGEO line: 5 spot: 204 time: 10970.714509 RANGE: 72.363000 Pass is Descending at start center lat: -89.999943 center lon: 180.000000 range: 72.363000 images will be processed using chunks of 321 lines getting space for 10 bit image image.proj: 8 fpsza: 7047dfd8 fpsaza: 7047e070 opening 135378763.NSS.GHRR.NL.D11013.S1620.E1814.B5315556.GC.S.1 OPENING chan: 0 fp: 1883759312 opening 135378763.NSS.GHRR.NL.D11013.S1620.E1814.B5315556.GC.S.2 OPENING chan: 1 fp: 1883759464 opening 135378763.NSS.GHRR.NL.D11013.S1620.E1814.B5315556.GC.S.3 OPENING chan: 2 fp: 1883759616 opening 135378763.NSS.GHRR.NL.D11013.S1620.E1814.B5315556.GC.S.4 OPENING chan: 3 fp: 1883759768 opening 135378763.NSS.GHRR.NL.D11013.S1620.E1814.B5315556.GC.S.5 OPENING chan: 4 fp: 1883759920 getting space for time array getting space for sza array getting space for saza array getting space for satelv array getting space for sataz array ************************************* total bytes malloced is : 3453394 ************************************* ******** current elements follow******** taos: 10970.714480 time: 10970.714480 smajaxis: 7225816.798750 eccentricity: 0.001062 inclin: 1.730734 argper: 1.861539 longan: -5.742966 meananom: 2.347440 trueanom: 2.348953 altitude: 7231212.946488 ********************************************** satpos: -3501838.187128 -920429.222405 -6271704.125115 satvel: 5278.583370 3827.315220 -3517.226376 satlat: -60.001290 satlon: -165.273380 COMMAND>DASHD: n INTERPOLATION CHOOSEN , every 8 x pixel and every 8 ypixel going through pixels **** before templat: -36.957736 centtodet: -37.142800 CORNERS OF WHOLE IMAGE FOLLOW North West Corner lat: -37.142800 lon: -45.000061 North East Corner lat: -37.320927 lon: 44.821012 South East Corner lat: -37.499365 lon: 135.000061 South West Corner lat: -37.320826 lon: 225.178988 interpolation choosen every 8 i pixels and every 8 j pixels image will be processed in 1 chunks of 321 image lines segment 0 startj: 0 stopj: 321 starti: 0 stopi: 320 numj: 321 north west----- lat: -36.957736 lon: -45.000061 line: -999 spot: -999 north east----- lat: -37.135539 lon: 44.821012 line: -999 spot: 29 south east-----lat: -37.135438 lon: 135.179109 line: -999 spot: -999 south west-----lat: -36.957635 lon: 224.999939 line: -999 spot: -999 doing chunk number: 0 from line: 0 to line: 320 numcelx: 40 numcely: 40 extrai: 0 extraj: 0 ****minline: 1 maxline: 1965 in data aquisiton maxline: 1965 minline: 1 in data aquistion module image is contained within lines : 1 and 1965 data will be processed using 20 chunks of 100 lines in get10 searching data lines 1 to 101 for image lines 0 to 321 in get10 searching data lines 101 to 201 for image lines 0 to 321 in get10 searching data lines 201 to 301 for image lines 0 to 321 in get10 searching data lines 301 to 401 for image lines 0 to 321 in get10 searching data lines 401 to 501 for image lines 0 to 321 in get10 searching data lines 501 to 601 for image lines 0 to 321 in get10 searching data lines 601 to 701 for image lines 0 to 321 in get10 searching data lines 701 to 801 for image lines 0 to 321 in get10 searching data lines 801 to 901 for image lines 0 to 321 in get10 searching data lines 901 to 1001 for image lines 0 to 321 in get10 searching data lines 1001 to 1101 for image lines 0 to 321 in get10 searching data lines 1101 to 1201 for image lines 0 to 321 in get10 searching data lines 1201 to 1301 for image lines 0 to 321 in get10 searching data lines 1301 to 1401 for image lines 0 to 321 in get10 searching data lines 1401 to 1501 for image lines 0 to 321 in get10 searching data lines 1501 to 1601 for image lines 0 to 321 in get10 searching data lines 1601 to 1701 for image lines 0 to 321 in get10 searching data lines 1701 to 1801 for image lines 0 to 321 in get10 searching data lines 1801 to 1901 for image lines 0 to 321 Undefined error: 0 eof or error after 1964 lines in get10 searching data lines 1901 to 2001 for image lines 0 to 321 dumping SZA array in dumpother j1: 0 j2: 321 ysize: 321 fpother: 1883758552 writing other type image in dumpother j1: 0 j2: 321 ysize: 321 fpother: 1883758704 writing other type image *************** dashY: y dumping ELEV array in dumpother j1: 0 j2: 321 ysize: 321 fpother: 1883759160 writing other type image dumping AZIM array in dumpother j1: 0 j2: 321 ysize: 321 fpother: 1883759008 writing other type image constructing TIME array in puttime j1: 0 j2: 321 ysize: 321 dumping TIME array in dumpother j1: 0 j2: 321 ysize: 321 fpother: 1883758856 writing other type image nchan: 5 dumping ch: 0 fp: 1883759312 about to dump image number: 0 channel: 1 xsize: 321 ysize: 321 IN WRITEIMAGE chan: 0 fp: 1883759312 DOne with dumpimage fp: 1883759312 have dumped ch: 0 fp: 1883759312 dumping ch: 1 fp: 1883759464 about to dump image number: 1 channel: 2 xsize: 321 ysize: 321 IN WRITEIMAGE chan: 1 fp: 1883759464 DOne with dumpimage fp: 1883759464 have dumped ch: 1 fp: 1883759464 dumping ch: 2 fp: 1883759616 about to dump image number: 2 channel: 3 xsize: 321 ysize: 321 IN WRITEIMAGE chan: 2 fp: 1883759616 DOne with dumpimage fp: 1883759616 have dumped ch: 2 fp: 1883759616 dumping ch: 3 fp: 1883759768 about to dump image number: 3 channel: 4 xsize: 321 ysize: 321 IN WRITEIMAGE chan: 3 fp: 1883759768 DOne with dumpimage fp: 1883759768 have dumped ch: 3 fp: 1883759768 dumping ch: 4 fp: 1883759920 about to dump image number: 4 channel: 5 xsize: 321 ysize: 321 IN WRITEIMAGE chan: 4 fp: 1883759920 DOne with dumpimage fp: 1883759920 have dumped ch: 4 fp: 1883759920 About to write headers fp: 1883759768 done with navigation--retrieving data ***** Running polar regions subsetting at Fri Jan 14 02:18:18 CST 2011 ***** Working on year and julian day (yyddd): 11013 (2011 Jan 13) command line args: ephemfile: /Users/jkey/nav/ephemeris northlimit: 60.000000 southlimit: -60.000000 data is type: G sds-type is: H region is: O SDS GAC data selected. year: 2011 day: 13 miilsecs: 65377078 before md doy: 13 year: 2011 **julianday: 10970 year: 2011 day: 13 miilsecs: 65377078 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 year: 2011 day: 13 miilsecs: 65377578 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 year: 2011 day: 13 miilsecs: 65378078 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 taos: 65377078 satid: 16 julian day: 10970 nlines: 11717 GOING INTO initorb4 satnum: 16 navsatid: 26536 calling readephem taos: 10970.756679 opening ephemeris after opening ephemeris size: 76 *******ephemeris elements ************ satid: 26536 orbit: 65195 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 ecc: 0.001062 argper: 0.364140 ascnode: 0.799605 inclin: 0.275446 ephoc: 110105000000 **************************** ******ephemnot structure follows*******: satid: 26536 orbit: 65195 size: 76 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 eccen: 0.001062 argper: 0.364140 ascenode: 0.799605 inclin: 0.275446 earadius: 6378137.000000 oblat: 0.001083 ***************************************************************** YEAR HERE: 11 *********epheminit structure follows******* timnot: 10962.000000 smajaxis: 1.132905 decay: -0.000000 eccen: 0.001062 inclin: 1.730681 argper: 2.287962 perrate: -0.000551 longan: 5.024068 nodrate: 0.000201 ,meananom: 1.717550 meanmot: 0.828813 meanmotrate: 0.000000 grav constant: 398598005011040.375000 ***************************************************************** ******** current elements follow******** taos: 10970.756679 time: 10970.756679 smajaxis: 7225816.775936 eccentricity: 0.001062 inclin: 1.730681 argper: 1.859474 longan: -6.007999 meananom: 778.924654 trueanom: 778.924252 altitude: 7218282.526368 ********************************************** ******** current elements follow******** taos: 10970.756679 time: 10970.756679 smajaxis: 7225816.775936 eccentricity: 0.001062 inclin: 1.730681 argper: 1.859474 longan: -6.007999 meananom: 778.924654 trueanom: 778.924252 altitude: 7218282.526368 ********************************************** SPECIFIC DATA: bytesperline: 4608 scanspersec: 2.000000 line : 0 10970.756679 79.334827 -105.954683 7212852.273079 Opening data.NORTH1 and writing header line: 0 line : 100 10970.757258 77.564825 -117.876702 7212877.198137 line : 200 10970.757837 75.421105 -126.665417 7212958.772335 line : 300 10970.758415 73.044396 -133.197088 7213096.365231 line : 400 10970.758994 70.519321 -138.173986 7213289.082485 line : 500 10970.759573 67.896185 -142.076978 7213535.773865 line : 600 10970.760151 65.205606 -145.223519 7213835.043123 line : 700 10970.760730 62.466868 -147.824173 7214185.259609 line : 800 10970.761309 59.692556 -150.021319 7214584.571549 line : 900 10970.761887 56.891163 -151.913535 7215030.920817 line : 1000 10970.762466 54.068601 -153.570735 7215522.059079 line : 1100 10970.763045 51.229100 -155.043644 7216055.565138 line : 1200 10970.763624 48.375766 -156.369856 7216628.863318 line : 1300 10970.764202 45.510938 -157.577777 7217239.242708 line : 1400 10970.764781 42.636417 -158.689255 7217883.877075 line : 1500 10970.765360 39.753625 -159.721375 7218559.845261 line : 1600 10970.765938 36.863709 -160.687695 7219264.151875 line : 1700 10970.766517 33.967617 -161.599139 7219993.748073 line : 1800 10970.767096 31.066152 -162.464619 7220745.552243 line : 1900 10970.767675 28.160009 -163.291511 7221516.470412 line : 2000 10970.768253 25.249802 -164.085993 7222303.416165 line : 2100 10970.768832 22.336089 -164.853315 7223103.329924 line : 2200 10970.769411 19.419381 -165.597990 7223913.197410 line : 2300 10970.769989 16.500159 -166.323959 7224730.067119 line : 2400 10970.770568 13.578880 -167.034711 7225551.066682 line : 2500 10970.771147 10.655983 -167.733385 7226373.417964 line : 2600 10970.771725 7.731894 -168.422850 7227194.450789 line : 2700 10970.772304 4.807031 -169.105779 7228011.615190 line : 2800 10970.772883 1.881806 -169.784704 7228822.492093 line : 2900 10970.773462 -1.043373 -170.462076 7229624.802377 line : 3000 10970.774040 -3.968102 -171.140314 7230416.414253 line : 3100 10970.774619 -6.891976 -171.821851 7231195.348926 line : 3200 10970.775198 -9.814588 -172.509188 7231959.784548 line : 3300 10970.775776 -12.735529 -173.204948 7232708.058441 line : 3400 10970.776355 -15.654382 -173.911929 7233438.667640 line : 3500 10970.776934 -18.570724 -174.633176 7234150.267776 line : 3600 10970.777512 -21.484116 -175.372056 7234841.670377 line : 3700 10970.778091 -24.394099 -176.132349 7235511.838649 line : 3800 10970.778670 -27.300188 -176.918370 7236159.881839 line : 3900 10970.779249 -30.201860 -177.735107 7236785.048272 line : 4000 10970.779827 -33.098540 -178.588408 7237386.717199 line : 4100 10970.780406 -35.989582 -179.485219 7237964.389564 line : 4200 10970.780985 -38.874248 179.566101 7238517.677848 line : 4300 10970.781563 -41.751666 178.555365 7239046.295133 line : 4400 10970.782142 -44.620788 177.469986 7239550.043526 line : 4500 10970.782721 -47.480325 176.294195 7240028.802133 line : 4600 10970.783300 -50.328648 175.007941 7240482.514716 line : 4700 10970.783878 -53.163658 173.585328 7240911.177218 line : 4800 10970.784457 -55.982579 171.992320 7241314.825304 line : 4900 10970.785036 -58.781662 170.183355 7241693.522099 Opening data.SOUTH1 and writing header line: 4944 line : 5000 10970.785614 -61.555707 168.096176 7242047.346261 line : 5100 10970.786193 -64.297313 165.643826 7242376.380559 line : 5200 10970.786772 -66.995632 162.701975 7242680.701086 line : 5300 10970.787350 -69.634244 159.088600 7242960.367254 line : 5400 10970.787929 -72.187424 154.531593 7243215.412697 line : 5500 10970.788508 -74.613439 148.619738 7243445.837193 line : 5600 10970.789087 -76.842621 140.742779 7243651.599704 line : 5700 10970.789665 -78.758095 130.081079 7243832.612634 line : 5800 10970.790244 -80.175367 115.881948 7243988.737369 line : 5900 10970.790823 -80.860208 98.429471 7244119.781167 line : 6000 10970.791401 -80.650540 80.084582 7244225.495425 line : 6100 10970.791980 -79.600348 63.969448 7244305.575368 line : 6200 10970.792559 -77.926846 51.457534 7244359.661163 line : 6300 10970.793137 -75.849169 42.187328 7244387.340438 line : 6400 10970.793716 -73.519074 35.304927 7244388.152210 line : 6500 10970.794295 -71.028888 30.078826 7244361.592153 line : 6600 10970.794874 -68.433500 25.997302 7244307.119168 line : 6700 10970.795452 -65.766177 22.720338 7244224.163180 line : 6800 10970.796031 -63.047747 20.022279 7244112.134073 line : 6900 10970.796610 -60.291720 17.750816 7243970.431663 line : 7000 10970.797188 -57.507157 15.800789 7243798.456602 line : 7100 10970.797767 -54.700324 14.097844 7243595.622083 line : 7200 10970.798346 -51.875675 12.588195 7243361.366206 line : 7300 10970.798925 -49.036461 11.232098 7243095.164886 line : 7400 10970.799503 -46.185109 9.999607 7242796.545112 line : 7500 10970.800082 -43.323476 8.867748 7242465.098442 line : 7600 10970.800661 -40.453015 7.818603 7242100.494540 line : 7700 10970.801239 -37.574888 6.837983 7241702.494610 line : 7800 10970.801818 -34.690046 5.914488 7241270.964555 line : 7900 10970.802397 -31.799288 5.038834 7240805.887694 line : 8000 10970.802975 -28.903297 4.203358 7240307.376887 line : 8100 10970.803554 -26.002676 3.401656 7239775.685898 line : 8200 10970.804133 -23.097965 2.628301 7239211.219847 line : 8300 10970.804712 -20.189660 1.878639 7238614.544618 line : 8400 10970.805290 -17.278221 1.148620 7237986.395074 line : 8500 10970.805869 -14.364088 0.434667 7237327.681962 line : 8600 10970.806448 -11.447683 -0.266423 7236639.497404 line : 8700 10970.807026 -8.529415 -0.957570 7235923.118855 line : 8800 10970.807605 -5.609687 -1.641478 7235180.011465 line : 8900 10970.808184 -2.688895 -2.320703 7234411.828767 line : 9000 10970.808762 0.232565 -2.997702 7233620.411642 line : 9100 10970.809341 3.154299 -3.674890 7232807.785516 line : 9200 10970.809920 6.075912 -4.354685 7231976.155794 line : 9300 10970.810499 8.997006 -5.039561 7231127.901510 line : 9400 10970.811077 11.917178 -5.732095 7230265.567222 line : 9500 10970.811656 14.836016 -6.435029 7229391.853189 line : 9600 10970.812235 17.753100 -7.151332 7228509.603887 line : 9700 10970.812813 20.667993 -7.884272 7227621.794933 line : 9800 10970.813392 23.580241 -8.637508 7226731.518510 line : 9900 10970.813971 26.489360 -9.415200 7225841.967401 line : 10000 10970.814550 29.394831 -10.222141 7224956.417744 line : 10100 10970.815128 32.296083 -11.063934 7224078.210667 line : 10200 10970.815707 35.192481 -11.947214 7223210.732922 line : 10300 10970.816286 38.083296 -12.879942 7222357.396708 line : 10400 10970.816864 40.967681 -13.871795 7221521.618828 line : 10500 10970.817443 43.844618 -14.934692 7220706.799383 line : 10600 10970.818022 46.712865 -16.083522 7219916.300169 line : 10700 10970.818600 49.570865 -17.337158 7219153.422987 line : 10800 10970.819179 52.416624 -18.719896 7218421.388035 line : 10900 10970.819758 55.247526 -20.263553 7217723.312607 line : 11000 10970.820337 58.060058 -22.010564 7217062.190258 Opening data.NORTH2 and writing header line: 11070 line : 11100 10970.820915 60.849384 -24.018681 7216440.870661 line : 11200 10970.821494 63.608667 -26.368236 7215862.040310 line : 11300 10970.822073 66.327960 -29.173620 7215328.204261 line : 11400 10970.822651 68.992320 -32.601700 7214841.669088 line : 11500 10970.823230 71.578514 -36.901454 7214404.527192 line : 11600 10970.823809 74.049108 -42.450006 7214018.642624 line : 11700 10970.824387 76.341855 -49.814349 7213685.638552 could not read line 11714 writing header for file 0 goint into getcorrectsdsvals year: 2011 day: 13 miilsecs: 65377078 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 going into makeheader with taos: 10970.756679 satid: 16 nlines: 792 IN MAKEHEADER going into first make1btime in make1btime taos: 10970.756679 millsec: 65377078 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 after first make1btime in make1btime taos: 10970.758207 millsec: 65509078 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 DONE WITH MAKEHEADER writing header for file 1 goint into getcorrectsdsvals year: 2011 day: 13 miilsecs: 70913578 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 going into makeheader with taos: 10970.820759 satid: 16 nlines: 644 IN MAKEHEADER going into first make1btime in make1btime taos: 10970.820759 millsec: 70913578 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 after first make1btime in make1btime taos: 10970.822001 millsec: 71020911 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 DONE WITH MAKEHEADER writing header for file 2 goint into getcorrectsdsvals year: 2011 day: 13 miilsecs: 67850578 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 going into makeheader with taos: 10970.785308 satid: 16 nlines: 1967 IN MAKEHEADER going into first make1btime in make1btime taos: 10970.785308 millsec: 67850578 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 after first make1btime in make1btime taos: 10970.789102 millsec: 68178411 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 DONE WITH MAKEHEADER ***** Running navigation/calibration at Fri Jan 14 02:18:19 CST 2011 ***** Working on year and julian day (yyddd): 11013 (2011 Jan 13) no H option specified TBMFLAG: compval: 0 reading input header input header has been read satid from header : 2 XX satid: 16 getting time from firstline getting time in gettime in: 7 db 0 d 0 6b 3 e5 93 36 year: 2011 day: 13 ymd year: 2011 ymd yeardif: 30 after getheader done with 792 lines header count: 0 actual: 792 header will be rewritten output header follows: satid: 16 orbnum: 0 nlines: 792 julday: 10970 taos: 65377078 NEW PROCESSGENERICGAC year: 2011 input file is : tmp output file is : tmp.p new processraw opening raw file: tmp opening archive file and writing header to tmp.p header written to newdataset dumsat: 3 satid from first line is: 16 year before julianday call: 2011 firstline curday: 13 julian: 10970 time: 65377078 linein: 0 curtime: 65377578 lasttime: 65377078 lastgood: 65377078 timdif: 500 linein: 100 curtime: 65427578 lasttime: 65427078 lastgood: 65427078 timdif: 500 linein: 200 curtime: 65477578 lasttime: 65477078 lastgood: 65477078 timdif: 500 linein: 300 curtime: 65527578 lasttime: 65527078 lastgood: 65527078 timdif: 500 linein: 400 curtime: 65577578 lasttime: 65577078 lastgood: 65577078 timdif: 500 linein: 500 curtime: 65627578 lasttime: 65627078 lastgood: 65627078 timdif: 500 linein: 600 curtime: 65677578 lasttime: 65677078 lastgood: 65677078 timdif: 500 linein: 700 curtime: 65727578 lasttime: 65727078 lastgood: 65727078 timdif: 500 could not read line bytes read: 0 error reading line: 791 archive corect to here will rewrite header correctly cleaning up archive file new header being written as: satid: 16 orbit number: 0 dum: 0 number of lines: 792 julian day: 10970d time of first scan: 18.160299 processing GAC data satid: 16 orbit number: 0 dum: 0 number of lines: 792 julian day: 10970d time of first scan: 18.160299 Seasonal correction for julian date 10970.756679 = 0.967362 flag is : S 11/01/13 00:00:00110113000000 year: 11 month: 1 day: 13 dayofyear: 13 file containing coefficients is COEFFS.16 calling openparm16 before sprintf parmfilename: /Users/jkey/nav/cal/calib16.dat i: 0 nu: 2226.179930 i: 1 nu: 782.472410 i: 2 nu: 714.285640 chan: 0 nuc: 2700.114800 A: 1.592459 B: 0.998147 chan: 1 nuc: 917.228900 A: 0.332380 B: 0.998522 chan: 2 nuc: 838.125500 A: 0.674623 B: 0.998363 i: 0 wave:0.000000 i: 1 wave:0.000000 i: 2 wave:2700.114800 i: 3 wave:917.228900 i: 4 wave:838.125500 before look for Z after look for Z about to leave openparm newflag is 1: 1 about to open: tmp.p headstuff: sat: 16 orb: 0 julianday: 10970 taos: 65377078 length of headstuff: 57 headstuff: sat: 16 orb: 0 julianday: 10970 taos: 65377078 0.000 0.000 2700.1148 917.2289 838.1255 length of headstuff: 106 ************** results of initial calibration ******** from header firstday is : 13 arcsize: 5626 in sequence numlines: 1 day: 13 val: 386 arcsize: 5626 in sequence numlines: 2 day: 13 val: 378 arcsize: 5626 in sequence numlines: 3 day: 13 val: 383 arcsize: 5626 in sequence numlines: 4 day: 13 val: 386 arcsize: 5626 in sequence numlines: 5 day: 13 val: 0 realline before: 5 spaceref: 0.000000 targtemp: 296.264988 space rad: 0.000000 -4.500000 -3.610000 average space counts: 990.180000 991.320000 994.520000 average internal counts: 795.840000 400.920000 384.900000 satid: 16 launch_indx: -1 chan: 3 radspace: 0.000000 radtarget: 0.495739 spacebar:990.180000 internalbar: 795.840000 chan: 3 radspace: 0.000000 radtarget: 0.495739 spacebar:990.180000 internalbar: 795.840000 gain: -0.002551 offset: 2.525837 chan: 4 radspace: -4.500000 radtarget: 107.948378 spacebar:991.320000 internalbar: 400.920000 chan: 4 radspace: -4.500000 radtarget: 107.948378 spacebar:991.320000 internalbar: 400.920000 gain: -0.190461 offset: 184.308136 chan: 5 radspace: -3.610000 radtarget: 122.122078 spacebar:994.520000 internalbar: 384.900000 chan: 5 radspace: -3.610000 radtarget: 122.122078 spacebar:994.520000 internalbar: 384.900000 gain: -0.206247 offset: 201.506409 gain after: 0.054946 gain after: 0.054946 gain and offset up to scan line 55 : 0.054946 -2.116008 0.057655 -2.330955 -0.002551 2.525837 -0.190461 184.308136 -0.206247 201.506409 ************************************************************ trouble reading line in main DONE WITH CALIBRATION there were 792 lines done THIS IS ACTUALLY rawcal15_new AS IT SHOULD BE CALIBRATION FILE: COEFFS.16 RADFLAG: 1 calib_dir: /Users/jkey/nav/cal name of caldatfile is: /Users/jkey/nav/cal/calibnew16.dat have found CENTRAL WAVE in string CENTRAL WAVE NUMBER TABLE 190.000000 230.000000 2638.652000 928.260300 834.449600 230.000000 270.000000 2642.807000 928.828400 834.806600 270.000000 310.000000 2645.899000 929.332300 835.164700 have found SPLIT CAL in string SPLIT CAL TABLE SPLIT GAINS and OFFSETS CHAN 1 count 0-490 gain: 0.052300 offset: -2.016000 CHAN 1 count 491-1023 gain: 0.152800 offset: -51.910000 CHAN 2 count 0-500 gain: 0.051300 offset: -1.943000 CHAN 2 count 501-1023 gain: 0.151000 offset: -51.770000 CHAN 3 count 0-499 gain: 0.028700 offset: -2.043000 CHAN 3 count 500-1023 gain: 0.180600 offset: -78.030000 WE ARE GOING NON LINEAR name of caldatfile is: /Users/jkey/nav/cal/calibnew16.dat have found NON LINEAR in string ABOUT TO READ NON LINEAR MATRIX have READ NON LINEAR MATRIX DONE WITH NON LINEAR STUFF have found NEW COEFFS in string ABOUT TO READ NEW COEFFS i: 0 NUC: 2700.114800 Anew: 1.592459 Bnew: 0.998147 NS: 0.000000 B0: 0.000000 B1: 0.000000 B2: 0.000000 i: 1 NUC: 917.228900 Anew: 0.332380 Bnew: 0.998522 NS: -2.467000 B0: 2.960000 B1: -0.054110 B2: 0.000245 i: 2 NUC: 838.125500 Anew: 0.674623 Bnew: 0.998363 NS: -2.009000 B0: 2.225000 B1: -0.036650 B2: 0.000149 DONE WITH NEW COEFFS calhead: sat: 16 orb: 0 julianday: 10970 taos: 65377078 0.000 0.000 2700.1148 917.2289 838.1255 $BX/Users/jkey/nav/cal/calibnew16.dat calhead: 0.000 0.000 2700.1148 917.2289 838.1255 $BX/Users/jkey/nav/cal/calibnew16.dat wavecent: 0.000000 0.000000 2700.114800 917.228900 838.125500 INVWAVE: 0.000000 size of cal file is: 84164 have read in cal array number of lines 792 doing raw line: 0 doing raw line: 500 TIME calculation WAS REQUESTED SZA calculation WAS REQUESTED LINE and SAMPLE DATA WAS REQUESTED OSCULATING CORRECTIONS WILL BE APPLIED dashv: temp: strlen: 0 dashH: n strlen: 1 AFTER GET OPTIONS GAC DATA OPTION HAS BEEN CHOOSEN AFTER INIT input file has been opened, fp: 1883758400 after openarc fp: 1883758400 sid: 16d orbnum: 0d numscan: 792d milday: 65377078d *** data header *** satid: 16 orbit number: 0 number of lines: 792 julian day: 10970 time of first scan: 18.160299 ******************** AFTER INITDATA julday: 10970 taos: 65377078 TIME OF FIRST SCAN : 11/01/13 18:09:37 looking for ephemeris data for taos: 10970.756679 opening ephemeris after opening ephemeris size: 76 *******ephemeris elements ************ satid: 26536 orbit: 65195 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 ecc: 0.001062 argper: 0.364140 ascnode: 0.799605 inclin: 0.275446 ephoc: 110105000000 **************************** ******ephemnot structure follows*******: satid: 26536 orbit: 65195 size: 76 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 eccen: 0.001062 argper: 0.364140 ascenode: 0.799605 inclin: 0.275446 earadius: 6378137.000000 oblat: 0.001083 ***************************************************************** *********epheminit structure follows******* timnot: 10962.000000 smajaxis: 1.132905 decay: -0.000000 eccen: 0.001062 inclin: 1.730681 argper: 2.287962 perrate: -0.000551 longan: 5.024068 nodrate: 0.000201 ,meananom: 1.717550 meanmot: 0.828813 meanmotrate: 0.000000 grav constant: 398598005011040.375000 ***************************************************************** satlat1: 1.383512 satlat2: 1.368410 asnflag: -1 DATA IS DESCENDING **************** INITAILIZATION OVER ****************** dashr: 81.38011 RANGE0: 81.380110 IN SATGEO line: 0 spot: 204 time: 10970.756679 IN SATGEO line: 5 spot: 204 time: 10970.756708 RANGE: 81.380110 Pass is Descending at start center lat: 90.000000 center lon: 0.000000 range: 81.380110 images will be processed using chunks of 361 lines getting space for 10 bit image image.proj: 8 fpsza: 7047dfd8 fpsaza: 7047e070 opening 135378813.NSS.GHRR.NL.D11013.S1809.E1947.B5315657.GC.N1.1 OPENING chan: 0 fp: 1883759312 opening 135378813.NSS.GHRR.NL.D11013.S1809.E1947.B5315657.GC.N1.2 OPENING chan: 1 fp: 1883759464 opening 135378813.NSS.GHRR.NL.D11013.S1809.E1947.B5315657.GC.N1.3 OPENING chan: 2 fp: 1883759616 opening 135378813.NSS.GHRR.NL.D11013.S1809.E1947.B5315657.GC.N1.4 OPENING chan: 3 fp: 1883759768 opening 135378813.NSS.GHRR.NL.D11013.S1809.E1947.B5315657.GC.N1.5 OPENING chan: 4 fp: 1883759920 getting space for time array getting space for sza array getting space for saza array getting space for satelv array getting space for sataz array ************************************* total bytes malloced is : 4217234 ************************************* ******** current elements follow******** taos: 10970.756679 time: 10970.756679 smajaxis: 7225816.775936 eccentricity: 0.001062 inclin: 1.730779 argper: 1.859474 longan: -6.007980 meananom: 6.092861 trueanom: 6.092459 altitude: 7218278.815576 ********************************************** satpos: -369522.942268 -1292537.160350 7086468.683167 satvel: -7153.286687 -1899.239773 -719.489644 satlat: 79.258482 satlon: -105.954683 COMMAND>DASHD: n INTERPOLATION CHOOSEN , every 8 x pixel and every 8 ypixel going through pixels **** before templat: 29.712678 centtodet: 29.878633 CORNERS OF WHOLE IMAGE FOLLOW North West Corner lat: 29.878633 lon: 225.000000 North East Corner lat: 30.063244 lon: 135.159155 South East Corner lat: 30.248190 lon: 45.000000 South West Corner lat: 30.063244 lon: -45.159155 interpolation choosen every 8 i pixels and every 8 j pixels image will be processed in 1 chunks of 361 image lines segment 0 startj: 0 stopj: 361 starti: 0 stopi: 360 numj: 361 north west----- lat: 29.712678 lon: 225.000000 line: -999 spot: -999 north east----- lat: 29.896666 lon: 135.159155 line: -999 spot: -999 south east-----lat: 29.896666 lon: 44.840845 line: -999 spot: -999 south west-----lat: 29.712678 lon: -45.000000 line: -999 spot: -999 doing chunk number: 0 from line: 0 to line: 360 numcelx: 45 numcely: 45 extrai: 0 extraj: 0 ****minline: 0 maxline: 791 in data aquisiton maxline: 791 minline: 0 in data aquistion module image is contained within lines : 1 and 791 data will be processed using 8 chunks of 100 lines in get10 searching data lines 1 to 101 for image lines 0 to 361 in get10 searching data lines 101 to 201 for image lines 0 to 361 in get10 searching data lines 201 to 301 for image lines 0 to 361 in get10 searching data lines 301 to 401 for image lines 0 to 361 in get10 searching data lines 401 to 501 for image lines 0 to 361 in get10 searching data lines 501 to 601 for image lines 0 to 361 in get10 searching data lines 601 to 701 for image lines 0 to 361 Undefined error: 0 eof or error after 790 lines in get10 searching data lines 701 to 801 for image lines 0 to 361 dumping SZA array in dumpother j1: 0 j2: 361 ysize: 361 fpother: 1883758552 writing other type image in dumpother j1: 0 j2: 361 ysize: 361 fpother: 1883758704 writing other type image *************** dashY: y dumping ELEV array in dumpother j1: 0 j2: 361 ysize: 361 fpother: 1883759160 writing other type image dumping AZIM array in dumpother j1: 0 j2: 361 ysize: 361 fpother: 1883759008 writing other type image constructing TIME array in puttime j1: 0 j2: 361 ysize: 361 dumping TIME array in dumpother j1: 0 j2: 361 ysize: 361 fpother: 1883758856 writing other type image nchan: 5 dumping ch: 0 fp: 1883759312 about to dump image number: 0 channel: 1 xsize: 361 ysize: 361 IN WRITEIMAGE chan: 0 fp: 1883759312 DOne with dumpimage fp: 1883759312 have dumped ch: 0 fp: 1883759312 dumping ch: 1 fp: 1883759464 about to dump image number: 1 channel: 2 xsize: 361 ysize: 361 IN WRITEIMAGE chan: 1 fp: 1883759464 DOne with dumpimage fp: 1883759464 have dumped ch: 1 fp: 1883759464 dumping ch: 2 fp: 1883759616 about to dump image number: 2 channel: 3 xsize: 361 ysize: 361 IN WRITEIMAGE chan: 2 fp: 1883759616 DOne with dumpimage fp: 1883759616 have dumped ch: 2 fp: 1883759616 dumping ch: 3 fp: 1883759768 about to dump image number: 3 channel: 4 xsize: 361 ysize: 361 IN WRITEIMAGE chan: 3 fp: 1883759768 DOne with dumpimage fp: 1883759768 have dumped ch: 3 fp: 1883759768 dumping ch: 4 fp: 1883759920 about to dump image number: 4 channel: 5 xsize: 361 ysize: 361 IN WRITEIMAGE chan: 4 fp: 1883759920 DOne with dumpimage fp: 1883759920 have dumped ch: 4 fp: 1883759920 About to write headers fp: 1883759768 done with navigation--retrieving data ***** Running navigation/calibration at Fri Jan 14 02:18:19 CST 2011 ***** Working on year and julian day (yyddd): 11013 (2011 Jan 13) no H option specified TBMFLAG: compval: 0 reading input header input header has been read satid from header : 2 XX satid: 16 getting time from firstline getting time in gettime in: 7 db 0 d 0 6b 4 3a e 2a year: 2011 day: 13 ymd year: 2011 ymd yeardif: 30 after getheader done with 644 lines header count: 0 actual: 644 header will be rewritten output header follows: satid: 16 orbnum: 0 nlines: 644 julday: 10970 taos: 70913578 NEW PROCESSGENERICGAC year: 2011 input file is : tmp output file is : tmp.p new processraw opening raw file: tmp opening archive file and writing header to tmp.p header written to newdataset dumsat: 3 satid from first line is: 16 year before julianday call: 2011 firstline curday: 13 julian: 10970 time: 70913578 linein: 0 curtime: 70914078 lasttime: 70913578 lastgood: 70913578 timdif: 500 linein: 100 curtime: 70964078 lasttime: 70963578 lastgood: 70963578 timdif: 500 linein: 200 curtime: 71014078 lasttime: 71013578 lastgood: 71013578 timdif: 500 linein: 300 curtime: 71064078 lasttime: 71063578 lastgood: 71063578 timdif: 500 linein: 400 curtime: 71114078 lasttime: 71113578 lastgood: 71113578 timdif: 500 linein: 500 curtime: 71164078 lasttime: 71163578 lastgood: 71163578 timdif: 500 linein: 600 curtime: 71214078 lasttime: 71213578 lastgood: 71213578 timdif: 500 could not read line bytes read: 0 error reading line: 643 archive corect to here will rewrite header correctly cleaning up archive file new header being written as: satid: 16 orbit number: 0 dum: 0 number of lines: 644 julian day: 10970d time of first scan: 19.698215 processing GAC data satid: 16 orbit number: 0 dum: 0 number of lines: 644 julian day: 10970d time of first scan: 19.698215 Seasonal correction for julian date 10970.820759 = 0.967368 flag is : S 11/01/13 00:00:00110113000000 year: 11 month: 1 day: 13 dayofyear: 13 file containing coefficients is COEFFS.16 calling openparm16 before sprintf parmfilename: /Users/jkey/nav/cal/calib16.dat i: 0 nu: 2226.179930 i: 1 nu: 782.472410 i: 2 nu: 714.285640 chan: 0 nuc: 2700.114800 A: 1.592459 B: 0.998147 chan: 1 nuc: 917.228900 A: 0.332380 B: 0.998522 chan: 2 nuc: 838.125500 A: 0.674623 B: 0.998363 i: 0 wave:0.000000 i: 1 wave:0.000000 i: 2 wave:2700.114800 i: 3 wave:917.228900 i: 4 wave:838.125500 before look for Z after look for Z about to leave openparm newflag is 1: 1 about to open: tmp.p headstuff: sat: 16 orb: 0 julianday: 10970 taos: 70913578 length of headstuff: 57 headstuff: sat: 16 orb: 0 julianday: 10970 taos: 70913578 0.000 0.000 2700.1148 917.2289 838.1255 length of headstuff: 106 ************** results of initial calibration ******** from header firstday is : 13 arcsize: 5626 in sequence numlines: 1 day: 13 val: 388 arcsize: 5626 in sequence numlines: 2 day: 13 val: 0 realline before: 2 spaceref: 0.000000 targtemp: 296.381267 space rad: 0.000000 -4.500000 -3.610000 average space counts: 990.420000 991.260000 994.320000 average internal counts: 795.940000 398.800000 383.040000 satid: 16 launch_indx: -1 chan: 3 radspace: 0.000000 radtarget: 0.498274 spacebar:990.420000 internalbar: 795.940000 chan: 3 radspace: 0.000000 radtarget: 0.498274 spacebar:990.420000 internalbar: 795.940000 gain: -0.002562 offset: 2.537537 chan: 4 radspace: -4.500000 radtarget: 108.139268 spacebar:991.260000 internalbar: 398.800000 chan: 4 radspace: -4.500000 radtarget: 108.139268 spacebar:991.260000 internalbar: 398.800000 gain: -0.190121 offset: 183.959641 chan: 5 radspace: -3.610000 radtarget: 122.320074 spacebar:994.320000 internalbar: 383.040000 chan: 5 radspace: -3.610000 radtarget: 122.320074 spacebar:994.320000 internalbar: 383.040000 gain: -0.206010 offset: 201.230316 gain after: 0.054947 gain after: 0.054947 gain and offset up to scan line 52 : 0.054947 -2.116021 0.057655 -2.330971 -0.002562 2.537537 -0.190121 183.959641 -0.206010 201.230316 ************************************************************ trouble reading line in main DONE WITH CALIBRATION there were 644 lines done THIS IS ACTUALLY rawcal15_new AS IT SHOULD BE CALIBRATION FILE: COEFFS.16 RADFLAG: 1 calib_dir: /Users/jkey/nav/cal name of caldatfile is: /Users/jkey/nav/cal/calibnew16.dat have found CENTRAL WAVE in string CENTRAL WAVE NUMBER TABLE 190.000000 230.000000 2638.652000 928.260300 834.449600 230.000000 270.000000 2642.807000 928.828400 834.806600 270.000000 310.000000 2645.899000 929.332300 835.164700 have found SPLIT CAL in string SPLIT CAL TABLE SPLIT GAINS and OFFSETS CHAN 1 count 0-490 gain: 0.052300 offset: -2.016000 CHAN 1 count 491-1023 gain: 0.152800 offset: -51.910000 CHAN 2 count 0-500 gain: 0.051300 offset: -1.943000 CHAN 2 count 501-1023 gain: 0.151000 offset: -51.770000 CHAN 3 count 0-499 gain: 0.028700 offset: -2.043000 CHAN 3 count 500-1023 gain: 0.180600 offset: -78.030000 WE ARE GOING NON LINEAR name of caldatfile is: /Users/jkey/nav/cal/calibnew16.dat have found NON LINEAR in string ABOUT TO READ NON LINEAR MATRIX have READ NON LINEAR MATRIX DONE WITH NON LINEAR STUFF have found NEW COEFFS in string ABOUT TO READ NEW COEFFS i: 0 NUC: 2700.114800 Anew: 1.592459 Bnew: 0.998147 NS: 0.000000 B0: 0.000000 B1: 0.000000 B2: 0.000000 i: 1 NUC: 917.228900 Anew: 0.332380 Bnew: 0.998522 NS: -2.467000 B0: 2.960000 B1: -0.054110 B2: 0.000245 i: 2 NUC: 838.125500 Anew: 0.674623 Bnew: 0.998363 NS: -2.009000 B0: 2.225000 B1: -0.036650 B2: 0.000149 DONE WITH NEW COEFFS calhead: sat: 16 orb: 0 julianday: 10970 taos: 70913578 0.000 0.000 2700.1148 917.2289 838.1255 calhead: 0.000 0.000 2700.1148 917.2289 838.1255 wavecent: 0.000000 0.000000 2700.114800 917.228900 838.125500 INVWAVE: 0.000000 size of cal file is: 68476 have read in cal array number of lines 644 doing raw line: 0 doing raw line: 500 TIME calculation WAS REQUESTED SZA calculation WAS REQUESTED LINE and SAMPLE DATA WAS REQUESTED OSCULATING CORRECTIONS WILL BE APPLIED dashv: temp: strlen: 0 dashH: n strlen: 1 AFTER GET OPTIONS GAC DATA OPTION HAS BEEN CHOOSEN AFTER INIT input file has been opened, fp: 1883758400 after openarc fp: 1883758400 sid: 16d orbnum: 0d numscan: 644d milday: 70913578d *** data header *** satid: 16 orbit number: 0 number of lines: 644 julian day: 10970 time of first scan: 19.698215 ******************** AFTER INITDATA julday: 10970 taos: 70913578 TIME OF FIRST SCAN : 11/01/13 19:41:54 looking for ephemeris data for taos: 10970.820759 opening ephemeris after opening ephemeris size: 76 *******ephemeris elements ************ satid: 26536 orbit: 65195 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 ecc: 0.001062 argper: 0.364140 ascnode: 0.799605 inclin: 0.275446 ephoc: 110105000000 **************************** ******ephemnot structure follows*******: satid: 26536 orbit: 65195 size: 76 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 eccen: 0.001062 argper: 0.364140 ascenode: 0.799605 inclin: 0.275446 earadius: 6378137.000000 oblat: 0.001083 ***************************************************************** *********epheminit structure follows******* timnot: 10962.000000 smajaxis: 1.132905 decay: -0.000000 eccen: 0.001062 inclin: 1.730681 argper: 2.287962 perrate: -0.000551 longan: 5.024068 nodrate: 0.000201 ,meananom: 1.717550 meanmot: 0.828813 meanmotrate: 0.000000 grav constant: 398598005011040.375000 ***************************************************************** satlat1: 1.046031 satlat2: 1.071237 asnflag: 1 DATA IS ASCENDING **************** INITAILIZATION OVER ****************** dashr: 81.38011 RANGE0: 81.380110 IN SATGEO line: 0 spot: 204 time: 10970.820759 IN SATGEO line: 5 spot: 204 time: 10970.820788 RANGE: 81.380110 Pass is Ascending at start center lat: 90.000000 center lon: 0.000000 range: 81.380110 images will be processed using chunks of 361 lines getting space for 10 bit image image.proj: 8 fpsza: 7047dfd8 fpsaza: 7047e070 opening 135378813.NSS.GHRR.NL.D11013.S1809.E1947.B5315657.GC.N2.1 OPENING chan: 0 fp: 1883759312 opening 135378813.NSS.GHRR.NL.D11013.S1809.E1947.B5315657.GC.N2.2 OPENING chan: 1 fp: 1883759464 opening 135378813.NSS.GHRR.NL.D11013.S1809.E1947.B5315657.GC.N2.3 OPENING chan: 2 fp: 1883759616 opening 135378813.NSS.GHRR.NL.D11013.S1809.E1947.B5315657.GC.N2.4 OPENING chan: 3 fp: 1883759768 opening 135378813.NSS.GHRR.NL.D11013.S1809.E1947.B5315657.GC.N2.5 OPENING chan: 4 fp: 1883759920 getting space for time array getting space for sza array getting space for saza array getting space for satelv array getting space for sataz array ************************************* total bytes malloced is : 4217234 ************************************* ******** current elements follow******** taos: 10970.820759 time: 10970.820759 smajaxis: 7225816.741293 eccentricity: 0.001062 inclin: 1.730734 argper: 1.856338 longan: -0.127485 meananom: 5.497149 trueanom: 5.495645 altitude: 7220384.646612 ********************************************** satpos: 3322691.122961 -1441074.101681 6241987.685568 satvel: -6538.657460 264.428356 3527.503028 satlat: 59.876768 satlon: -23.446711 COMMAND>DASHD: n INTERPOLATION CHOOSEN , every 8 x pixel and every 8 ypixel going through pixels **** before templat: 29.712678 centtodet: 29.878633 CORNERS OF WHOLE IMAGE FOLLOW North West Corner lat: 29.878633 lon: 225.000000 North East Corner lat: 30.063244 lon: 135.159155 South East Corner lat: 30.248190 lon: 45.000000 South West Corner lat: 30.063244 lon: -45.159155 interpolation choosen every 8 i pixels and every 8 j pixels image will be processed in 1 chunks of 361 image lines segment 0 startj: 0 stopj: 361 starti: 0 stopi: 360 numj: 361 north west----- lat: 29.712678 lon: 225.000000 line: -999 spot: -999 north east----- lat: 29.896666 lon: 135.159155 line: -999 spot: -999 south east-----lat: 29.896666 lon: 44.840845 line: -999 spot: -999 south west-----lat: 29.712678 lon: -45.000000 line: -999 spot: 363 doing chunk number: 0 from line: 0 to line: 360 numcelx: 45 numcely: 45 extrai: 0 extraj: 0 ****minline: 0 maxline: 640 in data aquisiton maxline: 640 minline: 0 in data aquistion module image is contained within lines : 1 and 640 data will be processed using 7 chunks of 100 lines in get10 searching data lines 1 to 101 for image lines 0 to 361 in get10 searching data lines 101 to 201 for image lines 0 to 361 in get10 searching data lines 201 to 301 for image lines 0 to 361 in get10 searching data lines 301 to 401 for image lines 0 to 361 in get10 searching data lines 401 to 501 for image lines 0 to 361 in get10 searching data lines 501 to 601 for image lines 0 to 361 done processing 644 lines in get10 searching data lines 601 to 701 for image lines 0 to 361 dumping SZA array in dumpother j1: 0 j2: 361 ysize: 361 fpother: 1883758552 writing other type image in dumpother j1: 0 j2: 361 ysize: 361 fpother: 1883758704 writing other type image *************** dashY: y dumping ELEV array in dumpother j1: 0 j2: 361 ysize: 361 fpother: 1883759160 writing other type image dumping AZIM array in dumpother j1: 0 j2: 361 ysize: 361 fpother: 1883759008 writing other type image constructing TIME array in puttime j1: 0 j2: 361 ysize: 361 dumping TIME array in dumpother j1: 0 j2: 361 ysize: 361 fpother: 1883758856 writing other type image nchan: 5 dumping ch: 0 fp: 1883759312 about to dump image number: 0 channel: 1 xsize: 361 ysize: 361 IN WRITEIMAGE chan: 0 fp: 1883759312 DOne with dumpimage fp: 1883759312 have dumped ch: 0 fp: 1883759312 dumping ch: 1 fp: 1883759464 about to dump image number: 1 channel: 2 xsize: 361 ysize: 361 IN WRITEIMAGE chan: 1 fp: 1883759464 DOne with dumpimage fp: 1883759464 have dumped ch: 1 fp: 1883759464 dumping ch: 2 fp: 1883759616 about to dump image number: 2 channel: 3 xsize: 361 ysize: 361 IN WRITEIMAGE chan: 2 fp: 1883759616 DOne with dumpimage fp: 1883759616 have dumped ch: 2 fp: 1883759616 dumping ch: 3 fp: 1883759768 about to dump image number: 3 channel: 4 xsize: 361 ysize: 361 IN WRITEIMAGE chan: 3 fp: 1883759768 DOne with dumpimage fp: 1883759768 have dumped ch: 3 fp: 1883759768 dumping ch: 4 fp: 1883759920 about to dump image number: 4 channel: 5 xsize: 361 ysize: 361 IN WRITEIMAGE chan: 4 fp: 1883759920 DOne with dumpimage fp: 1883759920 have dumped ch: 4 fp: 1883759920 About to write headers fp: 1883759768 done with navigation--retrieving data rm: data.*: No such file or directory ***** Running polar regions subsetting at Fri Jan 14 02:18:20 CST 2011 ***** Working on year and julian day (yyddd): 11013 (2011 Jan 13) command line args: ephemfile: /Users/jkey/nav/ephemeris northlimit: 60.000000 southlimit: -60.000000 data is type: G sds-type is: H region is: O SDS GAC data selected. year: 2011 day: 13 miilsecs: 65377078 before md doy: 13 year: 2011 **julianday: 10970 year: 2011 day: 13 miilsecs: 65377078 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 year: 2011 day: 13 miilsecs: 65377578 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 year: 2011 day: 13 miilsecs: 65378078 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 taos: 65377078 satid: 16 julian day: 10970 nlines: 11717 GOING INTO initorb4 satnum: 16 navsatid: 26536 calling readephem taos: 10970.756679 opening ephemeris after opening ephemeris size: 76 *******ephemeris elements ************ satid: 26536 orbit: 65195 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 ecc: 0.001062 argper: 0.364140 ascnode: 0.799605 inclin: 0.275446 ephoc: 110105000000 **************************** ******ephemnot structure follows*******: satid: 26536 orbit: 65195 size: 76 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 eccen: 0.001062 argper: 0.364140 ascenode: 0.799605 inclin: 0.275446 earadius: 6378137.000000 oblat: 0.001083 ***************************************************************** YEAR HERE: 11 *********epheminit structure follows******* timnot: 10962.000000 smajaxis: 1.132905 decay: -0.000000 eccen: 0.001062 inclin: 1.730681 argper: 2.287962 perrate: -0.000551 longan: 5.024068 nodrate: 0.000201 ,meananom: 1.717550 meanmot: 0.828813 meanmotrate: 0.000000 grav constant: 398598005011040.375000 ***************************************************************** ******** current elements follow******** taos: 10970.756679 time: 10970.756679 smajaxis: 7225816.775936 eccentricity: 0.001062 inclin: 1.730681 argper: 1.859474 longan: -6.007999 meananom: 778.924654 trueanom: 778.924252 altitude: 7218282.526368 ********************************************** ******** current elements follow******** taos: 10970.756679 time: 10970.756679 smajaxis: 7225816.775936 eccentricity: 0.001062 inclin: 1.730681 argper: 1.859474 longan: -6.007999 meananom: 778.924654 trueanom: 778.924252 altitude: 7218282.526368 ********************************************** SPECIFIC DATA: bytesperline: 4608 scanspersec: 2.000000 line : 0 10970.756679 79.334827 -105.954683 7212852.273079 Opening data.NORTH1 and writing header line: 0 line : 100 10970.757258 77.564825 -117.876702 7212877.198137 line : 200 10970.757837 75.421105 -126.665417 7212958.772335 line : 300 10970.758415 73.044396 -133.197088 7213096.365231 line : 400 10970.758994 70.519321 -138.173986 7213289.082485 line : 500 10970.759573 67.896185 -142.076978 7213535.773865 line : 600 10970.760151 65.205606 -145.223519 7213835.043123 line : 700 10970.760730 62.466868 -147.824173 7214185.259609 line : 800 10970.761309 59.692556 -150.021319 7214584.571549 line : 900 10970.761887 56.891163 -151.913535 7215030.920817 line : 1000 10970.762466 54.068601 -153.570735 7215522.059079 line : 1100 10970.763045 51.229100 -155.043644 7216055.565138 line : 1200 10970.763624 48.375766 -156.369856 7216628.863318 line : 1300 10970.764202 45.510938 -157.577777 7217239.242708 line : 1400 10970.764781 42.636417 -158.689255 7217883.877075 line : 1500 10970.765360 39.753625 -159.721375 7218559.845261 line : 1600 10970.765938 36.863709 -160.687695 7219264.151875 line : 1700 10970.766517 33.967617 -161.599139 7219993.748073 line : 1800 10970.767096 31.066152 -162.464619 7220745.552243 line : 1900 10970.767675 28.160009 -163.291511 7221516.470412 line : 2000 10970.768253 25.249802 -164.085993 7222303.416165 line : 2100 10970.768832 22.336089 -164.853315 7223103.329924 line : 2200 10970.769411 19.419381 -165.597990 7223913.197410 line : 2300 10970.769989 16.500159 -166.323959 7224730.067119 line : 2400 10970.770568 13.578880 -167.034711 7225551.066682 line : 2500 10970.771147 10.655983 -167.733385 7226373.417964 line : 2600 10970.771725 7.731894 -168.422850 7227194.450789 line : 2700 10970.772304 4.807031 -169.105779 7228011.615190 line : 2800 10970.772883 1.881806 -169.784704 7228822.492093 line : 2900 10970.773462 -1.043373 -170.462076 7229624.802377 line : 3000 10970.774040 -3.968102 -171.140314 7230416.414253 line : 3100 10970.774619 -6.891976 -171.821851 7231195.348926 line : 3200 10970.775198 -9.814588 -172.509188 7231959.784548 line : 3300 10970.775776 -12.735529 -173.204948 7232708.058441 line : 3400 10970.776355 -15.654382 -173.911929 7233438.667640 line : 3500 10970.776934 -18.570724 -174.633176 7234150.267776 line : 3600 10970.777512 -21.484116 -175.372056 7234841.670377 line : 3700 10970.778091 -24.394099 -176.132349 7235511.838649 line : 3800 10970.778670 -27.300188 -176.918370 7236159.881839 line : 3900 10970.779249 -30.201860 -177.735107 7236785.048272 line : 4000 10970.779827 -33.098540 -178.588408 7237386.717199 line : 4100 10970.780406 -35.989582 -179.485219 7237964.389564 line : 4200 10970.780985 -38.874248 179.566101 7238517.677848 line : 4300 10970.781563 -41.751666 178.555365 7239046.295133 line : 4400 10970.782142 -44.620788 177.469986 7239550.043526 line : 4500 10970.782721 -47.480325 176.294195 7240028.802133 line : 4600 10970.783300 -50.328648 175.007941 7240482.514716 line : 4700 10970.783878 -53.163658 173.585328 7240911.177218 line : 4800 10970.784457 -55.982579 171.992320 7241314.825304 line : 4900 10970.785036 -58.781662 170.183355 7241693.522099 Opening data.SOUTH1 and writing header line: 4944 line : 5000 10970.785614 -61.555707 168.096176 7242047.346261 line : 5100 10970.786193 -64.297313 165.643826 7242376.380559 line : 5200 10970.786772 -66.995632 162.701975 7242680.701086 line : 5300 10970.787350 -69.634244 159.088600 7242960.367254 line : 5400 10970.787929 -72.187424 154.531593 7243215.412697 line : 5500 10970.788508 -74.613439 148.619738 7243445.837193 line : 5600 10970.789087 -76.842621 140.742779 7243651.599704 line : 5700 10970.789665 -78.758095 130.081079 7243832.612634 line : 5800 10970.790244 -80.175367 115.881948 7243988.737369 line : 5900 10970.790823 -80.860208 98.429471 7244119.781167 line : 6000 10970.791401 -80.650540 80.084582 7244225.495425 line : 6100 10970.791980 -79.600348 63.969448 7244305.575368 line : 6200 10970.792559 -77.926846 51.457534 7244359.661163 line : 6300 10970.793137 -75.849169 42.187328 7244387.340438 line : 6400 10970.793716 -73.519074 35.304927 7244388.152210 line : 6500 10970.794295 -71.028888 30.078826 7244361.592153 line : 6600 10970.794874 -68.433500 25.997302 7244307.119168 line : 6700 10970.795452 -65.766177 22.720338 7244224.163180 line : 6800 10970.796031 -63.047747 20.022279 7244112.134073 line : 6900 10970.796610 -60.291720 17.750816 7243970.431663 line : 7000 10970.797188 -57.507157 15.800789 7243798.456602 line : 7100 10970.797767 -54.700324 14.097844 7243595.622083 line : 7200 10970.798346 -51.875675 12.588195 7243361.366206 line : 7300 10970.798925 -49.036461 11.232098 7243095.164886 line : 7400 10970.799503 -46.185109 9.999607 7242796.545112 line : 7500 10970.800082 -43.323476 8.867748 7242465.098442 line : 7600 10970.800661 -40.453015 7.818603 7242100.494540 line : 7700 10970.801239 -37.574888 6.837983 7241702.494610 line : 7800 10970.801818 -34.690046 5.914488 7241270.964555 line : 7900 10970.802397 -31.799288 5.038834 7240805.887694 line : 8000 10970.802975 -28.903297 4.203358 7240307.376887 line : 8100 10970.803554 -26.002676 3.401656 7239775.685898 line : 8200 10970.804133 -23.097965 2.628301 7239211.219847 line : 8300 10970.804712 -20.189660 1.878639 7238614.544618 line : 8400 10970.805290 -17.278221 1.148620 7237986.395074 line : 8500 10970.805869 -14.364088 0.434667 7237327.681962 line : 8600 10970.806448 -11.447683 -0.266423 7236639.497404 line : 8700 10970.807026 -8.529415 -0.957570 7235923.118855 line : 8800 10970.807605 -5.609687 -1.641478 7235180.011465 line : 8900 10970.808184 -2.688895 -2.320703 7234411.828767 line : 9000 10970.808762 0.232565 -2.997702 7233620.411642 line : 9100 10970.809341 3.154299 -3.674890 7232807.785516 line : 9200 10970.809920 6.075912 -4.354685 7231976.155794 line : 9300 10970.810499 8.997006 -5.039561 7231127.901510 line : 9400 10970.811077 11.917178 -5.732095 7230265.567222 line : 9500 10970.811656 14.836016 -6.435029 7229391.853189 line : 9600 10970.812235 17.753100 -7.151332 7228509.603887 line : 9700 10970.812813 20.667993 -7.884272 7227621.794933 line : 9800 10970.813392 23.580241 -8.637508 7226731.518510 line : 9900 10970.813971 26.489360 -9.415200 7225841.967401 line : 10000 10970.814550 29.394831 -10.222141 7224956.417744 line : 10100 10970.815128 32.296083 -11.063934 7224078.210667 line : 10200 10970.815707 35.192481 -11.947214 7223210.732922 line : 10300 10970.816286 38.083296 -12.879942 7222357.396708 line : 10400 10970.816864 40.967681 -13.871795 7221521.618828 line : 10500 10970.817443 43.844618 -14.934692 7220706.799383 line : 10600 10970.818022 46.712865 -16.083522 7219916.300169 line : 10700 10970.818600 49.570865 -17.337158 7219153.422987 line : 10800 10970.819179 52.416624 -18.719896 7218421.388035 line : 10900 10970.819758 55.247526 -20.263553 7217723.312607 line : 11000 10970.820337 58.060058 -22.010564 7217062.190258 Opening data.NORTH2 and writing header line: 11070 line : 11100 10970.820915 60.849384 -24.018681 7216440.870661 line : 11200 10970.821494 63.608667 -26.368236 7215862.040310 line : 11300 10970.822073 66.327960 -29.173620 7215328.204261 line : 11400 10970.822651 68.992320 -32.601700 7214841.669088 line : 11500 10970.823230 71.578514 -36.901454 7214404.527192 line : 11600 10970.823809 74.049108 -42.450006 7214018.642624 line : 11700 10970.824387 76.341855 -49.814349 7213685.638552 could not read line 11714 writing header for file 0 goint into getcorrectsdsvals year: 2011 day: 13 miilsecs: 65377078 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 going into makeheader with taos: 10970.756679 satid: 16 nlines: 792 IN MAKEHEADER going into first make1btime in make1btime taos: 10970.756679 millsec: 65377078 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 after first make1btime in make1btime taos: 10970.758207 millsec: 65509078 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 DONE WITH MAKEHEADER writing header for file 1 goint into getcorrectsdsvals year: 2011 day: 13 miilsecs: 70913578 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 going into makeheader with taos: 10970.820759 satid: 16 nlines: 644 IN MAKEHEADER going into first make1btime in make1btime taos: 10970.820759 millsec: 70913578 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 after first make1btime in make1btime taos: 10970.822001 millsec: 71020911 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 DONE WITH MAKEHEADER writing header for file 2 goint into getcorrectsdsvals year: 2011 day: 13 miilsecs: 67850578 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 going into makeheader with taos: 10970.785308 satid: 16 nlines: 1967 IN MAKEHEADER going into first make1btime in make1btime taos: 10970.785308 millsec: 67850578 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 after first make1btime in make1btime taos: 10970.789102 millsec: 68178411 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 DONE WITH MAKEHEADER ***** Running navigation/calibration at Fri Jan 14 02:18:20 CST 2011 ***** Working on year and julian day (yyddd): 11013 (2011 Jan 13) no H option specified TBMFLAG: compval: 0 reading input header input header has been read satid from header : 2 XX satid: 16 getting time from firstline getting time in gettime in: 7 db 0 d 0 6b 4 b 51 52 year: 2011 day: 13 ymd year: 2011 ymd yeardif: 30 after getheader done with 1967 lines header count: 0 actual: 1967 header will be rewritten output header follows: satid: 16 orbnum: 0 nlines: 1967 julday: 10970 taos: 67850578 NEW PROCESSGENERICGAC year: 2011 input file is : tmp output file is : tmp.p new processraw opening raw file: tmp opening archive file and writing header to tmp.p header written to newdataset dumsat: 3 satid from first line is: 16 year before julianday call: 2011 firstline curday: 13 julian: 10970 time: 67850578 linein: 0 curtime: 67851078 lasttime: 67850578 lastgood: 67850578 timdif: 500 linein: 100 curtime: 67901078 lasttime: 67900578 lastgood: 67900578 timdif: 500 linein: 200 curtime: 67951078 lasttime: 67950578 lastgood: 67950578 timdif: 500 linein: 300 curtime: 68001078 lasttime: 68000578 lastgood: 68000578 timdif: 500 linein: 400 curtime: 68051078 lasttime: 68050578 lastgood: 68050578 timdif: 500 linein: 500 curtime: 68101078 lasttime: 68100578 lastgood: 68100578 timdif: 500 linein: 600 curtime: 68151078 lasttime: 68150578 lastgood: 68150578 timdif: 500 linein: 700 curtime: 68201078 lasttime: 68200578 lastgood: 68200578 timdif: 500 linein: 800 curtime: 68251078 lasttime: 68250578 lastgood: 68250578 timdif: 500 linein: 900 curtime: 68301078 lasttime: 68300578 lastgood: 68300578 timdif: 500 linein: 1000 curtime: 68351078 lasttime: 68350578 lastgood: 68350578 timdif: 500 linein: 1100 curtime: 68401078 lasttime: 68400578 lastgood: 68400578 timdif: 500 linein: 1200 curtime: 68451078 lasttime: 68450578 lastgood: 68450578 timdif: 500 linein: 1300 curtime: 68501078 lasttime: 68500578 lastgood: 68500578 timdif: 500 linein: 1400 curtime: 68551078 lasttime: 68550578 lastgood: 68550578 timdif: 500 linein: 1500 curtime: 68601078 lasttime: 68600578 lastgood: 68600578 timdif: 500 linein: 1600 curtime: 68651078 lasttime: 68650578 lastgood: 68650578 timdif: 500 linein: 1700 curtime: 68701078 lasttime: 68700578 lastgood: 68700578 timdif: 500 linein: 1800 curtime: 68751078 lasttime: 68750578 lastgood: 68750578 timdif: 500 linein: 1900 curtime: 68801078 lasttime: 68800578 lastgood: 68800578 timdif: 500 could not read line bytes read: 0 error reading line: 1966 archive corect to here will rewrite header correctly cleaning up archive file new header being written as: satid: 16 orbit number: 0 dum: 0 number of lines: 1967 julian day: 10970d time of first scan: 18.847382 processing GAC data satid: 16 orbit number: 0 dum: 0 number of lines: 1967 julian day: 10970d time of first scan: 18.847382 Seasonal correction for julian date 10970.785308 = 0.967365 flag is : S 11/01/13 00:00:00110113000000 year: 11 month: 1 day: 13 dayofyear: 13 file containing coefficients is COEFFS.16 calling openparm16 before sprintf parmfilename: /Users/jkey/nav/cal/calib16.dat i: 0 nu: 2226.179930 i: 1 nu: 782.472410 i: 2 nu: 714.285640 chan: 0 nuc: 2700.114800 A: 1.592459 B: 0.998147 chan: 1 nuc: 917.228900 A: 0.332380 B: 0.998522 chan: 2 nuc: 838.125500 A: 0.674623 B: 0.998363 i: 0 wave:0.000000 i: 1 wave:0.000000 i: 2 wave:2700.114800 i: 3 wave:917.228900 i: 4 wave:838.125500 before look for Z after look for Z about to leave openparm newflag is 1: 1 about to open: tmp.p headstuff: sat: 16 orb: 0 julianday: 10970 taos: 67850578 length of headstuff: 57 headstuff: sat: 16 orb: 0 julianday: 10970 taos: 67850578 0.000 0.000 2700.1148 917.2289 838.1255 length of headstuff: 106 ************** results of initial calibration ******** from header firstday is : 13 arcsize: 5626 in sequence numlines: 1 day: 13 val: 408 arcsize: 5626 in sequence numlines: 2 day: 13 val: 413 arcsize: 5626 in sequence numlines: 3 day: 13 val: 0 realline before: 3 spaceref: 0.000000 targtemp: 297.517335 space rad: 0.000000 -4.500000 -3.610000 average space counts: 990.540000 991.160000 994.280000 average internal counts: 786.880000 391.560000 375.140000 satid: 16 launch_indx: -1 chan: 3 radspace: 0.000000 radtarget: 0.523616 spacebar:990.540000 internalbar: 786.880000 chan: 3 radspace: 0.000000 radtarget: 0.523616 spacebar:990.540000 internalbar: 786.880000 gain: -0.002571 offset: 2.546710 chan: 4 radspace: -4.500000 radtarget: 110.014377 spacebar:991.160000 internalbar: 391.560000 chan: 4 radspace: -4.500000 radtarget: 110.014377 spacebar:991.160000 internalbar: 391.560000 gain: -0.190985 offset: 184.796310 chan: 5 radspace: -3.610000 radtarget: 124.263531 spacebar:994.280000 internalbar: 375.140000 chan: 5 radspace: -3.610000 radtarget: 124.263531 spacebar:994.280000 internalbar: 375.140000 gain: -0.206534 offset: 201.742737 gain after: 0.054946 gain after: 0.054946 gain and offset up to scan line 53 : 0.054946 -2.116014 0.057655 -2.330962 -0.002571 2.546710 -0.190985 184.796310 -0.206534 201.742737 ************************************************************ trouble reading line in main DONE WITH CALIBRATION there were 1967 lines done THIS IS ACTUALLY rawcal15_new AS IT SHOULD BE CALIBRATION FILE: COEFFS.16 RADFLAG: 1 calib_dir: /Users/jkey/nav/cal name of caldatfile is: /Users/jkey/nav/cal/calibnew16.dat have found CENTRAL WAVE in string CENTRAL WAVE NUMBER TABLE 190.000000 230.000000 2638.652000 928.260300 834.449600 230.000000 270.000000 2642.807000 928.828400 834.806600 270.000000 310.000000 2645.899000 929.332300 835.164700 have found SPLIT CAL in string SPLIT CAL TABLE SPLIT GAINS and OFFSETS CHAN 1 count 0-490 gain: 0.052300 offset: -2.016000 CHAN 1 count 491-1023 gain: 0.152800 offset: -51.910000 CHAN 2 count 0-500 gain: 0.051300 offset: -1.943000 CHAN 2 count 501-1023 gain: 0.151000 offset: -51.770000 CHAN 3 count 0-499 gain: 0.028700 offset: -2.043000 CHAN 3 count 500-1023 gain: 0.180600 offset: -78.030000 WE ARE GOING NON LINEAR name of caldatfile is: /Users/jkey/nav/cal/calibnew16.dat have found NON LINEAR in string ABOUT TO READ NON LINEAR MATRIX have READ NON LINEAR MATRIX DONE WITH NON LINEAR STUFF have found NEW COEFFS in string ABOUT TO READ NEW COEFFS i: 0 NUC: 2700.114800 Anew: 1.592459 Bnew: 0.998147 NS: 0.000000 B0: 0.000000 B1: 0.000000 B2: 0.000000 i: 1 NUC: 917.228900 Anew: 0.332380 Bnew: 0.998522 NS: -2.467000 B0: 2.960000 B1: -0.054110 B2: 0.000245 i: 2 NUC: 838.125500 Anew: 0.674623 Bnew: 0.998363 NS: -2.009000 B0: 2.225000 B1: -0.036650 B2: 0.000149 DONE WITH NEW COEFFS calhead: sat: 16 orb: 0 julianday: 10970 taos: 67850578 0.000 0.000 2700.1148 917.2289 838.1255 Ca㇦/Users/jkey/nav/cal/calibnew16.dat calhead: 0.000 0.000 2700.1148 917.2289 838.1255 Ca㇦/Users/jkey/nav/cal/calibnew16.dat wavecent: 0.000000 0.000000 2700.114800 917.228900 838.125500 INVWAVE: 0.000000 size of cal file is: 208714 have read in cal array number of lines 1967 doing raw line: 0 doing raw line: 500 doing raw line: 1000 doing raw line: 1500 TIME calculation WAS REQUESTED SZA calculation WAS REQUESTED LINE and SAMPLE DATA WAS REQUESTED OSCULATING CORRECTIONS WILL BE APPLIED dashv: temp: strlen: 0 dashH: n strlen: 1 AFTER GET OPTIONS GAC DATA OPTION HAS BEEN CHOOSEN AFTER INIT input file has been opened, fp: 1883758400 after openarc fp: 1883758400 sid: 16d orbnum: 0d numscan: 1967d milday: 67850578d *** data header *** satid: 16 orbit number: 0 number of lines: 1967 julian day: 10970 time of first scan: 18.847382 ******************** AFTER INITDATA julday: 10970 taos: 67850578 TIME OF FIRST SCAN : 11/01/13 18:50:51 looking for ephemeris data for taos: 10970.785308 opening ephemeris after opening ephemeris size: 76 *******ephemeris elements ************ satid: 26536 orbit: 65195 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 ecc: 0.001062 argper: 0.364140 ascnode: 0.799605 inclin: 0.275446 ephoc: 110105000000 **************************** ******ephemnot structure follows*******: satid: 26536 orbit: 65195 size: 76 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 eccen: 0.001062 argper: 0.364140 ascenode: 0.799605 inclin: 0.275446 earadius: 6378137.000000 oblat: 0.001083 ***************************************************************** *********epheminit structure follows******* timnot: 10962.000000 smajaxis: 1.132905 decay: -0.000000 eccen: 0.001062 inclin: 1.730681 argper: 2.287962 perrate: -0.000551 longan: 5.024068 nodrate: 0.000201 ,meananom: 1.717550 meanmot: 0.828813 meanmotrate: 0.000000 grav constant: 398598005011040.375000 ***************************************************************** satlat1: -1.045857 satlat2: -1.070988 asnflag: -1 DATA IS DESCENDING **************** INITAILIZATION OVER ****************** dashr: 72.363 RANGE0: 72.363000 IN SATGEO line: 0 spot: 204 time: 10970.785308 IN SATGEO line: 5 spot: 204 time: 10970.785337 RANGE: 72.363000 Pass is Descending at start center lat: -89.999943 center lon: 180.000000 range: 72.363000 images will be processed using chunks of 321 lines getting space for 10 bit image image.proj: 8 fpsza: 7047dfd8 fpsaza: 7047e070 opening 135378813.NSS.GHRR.NL.D11013.S1809.E1947.B5315657.GC.S.1 OPENING chan: 0 fp: 1883759312 opening 135378813.NSS.GHRR.NL.D11013.S1809.E1947.B5315657.GC.S.2 OPENING chan: 1 fp: 1883759464 opening 135378813.NSS.GHRR.NL.D11013.S1809.E1947.B5315657.GC.S.3 OPENING chan: 2 fp: 1883759616 opening 135378813.NSS.GHRR.NL.D11013.S1809.E1947.B5315657.GC.S.4 OPENING chan: 3 fp: 1883759768 opening 135378813.NSS.GHRR.NL.D11013.S1809.E1947.B5315657.GC.S.5 OPENING chan: 4 fp: 1883759920 getting space for time array getting space for sza array getting space for saza array getting space for satelv array getting space for sataz array ************************************* total bytes malloced is : 3453394 ************************************* ******** current elements follow******** taos: 10970.785308 time: 10970.785308 smajaxis: 7225816.760459 eccentricity: 0.001062 inclin: 1.730734 argper: 1.858073 longan: -6.187944 meananom: 2.350625 trueanom: 2.352134 altitude: 7231230.242487 ********************************************** satpos: -3558811.970306 676199.766077 -6270740.761407 satvel: 6410.934366 1182.699142 -3519.031719 satlat: -59.985817 satlon: 169.241637 COMMAND>DASHD: n INTERPOLATION CHOOSEN , every 8 x pixel and every 8 ypixel going through pixels **** before templat: -36.957736 centtodet: -37.142800 CORNERS OF WHOLE IMAGE FOLLOW North West Corner lat: -37.142800 lon: -45.000061 North East Corner lat: -37.320927 lon: 44.821012 South East Corner lat: -37.499365 lon: 135.000061 South West Corner lat: -37.320826 lon: 225.178988 interpolation choosen every 8 i pixels and every 8 j pixels image will be processed in 1 chunks of 321 image lines segment 0 startj: 0 stopj: 321 starti: 0 stopi: 320 numj: 321 north west----- lat: -36.957736 lon: -45.000061 line: -999 spot: -999 north east----- lat: -37.135539 lon: 44.821012 line: -999 spot: -999 south east-----lat: -37.135438 lon: 135.179109 line: -999 spot: -999 south west-----lat: -36.957635 lon: 224.999939 line: -999 spot: -999 doing chunk number: 0 from line: 0 to line: 320 numcelx: 40 numcely: 40 extrai: 0 extraj: 0 ****minline: 4 maxline: 1965 in data aquisiton maxline: 1965 minline: 4 in data aquistion module image is contained within lines : 4 and 1965 data will be processed using 20 chunks of 100 lines in get10 searching data lines 4 to 104 for image lines 0 to 321 in get10 searching data lines 104 to 204 for image lines 0 to 321 in get10 searching data lines 204 to 304 for image lines 0 to 321 in get10 searching data lines 304 to 404 for image lines 0 to 321 in get10 searching data lines 404 to 504 for image lines 0 to 321 in get10 searching data lines 504 to 604 for image lines 0 to 321 in get10 searching data lines 604 to 704 for image lines 0 to 321 in get10 searching data lines 704 to 804 for image lines 0 to 321 in get10 searching data lines 804 to 904 for image lines 0 to 321 in get10 searching data lines 904 to 1004 for image lines 0 to 321 in get10 searching data lines 1004 to 1104 for image lines 0 to 321 in get10 searching data lines 1104 to 1204 for image lines 0 to 321 in get10 searching data lines 1204 to 1304 for image lines 0 to 321 in get10 searching data lines 1304 to 1404 for image lines 0 to 321 in get10 searching data lines 1404 to 1504 for image lines 0 to 321 in get10 searching data lines 1504 to 1604 for image lines 0 to 321 in get10 searching data lines 1604 to 1704 for image lines 0 to 321 in get10 searching data lines 1704 to 1804 for image lines 0 to 321 in get10 searching data lines 1804 to 1904 for image lines 0 to 321 done processing 1967 lines in get10 searching data lines 1904 to 2004 for image lines 0 to 321 dumping SZA array in dumpother j1: 0 j2: 321 ysize: 321 fpother: 1883758552 writing other type image in dumpother j1: 0 j2: 321 ysize: 321 fpother: 1883758704 writing other type image *************** dashY: y dumping ELEV array in dumpother j1: 0 j2: 321 ysize: 321 fpother: 1883759160 writing other type image dumping AZIM array in dumpother j1: 0 j2: 321 ysize: 321 fpother: 1883759008 writing other type image constructing TIME array in puttime j1: 0 j2: 321 ysize: 321 dumping TIME array in dumpother j1: 0 j2: 321 ysize: 321 fpother: 1883758856 writing other type image nchan: 5 dumping ch: 0 fp: 1883759312 about to dump image number: 0 channel: 1 xsize: 321 ysize: 321 IN WRITEIMAGE chan: 0 fp: 1883759312 DOne with dumpimage fp: 1883759312 have dumped ch: 0 fp: 1883759312 dumping ch: 1 fp: 1883759464 about to dump image number: 1 channel: 2 xsize: 321 ysize: 321 IN WRITEIMAGE chan: 1 fp: 1883759464 DOne with dumpimage fp: 1883759464 have dumped ch: 1 fp: 1883759464 dumping ch: 2 fp: 1883759616 about to dump image number: 2 channel: 3 xsize: 321 ysize: 321 IN WRITEIMAGE chan: 2 fp: 1883759616 DOne with dumpimage fp: 1883759616 have dumped ch: 2 fp: 1883759616 dumping ch: 3 fp: 1883759768 about to dump image number: 3 channel: 4 xsize: 321 ysize: 321 IN WRITEIMAGE chan: 3 fp: 1883759768 DOne with dumpimage fp: 1883759768 have dumped ch: 3 fp: 1883759768 dumping ch: 4 fp: 1883759920 about to dump image number: 4 channel: 5 xsize: 321 ysize: 321 IN WRITEIMAGE chan: 4 fp: 1883759920 DOne with dumpimage fp: 1883759920 have dumped ch: 4 fp: 1883759920 About to write headers fp: 1883759768 done with navigation--retrieving data ***** Running polar regions subsetting at Fri Jan 14 02:18:21 CST 2011 ***** Working on year and julian day (yyddd): 11013 (2011 Jan 13) command line args: ephemfile: /Users/jkey/nav/ephemeris northlimit: 60.000000 southlimit: -60.000000 data is type: G sds-type is: H region is: O SDS GAC data selected. year: 2011 day: 13 miilsecs: 70922078 before md doy: 13 year: 2011 **julianday: 10970 year: 2011 day: 13 miilsecs: 70922078 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 year: 2011 day: 13 miilsecs: 70922578 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 year: 2011 day: 13 miilsecs: 70923078 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 taos: 70922078 satid: 16 julian day: 10970 nlines: 13738 GOING INTO initorb4 satnum: 16 navsatid: 26536 calling readephem taos: 10970.820857 opening ephemeris after opening ephemeris size: 76 *******ephemeris elements ************ satid: 26536 orbit: 65195 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 ecc: 0.001062 argper: 0.364140 ascnode: 0.799605 inclin: 0.275446 ephoc: 110105000000 **************************** ******ephemnot structure follows*******: satid: 26536 orbit: 65195 size: 76 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 eccen: 0.001062 argper: 0.364140 ascenode: 0.799605 inclin: 0.275446 earadius: 6378137.000000 oblat: 0.001083 ***************************************************************** YEAR HERE: 11 *********epheminit structure follows******* timnot: 10962.000000 smajaxis: 1.132905 decay: -0.000000 eccen: 0.001062 inclin: 1.730681 argper: 2.287962 perrate: -0.000551 longan: 5.024068 nodrate: 0.000201 ,meananom: 1.717550 meanmot: 0.828813 meanmotrate: 0.000000 grav constant: 398598005011040.375000 ***************************************************************** ******** current elements follow******** taos: 10970.820857 time: 10970.820857 smajaxis: 7225816.741240 eccentricity: 0.001062 inclin: 1.730681 argper: 1.856333 longan: -0.128018 meananom: 784.620859 trueanom: 784.619368 altitude: 7220351.322502 ********************************************** ******** current elements follow******** taos: 10970.820857 time: 10970.820857 smajaxis: 7225816.741240 eccentricity: 0.001062 inclin: 1.730681 argper: 1.856333 longan: -0.128018 meananom: 784.620859 trueanom: 784.619368 altitude: 7220351.322502 ********************************************** SPECIFIC DATA: bytesperline: 4608 scanspersec: 2.000000 line : 0 10970.820857 60.571695 -23.804069 7216501.128166 Opening data.NORTH1 and writing header line: 0 line : 100 10970.821436 63.334367 -26.115015 7215917.933420 line : 200 10970.822015 66.058229 -28.868364 7215379.491153 line : 300 10970.822593 68.728956 -32.224631 7214888.128514 line : 400 10970.823172 71.324352 -36.422818 7214445.959985 line : 500 10970.823751 73.808783 -41.824630 7214054.873041 line : 600 10970.824330 76.123154 -48.975280 7213716.515451 line : 700 10970.824908 78.167849 -58.647931 7213432.284316 line : 800 10970.825487 79.780228 -71.707041 7213203.316959 line : 900 10970.826066 80.732210 -88.376997 7213030.483751 line : 1000 10970.826644 80.816234 -106.954595 7212914.382924 line : 1100 10970.827223 80.010315 -124.171053 7212855.337434 line : 1200 10970.827802 78.499831 -137.912857 7212853.393899 line : 1300 10970.828381 76.519236 -148.143575 7212908.323598 line : 1400 10970.828959 74.244427 -155.690709 7213019.625541 line : 1500 10970.829538 71.784850 -161.364875 7213186.531567 line : 1600 10970.830117 69.205488 -165.751462 7213408.013412 line : 1700 10970.830695 66.545342 -169.240826 7213682.791675 line : 1800 10970.831274 63.828549 -172.090537 7214009.346601 line : 1900 10970.831853 61.070590 -174.472941 7214385.930560 line : 2000 10970.832431 58.281742 -176.505945 7214810.582104 line : 2100 10970.833010 55.469055 -178.272191 7215281.141465 line : 2200 10970.833589 52.637503 -179.830977 7215795.267329 line : 2300 10970.834168 49.790695 178.774199 7216350.454747 line : 2400 10970.834746 46.931315 177.510776 7216944.053974 line : 2500 10970.835325 44.061406 176.353927 7217573.290091 line : 2600 10970.835904 41.182564 175.284390 7218235.283191 line : 2700 10970.836482 38.296058 174.286992 7218927.068959 line : 2800 10970.837061 35.402930 173.349594 7219645.619439 line : 2900 10970.837640 32.504047 172.462358 7220387.863801 line : 3000 10970.838218 29.600154 171.617194 7221150.708913 line : 3100 10970.838797 26.691903 170.807368 7221931.059529 line : 3200 10970.839376 23.779876 170.027201 7222725.837921 line : 3300 10970.839955 20.864607 169.271836 7223532.002764 line : 3400 10970.840533 17.946589 168.537065 7224346.567126 line : 3500 10970.841112 15.026291 167.819189 7225166.615408 line : 3600 10970.841691 12.104160 167.114909 7225989.319082 line : 3700 10970.842269 9.180628 166.421229 7226811.951120 line : 3800 10970.842848 6.256117 165.735390 7227631.898986 line : 3900 10970.843427 3.331040 165.054795 7228446.676109 line : 4000 10970.844006 0.405808 164.376959 7229253.931760 line : 4100 10970.844584 -2.519175 163.699456 7230051.459270 line : 4200 10970.845163 -5.443502 163.019864 7230837.202547 line : 4300 10970.845742 -8.366769 162.335723 7231609.260879 line : 4400 10970.846320 -11.288567 161.644477 7232365.892013 line : 4500 10970.846899 -14.208486 160.943423 7233105.513526 line : 4600 10970.847478 -17.126105 160.229646 7233826.702528 line : 4700 10970.848056 -20.040993 159.499951 7234528.193734 line : 4800 10970.848635 -22.952702 158.750775 7235208.875994 line : 4900 10970.849214 -25.860762 157.978084 7235867.787338 line : 5000 10970.849793 -28.764670 157.177243 7236504.108662 line : 5100 10970.850371 -31.663879 156.342858 7237117.156144 line : 5200 10970.850950 -34.557780 155.468559 7237706.372533 line : 5300 10970.851529 -37.445686 154.546734 7238271.317423 line : 5400 10970.852107 -40.326794 153.568162 7238811.656691 line : 5500 10970.852686 -43.200152 152.521528 7239327.151207 line : 5600 10970.853265 -46.064601 151.392754 7239817.645015 line : 5700 10970.853843 -48.918692 150.164074 7240283.053119 line : 5800 10970.854422 -51.760581 148.812724 7240723.349048 line : 5900 10970.855001 -54.587858 147.309043 7241138.552366 line : 6000 10970.855580 -57.397302 145.613701 7241528.716288 Opening data.SOUTH1 and writing header line: 6094 line : 6100 10970.856158 -60.184506 143.673502 7241893.915563 line : 6200 10970.856737 -62.943278 141.414974 7242234.234774 line : 6300 10970.857316 -65.664678 138.734283 7242549.757212 line : 6400 10970.857894 -68.335389 135.481177 7242840.554466 line : 6500 10970.858473 -70.934910 131.433206 7243106.676853 line : 6600 10970.859052 -73.430545 126.255324 7243348.144805 line : 6700 10970.859631 -75.768395 119.442973 7243564.941347 line : 6800 10970.860209 -77.857830 110.272419 7243757.005727 line : 6900 10970.860788 -79.549566 97.888088 7243924.228306 line : 7000 10970.861367 -80.626397 81.891208 7244066.446763 line : 7100 10970.861945 -80.868549 63.576894 7244183.443666 line : 7200 10970.862524 -80.214004 46.039913 7244274.945447 line : 7300 10970.863103 -78.819067 31.709823 7244340.622799 line : 7400 10970.863681 -76.918235 20.932989 7244380.092491 line : 7500 10970.864260 -74.698540 12.972095 7244392.920593 line : 7600 10970.864839 -72.278968 7.002215 7244378.627076 line : 7700 10970.865418 -69.730494 2.405133 7244336.691736 line : 7800 10970.865996 -67.095599 -1.236418 7244266.561381 line : 7900 10970.866575 -64.400438 -4.198545 7244167.658207 line : 8000 10970.867154 -61.661681 -6.665830 7244039.389259 line : 8100 10970.867732 -58.890328 -8.764249 7243881.156880 line : 8200 10970.868311 -56.093875 -10.581836 7243692.370024 line : 8300 10970.868890 -53.277579 -12.181565 7243472.456304 line : 8400 10970.869468 -50.445228 -13.609492 7243220.874643 line : 8500 10970.870047 -47.599620 -14.899992 7242937.128368 line : 8600 10970.870626 -44.742869 -16.079210 7242620.778598 line : 8700 10970.871205 -41.876612 -17.167371 7242271.457777 line : 8800 10970.871783 -39.002142 -18.180374 7241888.883165 line : 8900 10970.872362 -36.120507 -19.130903 7241472.870155 line : 9000 10970.872941 -33.232575 -20.029220 7241023.345214 line : 9100 10970.873519 -30.339084 -20.883739 7240540.358321 line : 9200 10970.874098 -27.440672 -21.701448 7240024.094715 line : 9300 10970.874677 -24.537907 -22.488228 7239474.885813 line : 9400 10970.875256 -21.631307 -23.249094 7238893.219149 line : 9500 10970.875834 -18.721347 -23.988377 7238279.747185 line : 9600 10970.876413 -15.808478 -24.709873 7237635.294881 line : 9700 10970.876992 -12.893129 -25.416960 7236960.865891 line : 9800 10970.877570 -9.975714 -26.112687 7236257.647284 line : 9900 10970.878149 -7.056640 -26.799858 7235527.012711 line : 10000 10970.878728 -4.136306 -27.481094 7234770.523917 line : 10100 10970.879306 -1.215108 -28.158896 7233989.930566 line : 10200 10970.879885 1.706561 -28.835693 7233187.168312 line : 10300 10970.880464 4.628305 -29.513896 7232364.355107 line : 10400 10970.881043 7.549727 -30.195943 7231523.785723 line : 10500 10970.881621 10.470428 -30.884354 7230667.924522 line : 10600 10970.882200 13.390000 -31.581784 7229799.396464 line : 10700 10970.882779 16.308028 -32.291079 7228920.976447 line : 10800 10970.883357 19.224084 -33.015348 7228035.576999 line : 10900 10970.883936 22.137723 -33.758047 7227146.234438 line : 11000 10970.884515 25.048476 -34.523071 7226256.093574 line : 11100 10970.885093 27.955843 -35.314879 7225368.391090 line : 11200 10970.885672 30.859281 -36.138651 7224486.437704 line : 11300 10970.886251 33.758189 -37.000477 7223613.599287 line : 11400 10970.886830 36.651887 -37.907621 7222753.277063 line : 11500 10970.887408 39.539593 -38.868851 7221908.887079 line : 11600 10970.887987 42.420378 -39.894902 7221083.839106 line : 11700 10970.888566 45.293121 -40.999084 7220281.515161 line : 11800 10970.889144 48.156435 -42.198148 7219505.247839 line : 11900 10970.889723 51.008558 -43.513488 7218758.298645 line : 12000 10970.890302 53.847212 -44.972881 7218043.836519 line : 12100 10970.890881 56.669370 -46.613033 7217364.916750 line : 12200 10970.891459 59.470916 -48.483391 7216724.460474 Opening data.NORTH2 and writing header line: 12219 line : 12300 10970.892038 62.246113 -50.651979 7216125.234939 line : 12400 10970.892617 64.986729 -53.214526 7215569.834717 line : 12500 10970.893195 67.680599 -56.309022 7215060.664043 line : 12600 10970.893774 70.309137 -60.139158 7214599.920444 line : 12700 10970.894353 72.842914 -65.011645 7214189.579800 line : 12800 10970.894931 75.233705 -71.391368 7213831.382992 line : 12900 10970.895510 77.400466 -79.961255 7213526.824246 line : 13000 10970.896089 79.207971 -91.592438 7213277.141288 line : 13100 10970.896668 80.450441 -106.905820 7213083.307410 line : 13200 10970.897246 80.893824 -125.081943 7212946.025493 line : 13300 10970.897825 80.426467 -143.212353 7212865.724075 line : 13400 10970.898404 79.165427 -158.428595 7212842.555469 line : 13500 10970.898982 77.345499 -169.967094 7212876.395959 line : 13600 10970.899561 75.170664 -178.467792 7212966.848073 line : 13700 10970.900140 72.774391 175.200418 7213113.244884 could not read line 13735 writing header for file 0 goint into getcorrectsdsvals year: 2011 day: 13 miilsecs: 70922078 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 going into makeheader with taos: 10970.820857 satid: 16 nlines: 1942 IN MAKEHEADER going into first make1btime in make1btime taos: 10970.820857 millsec: 70922078 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 after first make1btime in make1btime taos: 10970.824604 millsec: 71245745 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 DONE WITH MAKEHEADER writing header for file 1 goint into getcorrectsdsvals year: 2011 day: 13 miilsecs: 77033078 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 going into makeheader with taos: 10970.891587 satid: 16 nlines: 1516 IN MAKEHEADER going into first make1btime in make1btime taos: 10970.891587 millsec: 77033078 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 after first make1btime in make1btime taos: 10970.894511 millsec: 77285745 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 DONE WITH MAKEHEADER writing header for file 2 goint into getcorrectsdsvals year: 2011 day: 13 miilsecs: 73970578 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 going into makeheader with taos: 10970.856141 satid: 16 nlines: 1967 IN MAKEHEADER going into first make1btime in make1btime taos: 10970.856141 millsec: 73970578 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 after first make1btime in make1btime taos: 10970.859935 millsec: 74298411 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 DONE WITH MAKEHEADER ***** Running navigation/calibration at Fri Jan 14 02:18:22 CST 2011 ***** Working on year and julian day (yyddd): 11013 (2011 Jan 13) no H option specified TBMFLAG: compval: 0 reading input header input header has been read satid from header : 2 XX satid: 16 getting time from firstline getting time in gettime in: 7 db 0 d 0 6b 4 3a 2f 5e year: 2011 day: 13 ymd year: 2011 ymd yeardif: 30 after getheader done with 1942 lines header count: 0 actual: 1942 header will be rewritten output header follows: satid: 16 orbnum: 0 nlines: 1942 julday: 10970 taos: 70922078 NEW PROCESSGENERICGAC year: 2011 input file is : tmp output file is : tmp.p new processraw opening raw file: tmp opening archive file and writing header to tmp.p header written to newdataset dumsat: 3 satid from first line is: 16 year before julianday call: 2011 firstline curday: 13 julian: 10970 time: 70922078 linein: 0 curtime: 70922578 lasttime: 70922078 lastgood: 70922078 timdif: 500 linein: 100 curtime: 70972578 lasttime: 70972078 lastgood: 70972078 timdif: 500 linein: 200 curtime: 71022578 lasttime: 71022078 lastgood: 71022078 timdif: 500 linein: 300 curtime: 71072578 lasttime: 71072078 lastgood: 71072078 timdif: 500 linein: 400 curtime: 71122578 lasttime: 71122078 lastgood: 71122078 timdif: 500 linein: 500 curtime: 71172578 lasttime: 71172078 lastgood: 71172078 timdif: 500 linein: 600 curtime: 71222578 lasttime: 71222078 lastgood: 71222078 timdif: 500 linein: 700 curtime: 71272578 lasttime: 71272078 lastgood: 71272078 timdif: 500 linein: 800 curtime: 71322578 lasttime: 71322078 lastgood: 71322078 timdif: 500 linein: 900 curtime: 71372578 lasttime: 71372078 lastgood: 71372078 timdif: 500 linein: 1000 curtime: 71422578 lasttime: 71422078 lastgood: 71422078 timdif: 500 linein: 1100 curtime: 71472578 lasttime: 71472078 lastgood: 71472078 timdif: 500 linein: 1200 curtime: 71522578 lasttime: 71522078 lastgood: 71522078 timdif: 500 linein: 1300 curtime: 71572578 lasttime: 71572078 lastgood: 71572078 timdif: 500 linein: 1400 curtime: 71622578 lasttime: 71622078 lastgood: 71622078 timdif: 500 linein: 1500 curtime: 71672578 lasttime: 71672078 lastgood: 71672078 timdif: 500 linein: 1600 curtime: 71722578 lasttime: 71722078 lastgood: 71722078 timdif: 500 linein: 1700 curtime: 71772578 lasttime: 71772078 lastgood: 71772078 timdif: 500 linein: 1800 curtime: 71822578 lasttime: 71822078 lastgood: 71822078 timdif: 500 linein: 1900 curtime: 71872578 lasttime: 71872078 lastgood: 71872078 timdif: 500 could not read line bytes read: 0 error reading line: 1941 archive corect to here will rewrite header correctly cleaning up archive file new header being written as: satid: 16 orbit number: 0 dum: 0 number of lines: 1942 julian day: 10970d time of first scan: 19.700579 processing GAC data satid: 16 orbit number: 0 dum: 0 number of lines: 1942 julian day: 10970d time of first scan: 19.700579 Seasonal correction for julian date 10970.820857 = 0.967368 flag is : S 11/01/13 00:00:00110113000000 year: 11 month: 1 day: 13 dayofyear: 13 file containing coefficients is COEFFS.16 calling openparm16 before sprintf parmfilename: /Users/jkey/nav/cal/calib16.dat i: 0 nu: 2226.179930 i: 1 nu: 782.472410 i: 2 nu: 714.285640 chan: 0 nuc: 2700.114800 A: 1.592459 B: 0.998147 chan: 1 nuc: 917.228900 A: 0.332380 B: 0.998522 chan: 2 nuc: 838.125500 A: 0.674623 B: 0.998363 i: 0 wave:0.000000 i: 1 wave:0.000000 i: 2 wave:2700.114800 i: 3 wave:917.228900 i: 4 wave:838.125500 before look for Z after look for Z about to leave openparm newflag is 1: 1 about to open: tmp.p headstuff: sat: 16 orb: 0 julianday: 10970 taos: 70922078 length of headstuff: 57 headstuff: sat: 16 orb: 0 julianday: 10970 taos: 70922078 0.000 0.000 2700.1148 917.2289 838.1255 length of headstuff: 106 ************** results of initial calibration ******** from header firstday is : 13 arcsize: 5626 in sequence numlines: 1 day: 13 val: 388 arcsize: 5626 in sequence numlines: 2 day: 13 val: 382 arcsize: 5626 in sequence numlines: 3 day: 13 val: 384 arcsize: 5626 in sequence numlines: 4 day: 13 val: 388 arcsize: 5626 in sequence numlines: 5 day: 13 val: 0 realline before: 5 spaceref: 0.000000 targtemp: 296.379975 space rad: 0.000000 -4.500000 -3.610000 average space counts: 990.420000 991.400000 994.420000 average internal counts: 796.080000 398.820000 383.240000 satid: 16 launch_indx: -1 chan: 3 radspace: 0.000000 radtarget: 0.498245 spacebar:990.420000 internalbar: 796.080000 chan: 3 radspace: 0.000000 radtarget: 0.498245 spacebar:990.420000 internalbar: 796.080000 gain: -0.002564 offset: 2.539221 chan: 4 radspace: -4.500000 radtarget: 108.137145 spacebar:991.400000 internalbar: 398.820000 chan: 4 radspace: -4.500000 radtarget: 108.137145 spacebar:991.400000 internalbar: 398.820000 gain: -0.190079 offset: 183.944550 chan: 5 radspace: -3.610000 radtarget: 122.317872 spacebar:994.420000 internalbar: 383.240000 chan: 5 radspace: -3.610000 radtarget: 122.317872 spacebar:994.420000 internalbar: 383.240000 gain: -0.206041 offset: 201.280853 gain after: 0.054947 gain after: 0.054947 gain and offset up to scan line 55 : 0.054947 -2.116021 0.057655 -2.330971 -0.002564 2.539221 -0.190079 183.944550 -0.206041 201.280853 ************************************************************ trouble reading line in main DONE WITH CALIBRATION there were 1942 lines done THIS IS ACTUALLY rawcal15_new AS IT SHOULD BE CALIBRATION FILE: COEFFS.16 RADFLAG: 1 calib_dir: /Users/jkey/nav/cal name of caldatfile is: /Users/jkey/nav/cal/calibnew16.dat have found CENTRAL WAVE in string CENTRAL WAVE NUMBER TABLE 190.000000 230.000000 2638.652000 928.260300 834.449600 230.000000 270.000000 2642.807000 928.828400 834.806600 270.000000 310.000000 2645.899000 929.332300 835.164700 have found SPLIT CAL in string SPLIT CAL TABLE SPLIT GAINS and OFFSETS CHAN 1 count 0-490 gain: 0.052300 offset: -2.016000 CHAN 1 count 491-1023 gain: 0.152800 offset: -51.910000 CHAN 2 count 0-500 gain: 0.051300 offset: -1.943000 CHAN 2 count 501-1023 gain: 0.151000 offset: -51.770000 CHAN 3 count 0-499 gain: 0.028700 offset: -2.043000 CHAN 3 count 500-1023 gain: 0.180600 offset: -78.030000 WE ARE GOING NON LINEAR name of caldatfile is: /Users/jkey/nav/cal/calibnew16.dat have found NON LINEAR in string ABOUT TO READ NON LINEAR MATRIX have READ NON LINEAR MATRIX DONE WITH NON LINEAR STUFF have found NEW COEFFS in string ABOUT TO READ NEW COEFFS i: 0 NUC: 2700.114800 Anew: 1.592459 Bnew: 0.998147 NS: 0.000000 B0: 0.000000 B1: 0.000000 B2: 0.000000 i: 1 NUC: 917.228900 Anew: 0.332380 Bnew: 0.998522 NS: -2.467000 B0: 2.960000 B1: -0.054110 B2: 0.000245 i: 2 NUC: 838.125500 Anew: 0.674623 Bnew: 0.998363 NS: -2.009000 B0: 2.225000 B1: -0.036650 B2: 0.000149 DONE WITH NEW COEFFS calhead: sat: 16 orb: 0 julianday: 10970 taos: 70922078 0.000 0.000 2700.1148 917.2289 838.1255 ,!ߜ/Users/jkey/nav/cal/calibnew16.dat calhead: 0.000 0.000 2700.1148 917.2289 838.1255 ,!ߜ/Users/jkey/nav/cal/calibnew16.dat wavecent: 0.000000 0.000000 2700.114800 917.228900 838.125500 INVWAVE: 0.000000 size of cal file is: 206064 have read in cal array number of lines 1942 doing raw line: 0 doing raw line: 500 doing raw line: 1000 doing raw line: 1500 TIME calculation WAS REQUESTED SZA calculation WAS REQUESTED LINE and SAMPLE DATA WAS REQUESTED OSCULATING CORRECTIONS WILL BE APPLIED dashv: temp: strlen: 0 dashH: n strlen: 1 AFTER GET OPTIONS GAC DATA OPTION HAS BEEN CHOOSEN AFTER INIT input file has been opened, fp: 1883758400 after openarc fp: 1883758400 sid: 16d orbnum: 0d numscan: 1942d milday: 70922078d *** data header *** satid: 16 orbit number: 0 number of lines: 1942 julian day: 10970 time of first scan: 19.700579 ******************** AFTER INITDATA julday: 10970 taos: 70922078 TIME OF FIRST SCAN : 11/01/13 19:42:02 looking for ephemeris data for taos: 10970.820857 opening ephemeris after opening ephemeris size: 76 *******ephemeris elements ************ satid: 26536 orbit: 65195 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 ecc: 0.001062 argper: 0.364140 ascnode: 0.799605 inclin: 0.275446 ephoc: 110105000000 **************************** ******ephemnot structure follows*******: satid: 26536 orbit: 65195 size: 76 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 eccen: 0.001062 argper: 0.364140 ascenode: 0.799605 inclin: 0.275446 earadius: 6378137.000000 oblat: 0.001083 ***************************************************************** *********epheminit structure follows******* timnot: 10962.000000 smajaxis: 1.132905 decay: -0.000000 eccen: 0.001062 inclin: 1.730681 argper: 2.287962 perrate: -0.000551 longan: 5.024068 nodrate: 0.000201 ,meananom: 1.717550 meanmot: 0.828813 meanmotrate: 0.000000 grav constant: 398598005011040.375000 ***************************************************************** satlat1: 1.054312 satlat2: 1.079473 asnflag: 1 DATA IS ASCENDING **************** INITAILIZATION OVER ****************** dashr: 81.38011 RANGE0: 81.380110 IN SATGEO line: 0 spot: 204 time: 10970.820857 IN SATGEO line: 5 spot: 204 time: 10970.820886 RANGE: 81.380110 Pass is Ascending at start center lat: 90.000000 center lon: 0.000000 range: 81.380110 images will be processed using chunks of 361 lines getting space for 10 bit image image.proj: 8 fpsza: 7047dfd8 fpsaza: 7047e070 opening 135395993.NSS.GHRR.NL.D11013.S1942.E2136.B5315758.WI.N1.1 OPENING chan: 0 fp: 1883759312 opening 135395993.NSS.GHRR.NL.D11013.S1942.E2136.B5315758.WI.N1.2 OPENING chan: 1 fp: 1883759464 opening 135395993.NSS.GHRR.NL.D11013.S1942.E2136.B5315758.WI.N1.3 OPENING chan: 2 fp: 1883759616 opening 135395993.NSS.GHRR.NL.D11013.S1942.E2136.B5315758.WI.N1.4 OPENING chan: 3 fp: 1883759768 opening 135395993.NSS.GHRR.NL.D11013.S1942.E2136.B5315758.WI.N1.5 OPENING chan: 4 fp: 1883759920 getting space for time array getting space for sza array getting space for saza array getting space for satelv array getting space for sataz array ************************************* total bytes malloced is : 4217234 ************************************* ******** current elements follow******** taos: 10970.820857 time: 10970.820857 smajaxis: 7225816.741240 eccentricity: 0.001062 inclin: 1.730736 argper: 1.856333 longan: -0.128102 meananom: 5.505881 trueanom: 5.504390 altitude: 7220337.498712 ********************************************** satpos: 3266093.943086 -1440796.177385 6271732.237826 satvel: -6568.083667 281.435159 3471.151464 satlat: 60.352153 satlon: -23.804069 COMMAND>DASHD: n INTERPOLATION CHOOSEN , every 8 x pixel and every 8 ypixel going through pixels **** before templat: 29.712678 centtodet: 29.878633 CORNERS OF WHOLE IMAGE FOLLOW North West Corner lat: 29.878633 lon: 225.000000 North East Corner lat: 30.063244 lon: 135.159155 South East Corner lat: 30.248190 lon: 45.000000 South West Corner lat: 30.063244 lon: -45.159155 interpolation choosen every 8 i pixels and every 8 j pixels image will be processed in 1 chunks of 361 image lines segment 0 startj: 0 stopj: 361 starti: 0 stopi: 360 numj: 361 north west----- lat: 29.712678 lon: 225.000000 line: -999 spot: -999 north east----- lat: 29.896666 lon: 135.159155 line: -999 spot: -999 south east-----lat: 29.896666 lon: 44.840845 line: -999 spot: -999 south west-----lat: 29.712678 lon: -45.000000 line: -999 spot: 363 doing chunk number: 0 from line: 0 to line: 360 numcelx: 45 numcely: 45 extrai: 0 extraj: 0 ****minline: 1 maxline: 1941 in data aquisiton maxline: 1941 minline: 1 in data aquistion module image is contained within lines : 1 and 1941 data will be processed using 20 chunks of 100 lines in get10 searching data lines 1 to 101 for image lines 0 to 361 in get10 searching data lines 101 to 201 for image lines 0 to 361 in get10 searching data lines 201 to 301 for image lines 0 to 361 in get10 searching data lines 301 to 401 for image lines 0 to 361 in get10 searching data lines 401 to 501 for image lines 0 to 361 in get10 searching data lines 501 to 601 for image lines 0 to 361 in get10 searching data lines 601 to 701 for image lines 0 to 361 in get10 searching data lines 701 to 801 for image lines 0 to 361 in get10 searching data lines 801 to 901 for image lines 0 to 361 in get10 searching data lines 901 to 1001 for image lines 0 to 361 in get10 searching data lines 1001 to 1101 for image lines 0 to 361 in get10 searching data lines 1101 to 1201 for image lines 0 to 361 in get10 searching data lines 1201 to 1301 for image lines 0 to 361 in get10 searching data lines 1301 to 1401 for image lines 0 to 361 in get10 searching data lines 1401 to 1501 for image lines 0 to 361 in get10 searching data lines 1501 to 1601 for image lines 0 to 361 in get10 searching data lines 1601 to 1701 for image lines 0 to 361 in get10 searching data lines 1701 to 1801 for image lines 0 to 361 in get10 searching data lines 1801 to 1901 for image lines 0 to 361 Undefined error: 0 eof or error after 1940 lines in get10 searching data lines 1901 to 2001 for image lines 0 to 361 dumping SZA array in dumpother j1: 0 j2: 361 ysize: 361 fpother: 1883758552 writing other type image in dumpother j1: 0 j2: 361 ysize: 361 fpother: 1883758704 writing other type image *************** dashY: y dumping ELEV array in dumpother j1: 0 j2: 361 ysize: 361 fpother: 1883759160 writing other type image dumping AZIM array in dumpother j1: 0 j2: 361 ysize: 361 fpother: 1883759008 writing other type image constructing TIME array in puttime j1: 0 j2: 361 ysize: 361 dumping TIME array in dumpother j1: 0 j2: 361 ysize: 361 fpother: 1883758856 writing other type image nchan: 5 dumping ch: 0 fp: 1883759312 about to dump image number: 0 channel: 1 xsize: 361 ysize: 361 IN WRITEIMAGE chan: 0 fp: 1883759312 DOne with dumpimage fp: 1883759312 have dumped ch: 0 fp: 1883759312 dumping ch: 1 fp: 1883759464 about to dump image number: 1 channel: 2 xsize: 361 ysize: 361 IN WRITEIMAGE chan: 1 fp: 1883759464 DOne with dumpimage fp: 1883759464 have dumped ch: 1 fp: 1883759464 dumping ch: 2 fp: 1883759616 about to dump image number: 2 channel: 3 xsize: 361 ysize: 361 IN WRITEIMAGE chan: 2 fp: 1883759616 DOne with dumpimage fp: 1883759616 have dumped ch: 2 fp: 1883759616 dumping ch: 3 fp: 1883759768 about to dump image number: 3 channel: 4 xsize: 361 ysize: 361 IN WRITEIMAGE chan: 3 fp: 1883759768 DOne with dumpimage fp: 1883759768 have dumped ch: 3 fp: 1883759768 dumping ch: 4 fp: 1883759920 about to dump image number: 4 channel: 5 xsize: 361 ysize: 361 IN WRITEIMAGE chan: 4 fp: 1883759920 DOne with dumpimage fp: 1883759920 have dumped ch: 4 fp: 1883759920 About to write headers fp: 1883759768 done with navigation--retrieving data ***** Running navigation/calibration at Fri Jan 14 02:18:23 CST 2011 ***** Working on year and julian day (yyddd): 11013 (2011 Jan 13) no H option specified TBMFLAG: compval: 0 reading input header input header has been read satid from header : 2 XX satid: 16 getting time from firstline getting time in gettime in: 7 db 0 d 0 6b 4 97 6e 76 year: 2011 day: 13 ymd year: 2011 ymd yeardif: 30 after getheader done with 1516 lines header count: 0 actual: 1516 header will be rewritten output header follows: satid: 16 orbnum: 0 nlines: 1516 julday: 10970 taos: 77033078 NEW PROCESSGENERICGAC year: 2011 input file is : tmp output file is : tmp.p new processraw opening raw file: tmp opening archive file and writing header to tmp.p header written to newdataset dumsat: 3 satid from first line is: 16 year before julianday call: 2011 firstline curday: 13 julian: 10970 time: 77033078 linein: 0 curtime: 77033578 lasttime: 77033078 lastgood: 77033078 timdif: 500 linein: 100 curtime: 77083578 lasttime: 77083078 lastgood: 77083078 timdif: 500 linein: 200 curtime: 77133578 lasttime: 77133078 lastgood: 77133078 timdif: 500 linein: 300 curtime: 77183578 lasttime: 77183078 lastgood: 77183078 timdif: 500 linein: 400 curtime: 77233578 lasttime: 77233078 lastgood: 77233078 timdif: 500 linein: 500 curtime: 77283578 lasttime: 77283078 lastgood: 77283078 timdif: 500 linein: 600 curtime: 77333578 lasttime: 77333078 lastgood: 77333078 timdif: 500 linein: 700 curtime: 77383578 lasttime: 77383078 lastgood: 77383078 timdif: 500 linein: 800 curtime: 77433578 lasttime: 77433078 lastgood: 77433078 timdif: 500 linein: 900 curtime: 77483578 lasttime: 77483078 lastgood: 77483078 timdif: 500 linein: 1000 curtime: 77533578 lasttime: 77533078 lastgood: 77533078 timdif: 500 linein: 1100 curtime: 77583578 lasttime: 77583078 lastgood: 77583078 timdif: 500 linein: 1200 curtime: 77633578 lasttime: 77633078 lastgood: 77633078 timdif: 500 linein: 1300 curtime: 77683578 lasttime: 77683078 lastgood: 77683078 timdif: 500 linein: 1400 curtime: 77733578 lasttime: 77733078 lastgood: 77733078 timdif: 500 linein: 1500 curtime: 77783578 lasttime: 77783078 lastgood: 77783078 timdif: 500 could not read line bytes read: 0 error reading line: 1515 archive corect to here will rewrite header correctly cleaning up archive file new header being written as: satid: 16 orbit number: 0 dum: 0 number of lines: 1516 julian day: 10970d time of first scan: 21.398077 processing GAC data satid: 16 orbit number: 0 dum: 0 number of lines: 1516 julian day: 10970d time of first scan: 21.398077 Seasonal correction for julian date 10970.891587 = 0.967375 flag is : S 11/01/13 00:00:00110113000000 year: 11 month: 1 day: 13 dayofyear: 13 file containing coefficients is COEFFS.16 calling openparm16 before sprintf parmfilename: /Users/jkey/nav/cal/calib16.dat i: 0 nu: 2226.179930 i: 1 nu: 782.472410 i: 2 nu: 714.285640 chan: 0 nuc: 2700.114800 A: 1.592459 B: 0.998147 chan: 1 nuc: 917.228900 A: 0.332380 B: 0.998522 chan: 2 nuc: 838.125500 A: 0.674623 B: 0.998363 i: 0 wave:0.000000 i: 1 wave:0.000000 i: 2 wave:2700.114800 i: 3 wave:917.228900 i: 4 wave:838.125500 before look for Z after look for Z about to leave openparm newflag is 1: 1 about to open: tmp.p headstuff: sat: 16 orb: 0 julianday: 10970 taos: 77033078 length of headstuff: 57 headstuff: sat: 16 orb: 0 julianday: 10970 taos: 77033078 0.000 0.000 2700.1148 917.2289 838.1255 length of headstuff: 106 ************** results of initial calibration ******** from header firstday is : 13 arcsize: 5626 in sequence numlines: 1 day: 13 val: 385 arcsize: 5626 in sequence numlines: 2 day: 13 val: 389 arcsize: 5626 in sequence numlines: 3 day: 13 val: 0 realline before: 3 spaceref: 0.000000 targtemp: 296.435557 space rad: 0.000000 -4.500000 -3.610000 average space counts: 990.400000 991.320000 994.500000 average internal counts: 795.620000 398.320000 382.900000 satid: 16 launch_indx: -1 chan: 3 radspace: 0.000000 radtarget: 0.499461 spacebar:990.400000 internalbar: 795.620000 chan: 3 radspace: 0.000000 radtarget: 0.499461 spacebar:990.400000 internalbar: 795.620000 gain: -0.002564 offset: 2.539613 chan: 4 radspace: -4.500000 radtarget: 108.228459 spacebar:991.320000 internalbar: 398.320000 chan: 4 radspace: -4.500000 radtarget: 108.228459 spacebar:991.320000 internalbar: 398.320000 gain: -0.190099 offset: 183.948532 chan: 5 radspace: -3.610000 radtarget: 122.412576 spacebar:994.500000 internalbar: 382.900000 chan: 5 radspace: -3.610000 radtarget: 122.412576 spacebar:994.500000 internalbar: 382.900000 gain: -0.206054 offset: 201.310623 gain after: 0.054947 gain after: 0.054947 gain and offset up to scan line 53 : 0.054947 -2.116037 0.057656 -2.330987 -0.002564 2.539613 -0.190099 183.948532 -0.206054 201.310623 ************************************************************ trouble reading line in main DONE WITH CALIBRATION there were 1516 lines done THIS IS ACTUALLY rawcal15_new AS IT SHOULD BE CALIBRATION FILE: COEFFS.16 RADFLAG: 1 calib_dir: /Users/jkey/nav/cal name of caldatfile is: /Users/jkey/nav/cal/calibnew16.dat have found CENTRAL WAVE in string CENTRAL WAVE NUMBER TABLE 190.000000 230.000000 2638.652000 928.260300 834.449600 230.000000 270.000000 2642.807000 928.828400 834.806600 270.000000 310.000000 2645.899000 929.332300 835.164700 have found SPLIT CAL in string SPLIT CAL TABLE SPLIT GAINS and OFFSETS CHAN 1 count 0-490 gain: 0.052300 offset: -2.016000 CHAN 1 count 491-1023 gain: 0.152800 offset: -51.910000 CHAN 2 count 0-500 gain: 0.051300 offset: -1.943000 CHAN 2 count 501-1023 gain: 0.151000 offset: -51.770000 CHAN 3 count 0-499 gain: 0.028700 offset: -2.043000 CHAN 3 count 500-1023 gain: 0.180600 offset: -78.030000 WE ARE GOING NON LINEAR name of caldatfile is: /Users/jkey/nav/cal/calibnew16.dat have found NON LINEAR in string ABOUT TO READ NON LINEAR MATRIX have READ NON LINEAR MATRIX DONE WITH NON LINEAR STUFF have found NEW COEFFS in string ABOUT TO READ NEW COEFFS i: 0 NUC: 2700.114800 Anew: 1.592459 Bnew: 0.998147 NS: 0.000000 B0: 0.000000 B1: 0.000000 B2: 0.000000 i: 1 NUC: 917.228900 Anew: 0.332380 Bnew: 0.998522 NS: -2.467000 B0: 2.960000 B1: -0.054110 B2: 0.000245 i: 2 NUC: 838.125500 Anew: 0.674623 Bnew: 0.998363 NS: -2.009000 B0: 2.225000 B1: -0.036650 B2: 0.000149 DONE WITH NEW COEFFS calhead: sat: 16 orb: 0 julianday: 10970 taos: 77033078 0.000 0.000 2700.1148 917.2289 838.1255 K5/Users/jkey/nav/cal/calibnew16.dat calhead: 0.000 0.000 2700.1148 917.2289 838.1255 K5/Users/jkey/nav/cal/calibnew16.dat wavecent: 0.000000 0.000000 2700.114800 917.228900 838.125500 INVWAVE: 0.000000 size of cal file is: 160908 have read in cal array number of lines 1516 doing raw line: 0 doing raw line: 500 doing raw line: 1000 doing raw line: 1500 TIME calculation WAS REQUESTED SZA calculation WAS REQUESTED LINE and SAMPLE DATA WAS REQUESTED OSCULATING CORRECTIONS WILL BE APPLIED dashv: temp: strlen: 0 dashH: n strlen: 1 AFTER GET OPTIONS GAC DATA OPTION HAS BEEN CHOOSEN AFTER INIT input file has been opened, fp: 1883758400 after openarc fp: 1883758400 sid: 16d orbnum: 0d numscan: 1516d milday: 77033078d *** data header *** satid: 16 orbit number: 0 number of lines: 1516 julian day: 10970 time of first scan: 21.398077 ******************** AFTER INITDATA julday: 10970 taos: 77033078 TIME OF FIRST SCAN : 11/01/13 21:23:53 looking for ephemeris data for taos: 10970.891587 opening ephemeris after opening ephemeris size: 76 *******ephemeris elements ************ satid: 26536 orbit: 65195 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 ecc: 0.001062 argper: 0.364140 ascnode: 0.799605 inclin: 0.275446 ephoc: 110105000000 **************************** ******ephemnot structure follows*******: satid: 26536 orbit: 65195 size: 76 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 eccen: 0.001062 argper: 0.364140 ascenode: 0.799605 inclin: 0.275446 earadius: 6378137.000000 oblat: 0.001083 ***************************************************************** *********epheminit structure follows******* timnot: 10962.000000 smajaxis: 1.132905 decay: -0.000000 eccen: 0.001062 inclin: 1.730681 argper: 2.287962 perrate: -0.000551 longan: 5.024068 nodrate: 0.000201 ,meananom: 1.717550 meanmot: 0.828813 meanmotrate: 0.000000 grav constant: 398598005011040.375000 ***************************************************************** satlat1: 1.045770 satlat2: 1.070977 asnflag: 1 DATA IS ASCENDING **************** INITAILIZATION OVER ****************** dashr: 81.38011 RANGE0: 81.380110 IN SATGEO line: 0 spot: 204 time: 10970.891587 IN SATGEO line: 5 spot: 204 time: 10970.891615 RANGE: 81.380110 Pass is Ascending at start center lat: 90.000000 center lon: 0.000000 range: 81.380110 images will be processed using chunks of 361 lines getting space for 10 bit image image.proj: 8 fpsza: 7047dfd8 fpsaza: 7047e070 opening 135395993.NSS.GHRR.NL.D11013.S1942.E2136.B5315758.WI.N2.1 OPENING chan: 0 fp: 1883759312 opening 135395993.NSS.GHRR.NL.D11013.S1942.E2136.B5315758.WI.N2.2 OPENING chan: 1 fp: 1883759464 opening 135395993.NSS.GHRR.NL.D11013.S1942.E2136.B5315758.WI.N2.3 OPENING chan: 2 fp: 1883759616 opening 135395993.NSS.GHRR.NL.D11013.S1942.E2136.B5315758.WI.N2.4 OPENING chan: 3 fp: 1883759768 opening 135395993.NSS.GHRR.NL.D11013.S1942.E2136.B5315758.WI.N2.5 OPENING chan: 4 fp: 1883759920 getting space for time array getting space for sza array getting space for saza array getting space for satelv array getting space for sataz array ************************************* total bytes malloced is : 4217234 ************************************* ******** current elements follow******** taos: 10970.891587 time: 10970.891587 smajaxis: 7225816.703001 eccentricity: 0.001062 inclin: 1.730734 argper: 1.852872 longan: -0.572463 meananom: 5.500334 trueanom: 5.498835 altitude: 7220367.361469 ********************************************** satpos: 2380380.329408 -2731767.479253 6241024.966590 satvel: -5787.437138 3052.393066 3529.302821 satlat: 59.861754 satlon: -48.932082 COMMAND>DASHD: n INTERPOLATION CHOOSEN , every 8 x pixel and every 8 ypixel going through pixels **** before templat: 29.712678 centtodet: 29.878633 CORNERS OF WHOLE IMAGE FOLLOW North West Corner lat: 29.878633 lon: 225.000000 North East Corner lat: 30.063244 lon: 135.159155 South East Corner lat: 30.248190 lon: 45.000000 South West Corner lat: 30.063244 lon: -45.159155 interpolation choosen every 8 i pixels and every 8 j pixels image will be processed in 1 chunks of 361 image lines segment 0 startj: 0 stopj: 361 starti: 0 stopi: 360 numj: 361 north west----- lat: 29.712678 lon: 225.000000 line: -999 spot: -999 north east----- lat: 29.896666 lon: 135.159155 line: -999 spot: 27 south east-----lat: 29.896666 lon: 44.840845 line: -999 spot: -999 south west-----lat: 29.712678 lon: -45.000000 line: -999 spot: -999 doing chunk number: 0 from line: 0 to line: 360 numcelx: 45 numcely: 45 extrai: 0 extraj: 0 ****minline: 1 maxline: 1515 in data aquisiton maxline: 1515 minline: 1 in data aquistion module image is contained within lines : 1 and 1515 data will be processed using 16 chunks of 100 lines in get10 searching data lines 1 to 101 for image lines 0 to 361 in get10 searching data lines 101 to 201 for image lines 0 to 361 in get10 searching data lines 201 to 301 for image lines 0 to 361 in get10 searching data lines 301 to 401 for image lines 0 to 361 in get10 searching data lines 401 to 501 for image lines 0 to 361 in get10 searching data lines 501 to 601 for image lines 0 to 361 in get10 searching data lines 601 to 701 for image lines 0 to 361 in get10 searching data lines 701 to 801 for image lines 0 to 361 in get10 searching data lines 801 to 901 for image lines 0 to 361 in get10 searching data lines 901 to 1001 for image lines 0 to 361 in get10 searching data lines 1001 to 1101 for image lines 0 to 361 in get10 searching data lines 1101 to 1201 for image lines 0 to 361 in get10 searching data lines 1201 to 1301 for image lines 0 to 361 in get10 searching data lines 1301 to 1401 for image lines 0 to 361 in get10 searching data lines 1401 to 1501 for image lines 0 to 361 Undefined error: 0 eof or error after 1514 lines in get10 searching data lines 1501 to 1601 for image lines 0 to 361 dumping SZA array in dumpother j1: 0 j2: 361 ysize: 361 fpother: 1883758552 writing other type image in dumpother j1: 0 j2: 361 ysize: 361 fpother: 1883758704 writing other type image *************** dashY: y dumping ELEV array in dumpother j1: 0 j2: 361 ysize: 361 fpother: 1883759160 writing other type image dumping AZIM array in dumpother j1: 0 j2: 361 ysize: 361 fpother: 1883759008 writing other type image constructing TIME array in puttime j1: 0 j2: 361 ysize: 361 dumping TIME array in dumpother j1: 0 j2: 361 ysize: 361 fpother: 1883758856 writing other type image nchan: 5 dumping ch: 0 fp: 1883759312 about to dump image number: 0 channel: 1 xsize: 361 ysize: 361 IN WRITEIMAGE chan: 0 fp: 1883759312 DOne with dumpimage fp: 1883759312 have dumped ch: 0 fp: 1883759312 dumping ch: 1 fp: 1883759464 about to dump image number: 1 channel: 2 xsize: 361 ysize: 361 IN WRITEIMAGE chan: 1 fp: 1883759464 DOne with dumpimage fp: 1883759464 have dumped ch: 1 fp: 1883759464 dumping ch: 2 fp: 1883759616 about to dump image number: 2 channel: 3 xsize: 361 ysize: 361 IN WRITEIMAGE chan: 2 fp: 1883759616 DOne with dumpimage fp: 1883759616 have dumped ch: 2 fp: 1883759616 dumping ch: 3 fp: 1883759768 about to dump image number: 3 channel: 4 xsize: 361 ysize: 361 IN WRITEIMAGE chan: 3 fp: 1883759768 DOne with dumpimage fp: 1883759768 have dumped ch: 3 fp: 1883759768 dumping ch: 4 fp: 1883759920 about to dump image number: 4 channel: 5 xsize: 361 ysize: 361 IN WRITEIMAGE chan: 4 fp: 1883759920 DOne with dumpimage fp: 1883759920 have dumped ch: 4 fp: 1883759920 About to write headers fp: 1883759768 done with navigation--retrieving data rm: data.*: No such file or directory ***** Running polar regions subsetting at Fri Jan 14 02:18:24 CST 2011 ***** Working on year and julian day (yyddd): 11013 (2011 Jan 13) command line args: ephemfile: /Users/jkey/nav/ephemeris northlimit: 60.000000 southlimit: -60.000000 data is type: G sds-type is: H region is: O SDS GAC data selected. year: 2011 day: 13 miilsecs: 70922078 before md doy: 13 year: 2011 **julianday: 10970 year: 2011 day: 13 miilsecs: 70922078 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 year: 2011 day: 13 miilsecs: 70922578 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 year: 2011 day: 13 miilsecs: 70923078 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 taos: 70922078 satid: 16 julian day: 10970 nlines: 13738 GOING INTO initorb4 satnum: 16 navsatid: 26536 calling readephem taos: 10970.820857 opening ephemeris after opening ephemeris size: 76 *******ephemeris elements ************ satid: 26536 orbit: 65195 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 ecc: 0.001062 argper: 0.364140 ascnode: 0.799605 inclin: 0.275446 ephoc: 110105000000 **************************** ******ephemnot structure follows*******: satid: 26536 orbit: 65195 size: 76 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 eccen: 0.001062 argper: 0.364140 ascenode: 0.799605 inclin: 0.275446 earadius: 6378137.000000 oblat: 0.001083 ***************************************************************** YEAR HERE: 11 *********epheminit structure follows******* timnot: 10962.000000 smajaxis: 1.132905 decay: -0.000000 eccen: 0.001062 inclin: 1.730681 argper: 2.287962 perrate: -0.000551 longan: 5.024068 nodrate: 0.000201 ,meananom: 1.717550 meanmot: 0.828813 meanmotrate: 0.000000 grav constant: 398598005011040.375000 ***************************************************************** ******** current elements follow******** taos: 10970.820857 time: 10970.820857 smajaxis: 7225816.741240 eccentricity: 0.001062 inclin: 1.730681 argper: 1.856333 longan: -0.128018 meananom: 784.620859 trueanom: 784.619368 altitude: 7220351.322502 ********************************************** ******** current elements follow******** taos: 10970.820857 time: 10970.820857 smajaxis: 7225816.741240 eccentricity: 0.001062 inclin: 1.730681 argper: 1.856333 longan: -0.128018 meananom: 784.620859 trueanom: 784.619368 altitude: 7220351.322502 ********************************************** SPECIFIC DATA: bytesperline: 4608 scanspersec: 2.000000 line : 0 10970.820857 60.571695 -23.804069 7216501.128166 Opening data.NORTH1 and writing header line: 0 line : 100 10970.821436 63.334367 -26.115015 7215917.933420 line : 200 10970.822015 66.058229 -28.868364 7215379.491153 line : 300 10970.822593 68.728956 -32.224631 7214888.128514 line : 400 10970.823172 71.324352 -36.422818 7214445.959985 line : 500 10970.823751 73.808783 -41.824630 7214054.873041 line : 600 10970.824330 76.123154 -48.975280 7213716.515451 line : 700 10970.824908 78.167849 -58.647931 7213432.284316 line : 800 10970.825487 79.780228 -71.707041 7213203.316959 line : 900 10970.826066 80.732210 -88.376997 7213030.483751 line : 1000 10970.826644 80.816234 -106.954595 7212914.382924 line : 1100 10970.827223 80.010315 -124.171053 7212855.337434 line : 1200 10970.827802 78.499831 -137.912857 7212853.393899 line : 1300 10970.828381 76.519236 -148.143575 7212908.323598 line : 1400 10970.828959 74.244427 -155.690709 7213019.625541 line : 1500 10970.829538 71.784850 -161.364875 7213186.531567 line : 1600 10970.830117 69.205488 -165.751462 7213408.013412 line : 1700 10970.830695 66.545342 -169.240826 7213682.791675 line : 1800 10970.831274 63.828549 -172.090537 7214009.346601 line : 1900 10970.831853 61.070590 -174.472941 7214385.930560 line : 2000 10970.832431 58.281742 -176.505945 7214810.582104 line : 2100 10970.833010 55.469055 -178.272191 7215281.141465 line : 2200 10970.833589 52.637503 -179.830977 7215795.267329 line : 2300 10970.834168 49.790695 178.774199 7216350.454747 line : 2400 10970.834746 46.931315 177.510776 7216944.053974 line : 2500 10970.835325 44.061406 176.353927 7217573.290091 line : 2600 10970.835904 41.182564 175.284390 7218235.283191 line : 2700 10970.836482 38.296058 174.286992 7218927.068959 line : 2800 10970.837061 35.402930 173.349594 7219645.619439 line : 2900 10970.837640 32.504047 172.462358 7220387.863801 line : 3000 10970.838218 29.600154 171.617194 7221150.708913 line : 3100 10970.838797 26.691903 170.807368 7221931.059529 line : 3200 10970.839376 23.779876 170.027201 7222725.837921 line : 3300 10970.839955 20.864607 169.271836 7223532.002764 line : 3400 10970.840533 17.946589 168.537065 7224346.567126 line : 3500 10970.841112 15.026291 167.819189 7225166.615408 line : 3600 10970.841691 12.104160 167.114909 7225989.319082 line : 3700 10970.842269 9.180628 166.421229 7226811.951120 line : 3800 10970.842848 6.256117 165.735390 7227631.898986 line : 3900 10970.843427 3.331040 165.054795 7228446.676109 line : 4000 10970.844006 0.405808 164.376959 7229253.931760 line : 4100 10970.844584 -2.519175 163.699456 7230051.459270 line : 4200 10970.845163 -5.443502 163.019864 7230837.202547 line : 4300 10970.845742 -8.366769 162.335723 7231609.260879 line : 4400 10970.846320 -11.288567 161.644477 7232365.892013 line : 4500 10970.846899 -14.208486 160.943423 7233105.513526 line : 4600 10970.847478 -17.126105 160.229646 7233826.702528 line : 4700 10970.848056 -20.040993 159.499951 7234528.193734 line : 4800 10970.848635 -22.952702 158.750775 7235208.875994 line : 4900 10970.849214 -25.860762 157.978084 7235867.787338 line : 5000 10970.849793 -28.764670 157.177243 7236504.108662 line : 5100 10970.850371 -31.663879 156.342858 7237117.156144 line : 5200 10970.850950 -34.557780 155.468559 7237706.372533 line : 5300 10970.851529 -37.445686 154.546734 7238271.317423 line : 5400 10970.852107 -40.326794 153.568162 7238811.656691 line : 5500 10970.852686 -43.200152 152.521528 7239327.151207 line : 5600 10970.853265 -46.064601 151.392754 7239817.645015 line : 5700 10970.853843 -48.918692 150.164074 7240283.053119 line : 5800 10970.854422 -51.760581 148.812724 7240723.349048 line : 5900 10970.855001 -54.587858 147.309043 7241138.552366 line : 6000 10970.855580 -57.397302 145.613701 7241528.716288 Opening data.SOUTH1 and writing header line: 6094 line : 6100 10970.856158 -60.184506 143.673502 7241893.915563 line : 6200 10970.856737 -62.943278 141.414974 7242234.234774 line : 6300 10970.857316 -65.664678 138.734283 7242549.757212 line : 6400 10970.857894 -68.335389 135.481177 7242840.554466 line : 6500 10970.858473 -70.934910 131.433206 7243106.676853 line : 6600 10970.859052 -73.430545 126.255324 7243348.144805 line : 6700 10970.859631 -75.768395 119.442973 7243564.941347 line : 6800 10970.860209 -77.857830 110.272419 7243757.005727 line : 6900 10970.860788 -79.549566 97.888088 7243924.228306 line : 7000 10970.861367 -80.626397 81.891208 7244066.446763 line : 7100 10970.861945 -80.868549 63.576894 7244183.443666 line : 7200 10970.862524 -80.214004 46.039913 7244274.945447 line : 7300 10970.863103 -78.819067 31.709823 7244340.622799 line : 7400 10970.863681 -76.918235 20.932989 7244380.092491 line : 7500 10970.864260 -74.698540 12.972095 7244392.920593 line : 7600 10970.864839 -72.278968 7.002215 7244378.627076 line : 7700 10970.865418 -69.730494 2.405133 7244336.691736 line : 7800 10970.865996 -67.095599 -1.236418 7244266.561381 line : 7900 10970.866575 -64.400438 -4.198545 7244167.658207 line : 8000 10970.867154 -61.661681 -6.665830 7244039.389259 line : 8100 10970.867732 -58.890328 -8.764249 7243881.156880 line : 8200 10970.868311 -56.093875 -10.581836 7243692.370024 line : 8300 10970.868890 -53.277579 -12.181565 7243472.456304 line : 8400 10970.869468 -50.445228 -13.609492 7243220.874643 line : 8500 10970.870047 -47.599620 -14.899992 7242937.128368 line : 8600 10970.870626 -44.742869 -16.079210 7242620.778598 line : 8700 10970.871205 -41.876612 -17.167371 7242271.457777 line : 8800 10970.871783 -39.002142 -18.180374 7241888.883165 line : 8900 10970.872362 -36.120507 -19.130903 7241472.870155 line : 9000 10970.872941 -33.232575 -20.029220 7241023.345214 line : 9100 10970.873519 -30.339084 -20.883739 7240540.358321 line : 9200 10970.874098 -27.440672 -21.701448 7240024.094715 line : 9300 10970.874677 -24.537907 -22.488228 7239474.885813 line : 9400 10970.875256 -21.631307 -23.249094 7238893.219149 line : 9500 10970.875834 -18.721347 -23.988377 7238279.747185 line : 9600 10970.876413 -15.808478 -24.709873 7237635.294881 line : 9700 10970.876992 -12.893129 -25.416960 7236960.865891 line : 9800 10970.877570 -9.975714 -26.112687 7236257.647284 line : 9900 10970.878149 -7.056640 -26.799858 7235527.012711 line : 10000 10970.878728 -4.136306 -27.481094 7234770.523917 line : 10100 10970.879306 -1.215108 -28.158896 7233989.930566 line : 10200 10970.879885 1.706561 -28.835693 7233187.168312 line : 10300 10970.880464 4.628305 -29.513896 7232364.355107 line : 10400 10970.881043 7.549727 -30.195943 7231523.785723 line : 10500 10970.881621 10.470428 -30.884354 7230667.924522 line : 10600 10970.882200 13.390000 -31.581784 7229799.396464 line : 10700 10970.882779 16.308028 -32.291079 7228920.976447 line : 10800 10970.883357 19.224084 -33.015348 7228035.576999 line : 10900 10970.883936 22.137723 -33.758047 7227146.234438 line : 11000 10970.884515 25.048476 -34.523071 7226256.093574 line : 11100 10970.885093 27.955843 -35.314879 7225368.391090 line : 11200 10970.885672 30.859281 -36.138651 7224486.437704 line : 11300 10970.886251 33.758189 -37.000477 7223613.599287 line : 11400 10970.886830 36.651887 -37.907621 7222753.277063 line : 11500 10970.887408 39.539593 -38.868851 7221908.887079 line : 11600 10970.887987 42.420378 -39.894902 7221083.839106 line : 11700 10970.888566 45.293121 -40.999084 7220281.515161 line : 11800 10970.889144 48.156435 -42.198148 7219505.247839 line : 11900 10970.889723 51.008558 -43.513488 7218758.298645 line : 12000 10970.890302 53.847212 -44.972881 7218043.836519 line : 12100 10970.890881 56.669370 -46.613033 7217364.916750 line : 12200 10970.891459 59.470916 -48.483391 7216724.460474 Opening data.NORTH2 and writing header line: 12219 line : 12300 10970.892038 62.246113 -50.651979 7216125.234939 line : 12400 10970.892617 64.986729 -53.214526 7215569.834717 line : 12500 10970.893195 67.680599 -56.309022 7215060.664043 line : 12600 10970.893774 70.309137 -60.139158 7214599.920444 line : 12700 10970.894353 72.842914 -65.011645 7214189.579800 line : 12800 10970.894931 75.233705 -71.391368 7213831.382992 line : 12900 10970.895510 77.400466 -79.961255 7213526.824246 line : 13000 10970.896089 79.207971 -91.592438 7213277.141288 line : 13100 10970.896668 80.450441 -106.905820 7213083.307410 line : 13200 10970.897246 80.893824 -125.081943 7212946.025493 line : 13300 10970.897825 80.426467 -143.212353 7212865.724075 line : 13400 10970.898404 79.165427 -158.428595 7212842.555469 line : 13500 10970.898982 77.345499 -169.967094 7212876.395959 line : 13600 10970.899561 75.170664 -178.467792 7212966.848073 line : 13700 10970.900140 72.774391 175.200418 7213113.244884 could not read line 13735 writing header for file 0 goint into getcorrectsdsvals year: 2011 day: 13 miilsecs: 70922078 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 going into makeheader with taos: 10970.820857 satid: 16 nlines: 1942 IN MAKEHEADER going into first make1btime in make1btime taos: 10970.820857 millsec: 70922078 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 after first make1btime in make1btime taos: 10970.824604 millsec: 71245745 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 DONE WITH MAKEHEADER writing header for file 1 goint into getcorrectsdsvals year: 2011 day: 13 miilsecs: 77033078 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 going into makeheader with taos: 10970.891587 satid: 16 nlines: 1516 IN MAKEHEADER going into first make1btime in make1btime taos: 10970.891587 millsec: 77033078 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 after first make1btime in make1btime taos: 10970.894511 millsec: 77285745 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 DONE WITH MAKEHEADER writing header for file 2 goint into getcorrectsdsvals year: 2011 day: 13 miilsecs: 73970578 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 going into makeheader with taos: 10970.856141 satid: 16 nlines: 1967 IN MAKEHEADER going into first make1btime in make1btime taos: 10970.856141 millsec: 73970578 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 after first make1btime in make1btime taos: 10970.859935 millsec: 74298411 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 DONE WITH MAKEHEADER ***** Running navigation/calibration at Fri Jan 14 02:18:24 CST 2011 ***** Working on year and julian day (yyddd): 11013 (2011 Jan 13) no H option specified TBMFLAG: compval: 0 reading input header input header has been read satid from header : 2 XX satid: 16 getting time from firstline getting time in gettime in: 7 db 0 d 0 6b 4 68 b3 92 year: 2011 day: 13 ymd year: 2011 ymd yeardif: 30 after getheader done with 1967 lines header count: 0 actual: 1967 header will be rewritten output header follows: satid: 16 orbnum: 0 nlines: 1967 julday: 10970 taos: 73970578 NEW PROCESSGENERICGAC year: 2011 input file is : tmp output file is : tmp.p new processraw opening raw file: tmp opening archive file and writing header to tmp.p header written to newdataset dumsat: 3 satid from first line is: 16 year before julianday call: 2011 firstline curday: 13 julian: 10970 time: 73970578 linein: 0 curtime: 73971078 lasttime: 73970578 lastgood: 73970578 timdif: 500 linein: 100 curtime: 74021078 lasttime: 74020578 lastgood: 74020578 timdif: 500 linein: 200 curtime: 74071078 lasttime: 74070578 lastgood: 74070578 timdif: 500 linein: 300 curtime: 74121078 lasttime: 74120578 lastgood: 74120578 timdif: 500 linein: 400 curtime: 74171078 lasttime: 74170578 lastgood: 74170578 timdif: 500 linein: 500 curtime: 74221078 lasttime: 74220578 lastgood: 74220578 timdif: 500 linein: 600 curtime: 74271078 lasttime: 74270578 lastgood: 74270578 timdif: 500 linein: 700 curtime: 74321078 lasttime: 74320578 lastgood: 74320578 timdif: 500 linein: 800 curtime: 74371078 lasttime: 74370578 lastgood: 74370578 timdif: 500 linein: 900 curtime: 74421078 lasttime: 74420578 lastgood: 74420578 timdif: 500 linein: 1000 curtime: 74471078 lasttime: 74470578 lastgood: 74470578 timdif: 500 linein: 1100 curtime: 74521078 lasttime: 74520578 lastgood: 74520578 timdif: 500 linein: 1200 curtime: 74571078 lasttime: 74570578 lastgood: 74570578 timdif: 500 linein: 1300 curtime: 74621078 lasttime: 74620578 lastgood: 74620578 timdif: 500 linein: 1400 curtime: 74671078 lasttime: 74670578 lastgood: 74670578 timdif: 500 linein: 1500 curtime: 74721078 lasttime: 74720578 lastgood: 74720578 timdif: 500 linein: 1600 curtime: 74771078 lasttime: 74770578 lastgood: 74770578 timdif: 500 linein: 1700 curtime: 74821078 lasttime: 74820578 lastgood: 74820578 timdif: 500 linein: 1800 curtime: 74871078 lasttime: 74870578 lastgood: 74870578 timdif: 500 linein: 1900 curtime: 74921078 lasttime: 74920578 lastgood: 74920578 timdif: 500 could not read line bytes read: 0 error reading line: 1966 archive corect to here will rewrite header correctly cleaning up archive file new header being written as: satid: 16 orbit number: 0 dum: 0 number of lines: 1967 julian day: 10970d time of first scan: 20.547382 processing GAC data satid: 16 orbit number: 0 dum: 0 number of lines: 1967 julian day: 10970d time of first scan: 20.547382 Seasonal correction for julian date 10970.856141 = 0.967372 flag is : S 11/01/13 00:00:00110113000000 year: 11 month: 1 day: 13 dayofyear: 13 file containing coefficients is COEFFS.16 calling openparm16 before sprintf parmfilename: /Users/jkey/nav/cal/calib16.dat i: 0 nu: 2226.179930 i: 1 nu: 782.472410 i: 2 nu: 714.285640 chan: 0 nuc: 2700.114800 A: 1.592459 B: 0.998147 chan: 1 nuc: 917.228900 A: 0.332380 B: 0.998522 chan: 2 nuc: 838.125500 A: 0.674623 B: 0.998363 i: 0 wave:0.000000 i: 1 wave:0.000000 i: 2 wave:2700.114800 i: 3 wave:917.228900 i: 4 wave:838.125500 before look for Z after look for Z about to leave openparm newflag is 1: 1 about to open: tmp.p headstuff: sat: 16 orb: 0 julianday: 10970 taos: 73970578 length of headstuff: 57 headstuff: sat: 16 orb: 0 julianday: 10970 taos: 73970578 0.000 0.000 2700.1148 917.2289 838.1255 length of headstuff: 106 ************** results of initial calibration ******** from header firstday is : 13 arcsize: 5626 in sequence numlines: 1 day: 13 val: 410 arcsize: 5626 in sequence numlines: 2 day: 13 val: 415 arcsize: 5626 in sequence numlines: 3 day: 13 val: 0 realline before: 3 spaceref: 0.000000 targtemp: 297.641668 space rad: 0.000000 -4.500000 -3.610000 average space counts: 990.460000 991.280000 994.440000 average internal counts: 785.520000 390.540000 374.140000 satid: 16 launch_indx: -1 chan: 3 radspace: 0.000000 radtarget: 0.526455 spacebar:990.460000 internalbar: 785.520000 chan: 3 radspace: 0.000000 radtarget: 0.526455 spacebar:990.460000 internalbar: 785.520000 gain: -0.002569 offset: 2.544318 chan: 4 radspace: -4.500000 radtarget: 110.220702 spacebar:991.280000 internalbar: 390.540000 chan: 4 radspace: -4.500000 radtarget: 110.220702 spacebar:991.280000 internalbar: 390.540000 gain: -0.190966 offset: 184.800430 chan: 5 radspace: -3.610000 radtarget: 124.477218 spacebar:994.440000 internalbar: 374.140000 chan: 5 radspace: -3.610000 radtarget: 124.477218 spacebar:994.440000 internalbar: 374.140000 gain: -0.206492 offset: 201.734268 gain after: 0.054947 gain after: 0.054947 gain and offset up to scan line 53 : 0.054947 -2.116029 0.057655 -2.330979 -0.002569 2.544318 -0.190966 184.800430 -0.206492 201.734268 ************************************************************ trouble reading line in main DONE WITH CALIBRATION there were 1967 lines done THIS IS ACTUALLY rawcal15_new AS IT SHOULD BE CALIBRATION FILE: COEFFS.16 RADFLAG: 1 calib_dir: /Users/jkey/nav/cal name of caldatfile is: /Users/jkey/nav/cal/calibnew16.dat have found CENTRAL WAVE in string CENTRAL WAVE NUMBER TABLE 190.000000 230.000000 2638.652000 928.260300 834.449600 230.000000 270.000000 2642.807000 928.828400 834.806600 270.000000 310.000000 2645.899000 929.332300 835.164700 have found SPLIT CAL in string SPLIT CAL TABLE SPLIT GAINS and OFFSETS CHAN 1 count 0-490 gain: 0.052300 offset: -2.016000 CHAN 1 count 491-1023 gain: 0.152800 offset: -51.910000 CHAN 2 count 0-500 gain: 0.051300 offset: -1.943000 CHAN 2 count 501-1023 gain: 0.151000 offset: -51.770000 CHAN 3 count 0-499 gain: 0.028700 offset: -2.043000 CHAN 3 count 500-1023 gain: 0.180600 offset: -78.030000 WE ARE GOING NON LINEAR name of caldatfile is: /Users/jkey/nav/cal/calibnew16.dat have found NON LINEAR in string ABOUT TO READ NON LINEAR MATRIX have READ NON LINEAR MATRIX DONE WITH NON LINEAR STUFF have found NEW COEFFS in string ABOUT TO READ NEW COEFFS i: 0 NUC: 2700.114800 Anew: 1.592459 Bnew: 0.998147 NS: 0.000000 B0: 0.000000 B1: 0.000000 B2: 0.000000 i: 1 NUC: 917.228900 Anew: 0.332380 Bnew: 0.998522 NS: -2.467000 B0: 2.960000 B1: -0.054110 B2: 0.000245 i: 2 NUC: 838.125500 Anew: 0.674623 Bnew: 0.998363 NS: -2.009000 B0: 2.225000 B1: -0.036650 B2: 0.000149 DONE WITH NEW COEFFS calhead: sat: 16 orb: 0 julianday: 10970 taos: 73970578 0.000 0.000 2700.1148 917.2289 838.1255 (/Users/jkey/nav/cal/calibnew16.dat calhead: 0.000 0.000 2700.1148 917.2289 838.1255 (/Users/jkey/nav/cal/calibnew16.dat wavecent: 0.000000 0.000000 2700.114800 917.228900 838.125500 INVWAVE: 0.000000 size of cal file is: 208714 have read in cal array number of lines 1967 doing raw line: 0 doing raw line: 500 doing raw line: 1000 doing raw line: 1500 TIME calculation WAS REQUESTED SZA calculation WAS REQUESTED LINE and SAMPLE DATA WAS REQUESTED OSCULATING CORRECTIONS WILL BE APPLIED dashv: temp: strlen: 0 dashH: n strlen: 1 AFTER GET OPTIONS GAC DATA OPTION HAS BEEN CHOOSEN AFTER INIT input file has been opened, fp: 1883758400 after openarc fp: 1883758400 sid: 16d orbnum: 0d numscan: 1967d milday: 73970578d *** data header *** satid: 16 orbit number: 0 number of lines: 1967 julian day: 10970 time of first scan: 20.547382 ******************** AFTER INITDATA julday: 10970 taos: 73970578 TIME OF FIRST SCAN : 11/01/13 20:32:51 looking for ephemeris data for taos: 10970.856141 opening ephemeris after opening ephemeris size: 76 *******ephemeris elements ************ satid: 26536 orbit: 65195 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 ecc: 0.001062 argper: 0.364140 ascnode: 0.799605 inclin: 0.275446 ephoc: 110105000000 **************************** ******ephemnot structure follows*******: satid: 26536 orbit: 65195 size: 76 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 eccen: 0.001062 argper: 0.364140 ascenode: 0.799605 inclin: 0.275446 earadius: 6378137.000000 oblat: 0.001083 ***************************************************************** *********epheminit structure follows******* timnot: 10962.000000 smajaxis: 1.132905 decay: -0.000000 eccen: 0.001062 inclin: 1.730681 argper: 2.287962 perrate: -0.000551 longan: 5.024068 nodrate: 0.000201 ,meananom: 1.717550 meanmot: 0.828813 meanmotrate: 0.000000 grav constant: 398598005011040.375000 ***************************************************************** satlat1: -1.046073 satlat2: -1.071202 asnflag: -1 DATA IS DESCENDING **************** INITAILIZATION OVER ****************** dashr: 72.363 RANGE0: 72.363000 IN SATGEO line: 0 spot: 204 time: 10970.856141 IN SATGEO line: 5 spot: 204 time: 10970.856170 RANGE: 72.363000 Pass is Descending at start center lat: -89.999943 center lon: 180.000000 range: 72.363000 images will be processed using chunks of 321 lines getting space for 10 bit image image.proj: 8 fpsza: 7047dfd8 fpsaza: 7047e070 opening 135395993.NSS.GHRR.NL.D11013.S1942.E2136.B5315758.WI.S.1 OPENING chan: 0 fp: 1883759312 opening 135395993.NSS.GHRR.NL.D11013.S1942.E2136.B5315758.WI.S.2 OPENING chan: 1 fp: 1883759464 opening 135395993.NSS.GHRR.NL.D11013.S1942.E2136.B5315758.WI.S.3 OPENING chan: 2 fp: 1883759616 opening 135395993.NSS.GHRR.NL.D11013.S1942.E2136.B5315758.WI.S.4 OPENING chan: 3 fp: 1883759768 opening 135395993.NSS.GHRR.NL.D11013.S1942.E2136.B5315758.WI.S.5 OPENING chan: 4 fp: 1883759920 getting space for time array getting space for sza array getting space for saza array getting space for satelv array getting space for sataz array ************************************* total bytes malloced is : 3453394 ************************************* ******** current elements follow******** taos: 10970.856141 time: 10970.856141 smajaxis: 7225816.722164 eccentricity: 0.001062 inclin: 1.730734 argper: 1.854607 longan: -0.349773 meananom: 2.354324 trueanom: 2.355827 altitude: 7231250.265581 ********************************************** satpos: -2919726.957761 2141937.347423 -6271536.730877 satvel: 6296.323175 -1692.710884 -3517.548763 satlat: -59.998130 satlon: 143.735901 COMMAND>DASHD: n INTERPOLATION CHOOSEN , every 8 x pixel and every 8 ypixel going through pixels **** before templat: -36.957736 centtodet: -37.142800 CORNERS OF WHOLE IMAGE FOLLOW North West Corner lat: -37.142800 lon: -45.000061 North East Corner lat: -37.320927 lon: 44.821012 South East Corner lat: -37.499365 lon: 135.000061 South West Corner lat: -37.320826 lon: 225.178988 interpolation choosen every 8 i pixels and every 8 j pixels image will be processed in 1 chunks of 321 image lines segment 0 startj: 0 stopj: 321 starti: 0 stopi: 320 numj: 321 north west----- lat: -36.957736 lon: -45.000061 line: -999 spot: -999 north east----- lat: -37.135539 lon: 44.821012 line: -999 spot: -999 south east-----lat: -37.135438 lon: 135.179109 line: -999 spot: 318 south west-----lat: -36.957635 lon: 224.999939 line: -999 spot: -999 doing chunk number: 0 from line: 0 to line: 320 numcelx: 40 numcely: 40 extrai: 0 extraj: 0 ****minline: 0 maxline: 1965 in data aquisiton maxline: 1965 minline: 0 in data aquistion module image is contained within lines : 1 and 1965 data will be processed using 20 chunks of 100 lines in get10 searching data lines 1 to 101 for image lines 0 to 321 in get10 searching data lines 101 to 201 for image lines 0 to 321 in get10 searching data lines 201 to 301 for image lines 0 to 321 in get10 searching data lines 301 to 401 for image lines 0 to 321 in get10 searching data lines 401 to 501 for image lines 0 to 321 in get10 searching data lines 501 to 601 for image lines 0 to 321 in get10 searching data lines 601 to 701 for image lines 0 to 321 in get10 searching data lines 701 to 801 for image lines 0 to 321 in get10 searching data lines 801 to 901 for image lines 0 to 321 in get10 searching data lines 901 to 1001 for image lines 0 to 321 in get10 searching data lines 1001 to 1101 for image lines 0 to 321 in get10 searching data lines 1101 to 1201 for image lines 0 to 321 in get10 searching data lines 1201 to 1301 for image lines 0 to 321 in get10 searching data lines 1301 to 1401 for image lines 0 to 321 in get10 searching data lines 1401 to 1501 for image lines 0 to 321 in get10 searching data lines 1501 to 1601 for image lines 0 to 321 in get10 searching data lines 1601 to 1701 for image lines 0 to 321 in get10 searching data lines 1701 to 1801 for image lines 0 to 321 in get10 searching data lines 1801 to 1901 for image lines 0 to 321 done processing 1967 lines in get10 searching data lines 1901 to 2001 for image lines 0 to 321 dumping SZA array in dumpother j1: 0 j2: 321 ysize: 321 fpother: 1883758552 writing other type image in dumpother j1: 0 j2: 321 ysize: 321 fpother: 1883758704 writing other type image *************** dashY: y dumping ELEV array in dumpother j1: 0 j2: 321 ysize: 321 fpother: 1883759160 writing other type image dumping AZIM array in dumpother j1: 0 j2: 321 ysize: 321 fpother: 1883759008 writing other type image constructing TIME array in puttime j1: 0 j2: 321 ysize: 321 dumping TIME array in dumpother j1: 0 j2: 321 ysize: 321 fpother: 1883758856 writing other type image nchan: 5 dumping ch: 0 fp: 1883759312 about to dump image number: 0 channel: 1 xsize: 321 ysize: 321 IN WRITEIMAGE chan: 0 fp: 1883759312 DOne with dumpimage fp: 1883759312 have dumped ch: 0 fp: 1883759312 dumping ch: 1 fp: 1883759464 about to dump image number: 1 channel: 2 xsize: 321 ysize: 321 IN WRITEIMAGE chan: 1 fp: 1883759464 DOne with dumpimage fp: 1883759464 have dumped ch: 1 fp: 1883759464 dumping ch: 2 fp: 1883759616 about to dump image number: 2 channel: 3 xsize: 321 ysize: 321 IN WRITEIMAGE chan: 2 fp: 1883759616 DOne with dumpimage fp: 1883759616 have dumped ch: 2 fp: 1883759616 dumping ch: 3 fp: 1883759768 about to dump image number: 3 channel: 4 xsize: 321 ysize: 321 IN WRITEIMAGE chan: 3 fp: 1883759768 DOne with dumpimage fp: 1883759768 have dumped ch: 3 fp: 1883759768 dumping ch: 4 fp: 1883759920 about to dump image number: 4 channel: 5 xsize: 321 ysize: 321 IN WRITEIMAGE chan: 4 fp: 1883759920 DOne with dumpimage fp: 1883759920 have dumped ch: 4 fp: 1883759920 About to write headers fp: 1883759768 done with navigation--retrieving data ***** Running polar regions subsetting at Fri Jan 14 02:18:25 CST 2011 ***** Working on year and julian day (yyddd): 11013 (2011 Jan 13) command line args: ephemfile: /Users/jkey/nav/ephemeris northlimit: 60.000000 southlimit: -60.000000 data is type: G sds-type is: H region is: O SDS GAC data selected. year: 2011 day: 13 miilsecs: 77601078 before md doy: 13 year: 2011 **julianday: 10970 year: 2011 day: 13 miilsecs: 77601078 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 year: 2011 day: 13 miilsecs: 77601578 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 year: 2011 day: 13 miilsecs: 77602078 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 taos: 77601078 satid: 16 julian day: 10970 nlines: 9480 GOING INTO initorb4 satnum: 16 navsatid: 26536 calling readephem taos: 10970.898161 opening ephemeris after opening ephemeris size: 76 *******ephemeris elements ************ satid: 26536 orbit: 65195 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 ecc: 0.001062 argper: 0.364140 ascnode: 0.799605 inclin: 0.275446 ephoc: 110105000000 **************************** ******ephemnot structure follows*******: satid: 26536 orbit: 65195 size: 76 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 eccen: 0.001062 argper: 0.364140 ascenode: 0.799605 inclin: 0.275446 earadius: 6378137.000000 oblat: 0.001083 ***************************************************************** YEAR HERE: 11 *********epheminit structure follows******* timnot: 10962.000000 smajaxis: 1.132905 decay: -0.000000 eccen: 0.001062 inclin: 1.730681 argper: 2.287962 perrate: -0.000551 longan: 5.024068 nodrate: 0.000201 ,meananom: 1.717550 meanmot: 0.828813 meanmotrate: 0.000000 grav constant: 398598005011040.375000 ***************************************************************** ******** current elements follow******** taos: 10970.898161 time: 10970.898161 smajaxis: 7225816.699447 eccentricity: 0.001062 inclin: 1.730681 argper: 1.852551 longan: -0.613680 meananom: 791.481986 trueanom: 791.481565 altitude: 7218295.905957 ********************************************** ******** current elements follow******** taos: 10970.898161 time: 10970.898161 smajaxis: 7225816.699447 eccentricity: 0.001062 inclin: 1.730681 argper: 1.852551 longan: -0.613680 meananom: 791.481986 trueanom: 791.481565 altitude: 7218295.905957 ********************************************** SPECIFIC DATA: bytesperline: 4608 scanspersec: 2.000000 line : 0 10970.898161 79.777098 -152.490654 7212845.328974 Opening data.NORTH1 and writing header line: 0 line : 100 10970.898739 78.163206 -165.542371 7212855.258963 line : 200 10970.899318 76.117247 -175.209107 7212922.000622 line : 300 10970.899897 73.801706 177.644409 7213044.999540 line : 400 10970.900475 71.316088 172.245441 7213223.435271 line : 500 10970.901054 68.719428 168.049207 7213456.228775 line : 600 10970.901633 66.047325 164.694302 7213742.051740 line : 700 10970.902212 63.321956 161.941919 7214079.337690 line : 800 10970.902790 60.557639 159.631666 7214466.294784 line : 900 10970.903369 57.763937 157.653327 7214900.920155 line : 1000 10970.903948 54.947445 155.929309 7215381.015666 line : 1100 10970.904526 52.112843 154.403701 7215904.204921 line : 1200 10970.905105 49.263542 153.035331 7216467.951363 line : 1300 10970.905684 46.402088 151.793271 7217069.577290 line : 1400 10970.906262 43.530431 150.653860 7217706.283595 line : 1500 10970.906841 40.650096 149.598687 7218375.170053 line : 1600 10970.907420 37.762307 148.613208 7219073.255959 line : 1700 10970.907999 34.868068 147.685759 7219797.500917 line : 1800 10970.908577 31.968221 146.806857 7220544.825587 line : 1900 10970.909156 29.063491 145.968693 7221312.132216 line : 2000 10970.909735 26.154516 145.164747 7222096.324738 line : 2100 10970.910313 23.241868 144.389506 7222894.328284 line : 2200 10970.910892 20.326071 143.638246 7223703.107929 line : 2300 10970.911471 17.407616 142.906863 7224519.686495 line : 2400 10970.912050 14.486965 142.191739 7225341.161290 line : 2500 10970.912628 11.564561 141.489636 7226164.719613 line : 2600 10970.913207 8.640836 140.797609 7226987.652934 line : 2700 10970.913786 5.716209 140.112932 7227807.369611 line : 2800 10970.914364 2.791093 139.433034 7228621.406083 line : 2900 10970.914943 -0.134103 138.755445 7229427.436441 line : 3000 10970.915522 -3.058974 138.077742 7230223.280341 line : 3100 10970.916100 -5.983115 137.397502 7231006.909206 line : 3200 10970.916679 -8.906120 136.712248 7231776.450712 line : 3300 10970.917258 -11.827582 136.019405 7232530.191552 line : 3400 10970.917837 -14.747087 135.316233 7233266.578500 line : 3500 10970.918415 -17.664213 134.599772 7233984.217801 line : 3600 10970.918994 -20.578528 133.866767 7234681.872964 line : 3700 10970.919573 -23.489578 133.113575 7235358.460999 line : 3800 10970.920151 -26.396890 132.336063 7236013.047217 line : 3900 10970.920730 -29.299953 131.529469 7236644.838657 line : 4000 10970.921309 -32.198209 130.688236 7237253.176296 line : 4100 10970.921887 -35.091039 129.805789 7237837.526128 line : 4200 10970.922466 -37.977735 128.874248 7238397.469280 line : 4300 10970.923045 -40.857471 127.884049 7238932.691294 line : 4400 10970.923624 -43.729262 126.823421 7239442.970731 line : 4500 10970.924202 -46.591900 125.677689 7239928.167257 line : 4600 10970.924781 -49.443876 124.428275 7240388.209377 line : 4700 10970.925360 -52.283254 123.051308 7240823.081973 line : 4800 10970.925938 -55.107497 121.515587 7241232.813814 line : 4900 10970.926517 -57.913198 119.779591 7241617.465207 Opening data.SOUTH1 and writing header line: 4975 line : 5000 10970.927096 -60.695675 117.786955 7241977.115937 line : 5100 10970.927675 -63.448316 115.459503 7242311.853661 line : 5200 10970.928253 -66.161522 112.686281 7242621.762893 line : 5300 10970.928832 -68.820912 109.306024 7242906.914735 line : 5400 10970.929411 -71.404200 105.079075 7243167.357464 line : 5500 10970.929989 -73.875616 99.643802 7243403.108112 line : 5600 10970.930568 -76.175889 92.457708 7243614.145134 line : 5700 10970.931147 -78.205305 82.757811 7243800.402264 line : 5800 10970.931725 -79.801641 69.705575 7243961.763629 line : 5900 10970.932304 -80.738792 53.115042 7244098.060196 line : 6000 10970.932883 -80.813129 34.689447 7244209.067592 line : 6100 10970.933462 -80.005477 17.623798 7244294.505328 line : 6200 10970.934040 -78.500068 3.974384 7244354.037453 line : 6300 10970.934619 -76.528555 -6.216739 7244387.274619 line : 6400 10970.935198 -74.264799 -13.753516 7244393.777553 line : 6500 10970.935776 -71.817186 -19.430482 7244373.061893 line : 6600 10970.936355 -69.250191 -23.824988 7244324.604349 line : 6700 10970.936934 -66.602567 -27.323777 7244247.850095 line : 6800 10970.937512 -63.898318 -30.182877 7244142.221354 line : 6900 10970.938091 -61.152846 -32.574024 7244007.127030 line : 7000 10970.938670 -58.376376 -34.614924 7243841.973323 line : 7100 10970.939249 -55.575915 -36.388197 7243646.175178 line : 7200 10970.939827 -52.756401 -37.953190 7243419.168442 line : 7300 10970.940406 -49.921411 -39.353476 7243160.422605 line : 7400 10970.940985 -47.073597 -40.621694 7242869.453944 line : 7500 10970.941563 -44.214972 -41.782749 7242545.838952 line : 7600 10970.942142 -41.347100 -42.855965 7242189.227854 line : 7700 10970.942721 -38.471225 -43.856577 7241799.358087 line : 7800 10970.943300 -35.588355 -44.796771 7241376.067534 line : 7900 10970.943878 -32.699332 -45.686428 7240919.307395 line : 8000 10970.944457 -29.804873 -46.533672 7240429.154490 line : 8100 10970.945036 -26.905602 -47.345267 7239905.822865 line : 8200 10970.945614 -24.002077 -48.126916 7239349.674532 line : 8300 10970.946193 -21.094805 -48.883495 7238761.229205 line : 8400 10970.946772 -18.184258 -49.619229 7238141.172886 line : 8500 10970.947350 -15.270882 -50.337827 7237490.365184 line : 8600 10970.947929 -12.355102 -51.042600 7236809.845239 line : 8700 10970.948508 -9.437332 -51.736548 7236100.836165 line : 8800 10970.949087 -6.517975 -52.422434 7235364.747905 line : 8900 10970.949665 -3.597432 -53.102855 7234603.178436 line : 9000 10970.950244 -0.676097 -53.780294 7233817.913269 line : 9100 10970.950823 2.245636 -54.457172 7233010.923189 line : 9200 10970.951401 5.167372 -55.135902 7232184.360236 line : 9300 10970.951980 8.088712 -55.818934 7231340.551896 line : 9400 10970.952559 11.009257 -56.508808 7230481.993538 could not read line 9477 writing header for file 0 goint into getcorrectsdsvals year: 2011 day: 13 miilsecs: 77601078 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 going into makeheader with taos: 10970.898161 satid: 16 nlines: 824 IN MAKEHEADER going into first make1btime in make1btime taos: 10970.898161 millsec: 77601078 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 after first make1btime in make1btime taos: 10970.899750 millsec: 77738411 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 DONE WITH MAKEHEADER writing header for file 2 goint into getcorrectsdsvals year: 2011 day: 13 miilsecs: 80090078 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 going into makeheader with taos: 10970.926968 satid: 16 nlines: 1967 IN MAKEHEADER going into first make1btime in make1btime taos: 10970.926968 millsec: 80090078 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 after first make1btime in make1btime taos: 10970.930763 millsec: 80417911 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 DONE WITH MAKEHEADER ***** Running navigation/calibration at Fri Jan 14 02:18:26 CST 2011 ***** Working on year and julian day (yyddd): 11013 (2011 Jan 13) no H option specified TBMFLAG: compval: 0 reading input header input header has been read satid from header : 2 XX satid: 16 getting time from firstline getting time in gettime in: 7 db 0 d 0 6b 4 a0 19 36 year: 2011 day: 13 ymd year: 2011 ymd yeardif: 30 after getheader done with 824 lines header count: 0 actual: 824 header will be rewritten output header follows: satid: 16 orbnum: 0 nlines: 824 julday: 10970 taos: 77601078 NEW PROCESSGENERICGAC year: 2011 input file is : tmp output file is : tmp.p new processraw opening raw file: tmp opening archive file and writing header to tmp.p header written to newdataset dumsat: 3 satid from first line is: 16 year before julianday call: 2011 firstline curday: 13 julian: 10970 time: 77601078 linein: 0 curtime: 77601578 lasttime: 77601078 lastgood: 77601078 timdif: 500 linein: 100 curtime: 77651578 lasttime: 77651078 lastgood: 77651078 timdif: 500 linein: 200 curtime: 77701578 lasttime: 77701078 lastgood: 77701078 timdif: 500 linein: 300 curtime: 77751578 lasttime: 77751078 lastgood: 77751078 timdif: 500 linein: 400 curtime: 77801578 lasttime: 77801078 lastgood: 77801078 timdif: 500 linein: 500 curtime: 77851578 lasttime: 77851078 lastgood: 77851078 timdif: 500 linein: 600 curtime: 77901578 lasttime: 77901078 lastgood: 77901078 timdif: 500 linein: 700 curtime: 77951578 lasttime: 77951078 lastgood: 77951078 timdif: 500 linein: 800 curtime: 78001578 lasttime: 78001078 lastgood: 78001078 timdif: 500 could not read line bytes read: 0 error reading line: 823 archive corect to here will rewrite header correctly cleaning up archive file new header being written as: satid: 16 orbit number: 0 dum: 0 number of lines: 824 julian day: 10970d time of first scan: 21.555855 processing GAC data satid: 16 orbit number: 0 dum: 0 number of lines: 824 julian day: 10970d time of first scan: 21.555855 Seasonal correction for julian date 10970.898161 = 0.967376 flag is : S 11/01/13 00:00:00110113000000 year: 11 month: 1 day: 13 dayofyear: 13 file containing coefficients is COEFFS.16 calling openparm16 before sprintf parmfilename: /Users/jkey/nav/cal/calib16.dat i: 0 nu: 2226.179930 i: 1 nu: 782.472410 i: 2 nu: 714.285640 chan: 0 nuc: 2700.114800 A: 1.592459 B: 0.998147 chan: 1 nuc: 917.228900 A: 0.332380 B: 0.998522 chan: 2 nuc: 838.125500 A: 0.674623 B: 0.998363 i: 0 wave:0.000000 i: 1 wave:0.000000 i: 2 wave:2700.114800 i: 3 wave:917.228900 i: 4 wave:838.125500 before look for Z after look for Z about to leave openparm newflag is 1: 1 about to open: tmp.p headstuff: sat: 16 orb: 0 julianday: 10970 taos: 77601078 length of headstuff: 57 headstuff: sat: 16 orb: 0 julianday: 10970 taos: 77601078 0.000 0.000 2700.1148 917.2289 838.1255 length of headstuff: 106 ************** results of initial calibration ******** from header firstday is : 13 arcsize: 5626 in sequence numlines: 1 day: 13 val: 387 arcsize: 5626 in sequence numlines: 2 day: 13 val: 0 realline before: 2 spaceref: 0.000000 targtemp: 296.358049 space rad: 0.000000 -4.500000 -3.610000 average space counts: 990.380000 991.280000 994.280000 average internal counts: 795.240000 400.120000 383.940000 satid: 16 launch_indx: -1 chan: 3 radspace: 0.000000 radtarget: 0.497767 spacebar:990.380000 internalbar: 795.240000 chan: 3 radspace: 0.000000 radtarget: 0.497767 spacebar:990.380000 internalbar: 795.240000 gain: -0.002551 offset: 2.526280 chan: 4 radspace: -4.500000 radtarget: 108.101137 spacebar:991.280000 internalbar: 400.120000 chan: 4 radspace: -4.500000 radtarget: 108.101137 spacebar:991.280000 internalbar: 400.120000 gain: -0.190475 offset: 184.313950 chan: 5 radspace: -3.610000 radtarget: 122.280526 spacebar:994.280000 internalbar: 383.940000 chan: 5 radspace: -3.610000 radtarget: 122.280526 spacebar:994.280000 internalbar: 383.940000 gain: -0.206263 offset: 201.473129 gain after: 0.054947 gain after: 0.054947 gain and offset up to scan line 52 : 0.054947 -2.116038 0.057656 -2.330989 -0.002551 2.526280 -0.190475 184.313950 -0.206263 201.473129 ************************************************************ trouble reading line in main DONE WITH CALIBRATION there were 824 lines done THIS IS ACTUALLY rawcal15_new AS IT SHOULD BE CALIBRATION FILE: COEFFS.16 RADFLAG: 1 calib_dir: /Users/jkey/nav/cal name of caldatfile is: /Users/jkey/nav/cal/calibnew16.dat have found CENTRAL WAVE in string CENTRAL WAVE NUMBER TABLE 190.000000 230.000000 2638.652000 928.260300 834.449600 230.000000 270.000000 2642.807000 928.828400 834.806600 270.000000 310.000000 2645.899000 929.332300 835.164700 have found SPLIT CAL in string SPLIT CAL TABLE SPLIT GAINS and OFFSETS CHAN 1 count 0-490 gain: 0.052300 offset: -2.016000 CHAN 1 count 491-1023 gain: 0.152800 offset: -51.910000 CHAN 2 count 0-500 gain: 0.051300 offset: -1.943000 CHAN 2 count 501-1023 gain: 0.151000 offset: -51.770000 CHAN 3 count 0-499 gain: 0.028700 offset: -2.043000 CHAN 3 count 500-1023 gain: 0.180600 offset: -78.030000 WE ARE GOING NON LINEAR name of caldatfile is: /Users/jkey/nav/cal/calibnew16.dat have found NON LINEAR in string ABOUT TO READ NON LINEAR MATRIX have READ NON LINEAR MATRIX DONE WITH NON LINEAR STUFF have found NEW COEFFS in string ABOUT TO READ NEW COEFFS i: 0 NUC: 2700.114800 Anew: 1.592459 Bnew: 0.998147 NS: 0.000000 B0: 0.000000 B1: 0.000000 B2: 0.000000 i: 1 NUC: 917.228900 Anew: 0.332380 Bnew: 0.998522 NS: -2.467000 B0: 2.960000 B1: -0.054110 B2: 0.000245 i: 2 NUC: 838.125500 Anew: 0.674623 Bnew: 0.998363 NS: -2.009000 B0: 2.225000 B1: -0.036650 B2: 0.000149 DONE WITH NEW COEFFS calhead: sat: 16 orb: 0 julianday: 10970 taos: 77601078 0.000 0.000 2700.1148 917.2289 838.1255 K%/Users/jkey/nav/cal/calibnew16.dat calhead: 0.000 0.000 2700.1148 917.2289 838.1255 K%/Users/jkey/nav/cal/calibnew16.dat wavecent: 0.000000 0.000000 2700.114800 917.228900 838.125500 INVWAVE: 0.000000 size of cal file is: 87556 have read in cal array number of lines 824 doing raw line: 0 doing raw line: 500 TIME calculation WAS REQUESTED SZA calculation WAS REQUESTED LINE and SAMPLE DATA WAS REQUESTED OSCULATING CORRECTIONS WILL BE APPLIED dashv: temp: strlen: 0 dashH: n strlen: 1 AFTER GET OPTIONS GAC DATA OPTION HAS BEEN CHOOSEN AFTER INIT input file has been opened, fp: 1883758400 after openarc fp: 1883758400 sid: 16d orbnum: 0d numscan: 824d milday: 77601078d *** data header *** satid: 16 orbit number: 0 number of lines: 824 julian day: 10970 time of first scan: 21.555855 ******************** AFTER INITDATA julday: 10970 taos: 77601078 TIME OF FIRST SCAN : 11/01/13 21:33:21 looking for ephemeris data for taos: 10970.898161 opening ephemeris after opening ephemeris size: 76 *******ephemeris elements ************ satid: 26536 orbit: 65195 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 ecc: 0.001062 argper: 0.364140 ascnode: 0.799605 inclin: 0.275446 ephoc: 110105000000 **************************** ******ephemnot structure follows*******: satid: 26536 orbit: 65195 size: 76 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 eccen: 0.001062 argper: 0.364140 ascenode: 0.799605 inclin: 0.275446 earadius: 6378137.000000 oblat: 0.001083 ***************************************************************** *********epheminit structure follows******* timnot: 10962.000000 smajaxis: 1.132905 decay: -0.000000 eccen: 0.001062 inclin: 1.730681 argper: 2.287962 perrate: -0.000551 longan: 5.024068 nodrate: 0.000201 ,meananom: 1.717550 meanmot: 0.828813 meanmotrate: 0.000000 grav constant: 398598005011040.375000 ***************************************************************** satlat1: 1.391284 satlat2: 1.377756 asnflag: -1 DATA IS DESCENDING **************** INITAILIZATION OVER ****************** dashr: 81.38011 RANGE0: 81.380110 IN SATGEO line: 0 spot: 204 time: 10970.898161 IN SATGEO line: 5 spot: 204 time: 10970.898190 RANGE: 81.380110 Pass is Descending at start center lat: 90.000000 center lon: 0.000000 range: 81.380110 images will be processed using chunks of 361 lines getting space for 10 bit image image.proj: 8 fpsza: 7047dfd8 fpsaza: 7047e070 opening 135396383.NSS.GHRR.NL.D11013.S2133.E2252.B5315859.WI.N1.1 OPENING chan: 0 fp: 1883759312 opening 135396383.NSS.GHRR.NL.D11013.S2133.E2252.B5315859.WI.N1.2 OPENING chan: 1 fp: 1883759464 opening 135396383.NSS.GHRR.NL.D11013.S2133.E2252.B5315859.WI.N1.3 OPENING chan: 2 fp: 1883759616 opening 135396383.NSS.GHRR.NL.D11013.S2133.E2252.B5315859.WI.N1.4 OPENING chan: 3 fp: 1883759768 opening 135396383.NSS.GHRR.NL.D11013.S2133.E2252.B5315859.WI.N1.5 OPENING chan: 4 fp: 1883759920 getting space for time array getting space for sza array getting space for saza array getting space for satelv array getting space for sataz array ************************************* total bytes malloced is : 4217234 ************************************* ******** current elements follow******** taos: 10970.898161 time: 10970.898161 smajaxis: 7225816.699447 eccentricity: 0.001062 inclin: 1.730779 argper: 1.852551 longan: -0.613664 meananom: 6.083823 trueanom: 6.083401 altitude: 7218292.020026 ********************************************** satpos: -1143286.961886 -595394.580689 7096727.270775 satvel: -6002.722330 4347.191886 -602.702044 satlat: 79.705185 satlon: -152.490654 COMMAND>DASHD: n INTERPOLATION CHOOSEN , every 8 x pixel and every 8 ypixel going through pixels **** before templat: 29.712678 centtodet: 29.878633 CORNERS OF WHOLE IMAGE FOLLOW North West Corner lat: 29.878633 lon: 225.000000 North East Corner lat: 30.063244 lon: 135.159155 South East Corner lat: 30.248190 lon: 45.000000 South West Corner lat: 30.063244 lon: -45.159155 interpolation choosen every 8 i pixels and every 8 j pixels image will be processed in 1 chunks of 361 image lines segment 0 startj: 0 stopj: 361 starti: 0 stopi: 360 numj: 361 north west----- lat: 29.712678 lon: 225.000000 line: -999 spot: -999 north east----- lat: 29.896666 lon: 135.159155 line: -999 spot: 27 south east-----lat: 29.896666 lon: 44.840845 line: -999 spot: -999 south west-----lat: 29.712678 lon: -45.000000 line: -999 spot: -999 doing chunk number: 0 from line: 0 to line: 360 numcelx: 45 numcely: 45 extrai: 0 extraj: 0 ****minline: 1 maxline: 819 in data aquisiton maxline: 819 minline: 1 in data aquistion module image is contained within lines : 1 and 819 data will be processed using 9 chunks of 100 lines in get10 searching data lines 1 to 101 for image lines 0 to 361 in get10 searching data lines 101 to 201 for image lines 0 to 361 in get10 searching data lines 201 to 301 for image lines 0 to 361 in get10 searching data lines 301 to 401 for image lines 0 to 361 in get10 searching data lines 401 to 501 for image lines 0 to 361 in get10 searching data lines 501 to 601 for image lines 0 to 361 in get10 searching data lines 601 to 701 for image lines 0 to 361 in get10 searching data lines 701 to 801 for image lines 0 to 361 done processing 824 lines in get10 searching data lines 801 to 901 for image lines 0 to 361 dumping SZA array in dumpother j1: 0 j2: 361 ysize: 361 fpother: 1883758552 writing other type image in dumpother j1: 0 j2: 361 ysize: 361 fpother: 1883758704 writing other type image *************** dashY: y dumping ELEV array in dumpother j1: 0 j2: 361 ysize: 361 fpother: 1883759160 writing other type image dumping AZIM array in dumpother j1: 0 j2: 361 ysize: 361 fpother: 1883759008 writing other type image constructing TIME array in puttime j1: 0 j2: 361 ysize: 361 dumping TIME array in dumpother j1: 0 j2: 361 ysize: 361 fpother: 1883758856 writing other type image nchan: 5 dumping ch: 0 fp: 1883759312 about to dump image number: 0 channel: 1 xsize: 361 ysize: 361 IN WRITEIMAGE chan: 0 fp: 1883759312 DOne with dumpimage fp: 1883759312 have dumped ch: 0 fp: 1883759312 dumping ch: 1 fp: 1883759464 about to dump image number: 1 channel: 2 xsize: 361 ysize: 361 IN WRITEIMAGE chan: 1 fp: 1883759464 DOne with dumpimage fp: 1883759464 have dumped ch: 1 fp: 1883759464 dumping ch: 2 fp: 1883759616 about to dump image number: 2 channel: 3 xsize: 361 ysize: 361 IN WRITEIMAGE chan: 2 fp: 1883759616 DOne with dumpimage fp: 1883759616 have dumped ch: 2 fp: 1883759616 dumping ch: 3 fp: 1883759768 about to dump image number: 3 channel: 4 xsize: 361 ysize: 361 IN WRITEIMAGE chan: 3 fp: 1883759768 DOne with dumpimage fp: 1883759768 have dumped ch: 3 fp: 1883759768 dumping ch: 4 fp: 1883759920 about to dump image number: 4 channel: 5 xsize: 361 ysize: 361 IN WRITEIMAGE chan: 4 fp: 1883759920 DOne with dumpimage fp: 1883759920 have dumped ch: 4 fp: 1883759920 About to write headers fp: 1883759768 done with navigation--retrieving data ***** Running polar regions subsetting at Fri Jan 14 02:18:26 CST 2011 ***** Working on year and julian day (yyddd): 11013 (2011 Jan 13) command line args: ephemfile: /Users/jkey/nav/ephemeris northlimit: 60.000000 southlimit: -60.000000 data is type: G sds-type is: H region is: O SDS GAC data selected. year: 2011 day: 13 miilsecs: 77601078 before md doy: 13 year: 2011 **julianday: 10970 year: 2011 day: 13 miilsecs: 77601078 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 year: 2011 day: 13 miilsecs: 77601578 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 year: 2011 day: 13 miilsecs: 77602078 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 taos: 77601078 satid: 16 julian day: 10970 nlines: 9480 GOING INTO initorb4 satnum: 16 navsatid: 26536 calling readephem taos: 10970.898161 opening ephemeris after opening ephemeris size: 76 *******ephemeris elements ************ satid: 26536 orbit: 65195 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 ecc: 0.001062 argper: 0.364140 ascnode: 0.799605 inclin: 0.275446 ephoc: 110105000000 **************************** ******ephemnot structure follows*******: satid: 26536 orbit: 65195 size: 76 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 eccen: 0.001062 argper: 0.364140 ascenode: 0.799605 inclin: 0.275446 earadius: 6378137.000000 oblat: 0.001083 ***************************************************************** YEAR HERE: 11 *********epheminit structure follows******* timnot: 10962.000000 smajaxis: 1.132905 decay: -0.000000 eccen: 0.001062 inclin: 1.730681 argper: 2.287962 perrate: -0.000551 longan: 5.024068 nodrate: 0.000201 ,meananom: 1.717550 meanmot: 0.828813 meanmotrate: 0.000000 grav constant: 398598005011040.375000 ***************************************************************** ******** current elements follow******** taos: 10970.898161 time: 10970.898161 smajaxis: 7225816.699447 eccentricity: 0.001062 inclin: 1.730681 argper: 1.852551 longan: -0.613680 meananom: 791.481986 trueanom: 791.481565 altitude: 7218295.905957 ********************************************** ******** current elements follow******** taos: 10970.898161 time: 10970.898161 smajaxis: 7225816.699447 eccentricity: 0.001062 inclin: 1.730681 argper: 1.852551 longan: -0.613680 meananom: 791.481986 trueanom: 791.481565 altitude: 7218295.905957 ********************************************** SPECIFIC DATA: bytesperline: 4608 scanspersec: 2.000000 line : 0 10970.898161 79.777098 -152.490654 7212845.328974 Opening data.NORTH1 and writing header line: 0 line : 100 10970.898739 78.163206 -165.542371 7212855.258963 line : 200 10970.899318 76.117247 -175.209107 7212922.000622 line : 300 10970.899897 73.801706 177.644409 7213044.999540 line : 400 10970.900475 71.316088 172.245441 7213223.435271 line : 500 10970.901054 68.719428 168.049207 7213456.228775 line : 600 10970.901633 66.047325 164.694302 7213742.051740 line : 700 10970.902212 63.321956 161.941919 7214079.337690 line : 800 10970.902790 60.557639 159.631666 7214466.294784 line : 900 10970.903369 57.763937 157.653327 7214900.920155 line : 1000 10970.903948 54.947445 155.929309 7215381.015666 line : 1100 10970.904526 52.112843 154.403701 7215904.204921 line : 1200 10970.905105 49.263542 153.035331 7216467.951363 line : 1300 10970.905684 46.402088 151.793271 7217069.577290 line : 1400 10970.906262 43.530431 150.653860 7217706.283595 line : 1500 10970.906841 40.650096 149.598687 7218375.170053 line : 1600 10970.907420 37.762307 148.613208 7219073.255959 line : 1700 10970.907999 34.868068 147.685759 7219797.500917 line : 1800 10970.908577 31.968221 146.806857 7220544.825587 line : 1900 10970.909156 29.063491 145.968693 7221312.132216 line : 2000 10970.909735 26.154516 145.164747 7222096.324738 line : 2100 10970.910313 23.241868 144.389506 7222894.328284 line : 2200 10970.910892 20.326071 143.638246 7223703.107929 line : 2300 10970.911471 17.407616 142.906863 7224519.686495 line : 2400 10970.912050 14.486965 142.191739 7225341.161290 line : 2500 10970.912628 11.564561 141.489636 7226164.719613 line : 2600 10970.913207 8.640836 140.797609 7226987.652934 line : 2700 10970.913786 5.716209 140.112932 7227807.369611 line : 2800 10970.914364 2.791093 139.433034 7228621.406083 line : 2900 10970.914943 -0.134103 138.755445 7229427.436441 line : 3000 10970.915522 -3.058974 138.077742 7230223.280341 line : 3100 10970.916100 -5.983115 137.397502 7231006.909206 line : 3200 10970.916679 -8.906120 136.712248 7231776.450712 line : 3300 10970.917258 -11.827582 136.019405 7232530.191552 line : 3400 10970.917837 -14.747087 135.316233 7233266.578500 line : 3500 10970.918415 -17.664213 134.599772 7233984.217801 line : 3600 10970.918994 -20.578528 133.866767 7234681.872964 line : 3700 10970.919573 -23.489578 133.113575 7235358.460999 line : 3800 10970.920151 -26.396890 132.336063 7236013.047217 line : 3900 10970.920730 -29.299953 131.529469 7236644.838657 line : 4000 10970.921309 -32.198209 130.688236 7237253.176296 line : 4100 10970.921887 -35.091039 129.805789 7237837.526128 line : 4200 10970.922466 -37.977735 128.874248 7238397.469280 line : 4300 10970.923045 -40.857471 127.884049 7238932.691294 line : 4400 10970.923624 -43.729262 126.823421 7239442.970731 line : 4500 10970.924202 -46.591900 125.677689 7239928.167257 line : 4600 10970.924781 -49.443876 124.428275 7240388.209377 line : 4700 10970.925360 -52.283254 123.051308 7240823.081973 line : 4800 10970.925938 -55.107497 121.515587 7241232.813814 line : 4900 10970.926517 -57.913198 119.779591 7241617.465207 Opening data.SOUTH1 and writing header line: 4975 line : 5000 10970.927096 -60.695675 117.786955 7241977.115937 line : 5100 10970.927675 -63.448316 115.459503 7242311.853661 line : 5200 10970.928253 -66.161522 112.686281 7242621.762893 line : 5300 10970.928832 -68.820912 109.306024 7242906.914735 line : 5400 10970.929411 -71.404200 105.079075 7243167.357464 line : 5500 10970.929989 -73.875616 99.643802 7243403.108112 line : 5600 10970.930568 -76.175889 92.457708 7243614.145134 line : 5700 10970.931147 -78.205305 82.757811 7243800.402264 line : 5800 10970.931725 -79.801641 69.705575 7243961.763629 line : 5900 10970.932304 -80.738792 53.115042 7244098.060196 line : 6000 10970.932883 -80.813129 34.689447 7244209.067592 line : 6100 10970.933462 -80.005477 17.623798 7244294.505328 line : 6200 10970.934040 -78.500068 3.974384 7244354.037453 line : 6300 10970.934619 -76.528555 -6.216739 7244387.274619 line : 6400 10970.935198 -74.264799 -13.753516 7244393.777553 line : 6500 10970.935776 -71.817186 -19.430482 7244373.061893 line : 6600 10970.936355 -69.250191 -23.824988 7244324.604349 line : 6700 10970.936934 -66.602567 -27.323777 7244247.850095 line : 6800 10970.937512 -63.898318 -30.182877 7244142.221354 line : 6900 10970.938091 -61.152846 -32.574024 7244007.127030 line : 7000 10970.938670 -58.376376 -34.614924 7243841.973323 line : 7100 10970.939249 -55.575915 -36.388197 7243646.175178 line : 7200 10970.939827 -52.756401 -37.953190 7243419.168442 line : 7300 10970.940406 -49.921411 -39.353476 7243160.422605 line : 7400 10970.940985 -47.073597 -40.621694 7242869.453944 line : 7500 10970.941563 -44.214972 -41.782749 7242545.838952 line : 7600 10970.942142 -41.347100 -42.855965 7242189.227854 line : 7700 10970.942721 -38.471225 -43.856577 7241799.358087 line : 7800 10970.943300 -35.588355 -44.796771 7241376.067534 line : 7900 10970.943878 -32.699332 -45.686428 7240919.307395 line : 8000 10970.944457 -29.804873 -46.533672 7240429.154490 line : 8100 10970.945036 -26.905602 -47.345267 7239905.822865 line : 8200 10970.945614 -24.002077 -48.126916 7239349.674532 line : 8300 10970.946193 -21.094805 -48.883495 7238761.229205 line : 8400 10970.946772 -18.184258 -49.619229 7238141.172886 line : 8500 10970.947350 -15.270882 -50.337827 7237490.365184 line : 8600 10970.947929 -12.355102 -51.042600 7236809.845239 line : 8700 10970.948508 -9.437332 -51.736548 7236100.836165 line : 8800 10970.949087 -6.517975 -52.422434 7235364.747905 line : 8900 10970.949665 -3.597432 -53.102855 7234603.178436 line : 9000 10970.950244 -0.676097 -53.780294 7233817.913269 line : 9100 10970.950823 2.245636 -54.457172 7233010.923189 line : 9200 10970.951401 5.167372 -55.135902 7232184.360236 line : 9300 10970.951980 8.088712 -55.818934 7231340.551896 line : 9400 10970.952559 11.009257 -56.508808 7230481.993538 could not read line 9477 writing header for file 0 goint into getcorrectsdsvals year: 2011 day: 13 miilsecs: 77601078 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 going into makeheader with taos: 10970.898161 satid: 16 nlines: 824 IN MAKEHEADER going into first make1btime in make1btime taos: 10970.898161 millsec: 77601078 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 after first make1btime in make1btime taos: 10970.899750 millsec: 77738411 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 DONE WITH MAKEHEADER writing header for file 2 goint into getcorrectsdsvals year: 2011 day: 13 miilsecs: 80090078 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 going into makeheader with taos: 10970.926968 satid: 16 nlines: 1967 IN MAKEHEADER going into first make1btime in make1btime taos: 10970.926968 millsec: 80090078 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 after first make1btime in make1btime taos: 10970.930763 millsec: 80417911 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 DONE WITH MAKEHEADER ***** Running navigation/calibration at Fri Jan 14 02:18:26 CST 2011 ***** Working on year and julian day (yyddd): 11013 (2011 Jan 13) no H option specified TBMFLAG: compval: 0 reading input header input header has been read satid from header : 2 XX satid: 16 getting time from firstline getting time in gettime in: 7 db 0 d 0 6b 4 c6 13 de year: 2011 day: 13 ymd year: 2011 ymd yeardif: 30 after getheader done with 1967 lines header count: 0 actual: 1967 header will be rewritten output header follows: satid: 16 orbnum: 0 nlines: 1967 julday: 10970 taos: 80090078 NEW PROCESSGENERICGAC year: 2011 input file is : tmp output file is : tmp.p new processraw opening raw file: tmp opening archive file and writing header to tmp.p header written to newdataset dumsat: 3 satid from first line is: 16 year before julianday call: 2011 firstline curday: 13 julian: 10970 time: 80090078 linein: 0 curtime: 80090578 lasttime: 80090078 lastgood: 80090078 timdif: 500 linein: 100 curtime: 80140578 lasttime: 80140078 lastgood: 80140078 timdif: 500 linein: 200 curtime: 80190578 lasttime: 80190078 lastgood: 80190078 timdif: 500 linein: 300 curtime: 80240578 lasttime: 80240078 lastgood: 80240078 timdif: 500 linein: 400 curtime: 80290578 lasttime: 80290078 lastgood: 80290078 timdif: 500 linein: 500 curtime: 80340578 lasttime: 80340078 lastgood: 80340078 timdif: 500 linein: 600 curtime: 80390578 lasttime: 80390078 lastgood: 80390078 timdif: 500 linein: 700 curtime: 80440578 lasttime: 80440078 lastgood: 80440078 timdif: 500 linein: 800 curtime: 80490578 lasttime: 80490078 lastgood: 80490078 timdif: 500 linein: 900 curtime: 80540578 lasttime: 80540078 lastgood: 80540078 timdif: 500 linein: 1000 curtime: 80590578 lasttime: 80590078 lastgood: 80590078 timdif: 500 linein: 1100 curtime: 80640578 lasttime: 80640078 lastgood: 80640078 timdif: 500 linein: 1200 curtime: 80690578 lasttime: 80690078 lastgood: 80690078 timdif: 500 linein: 1300 curtime: 80740578 lasttime: 80740078 lastgood: 80740078 timdif: 500 linein: 1400 curtime: 80790578 lasttime: 80790078 lastgood: 80790078 timdif: 500 linein: 1500 curtime: 80840578 lasttime: 80840078 lastgood: 80840078 timdif: 500 linein: 1600 curtime: 80890578 lasttime: 80890078 lastgood: 80890078 timdif: 500 linein: 1700 curtime: 80940578 lasttime: 80940078 lastgood: 80940078 timdif: 500 linein: 1800 curtime: 80990578 lasttime: 80990078 lastgood: 80990078 timdif: 500 linein: 1900 curtime: 81040578 lasttime: 81040078 lastgood: 81040078 timdif: 500 could not read line bytes read: 0 error reading line: 1966 archive corect to here will rewrite header correctly cleaning up archive file new header being written as: satid: 16 orbit number: 0 dum: 0 number of lines: 1967 julian day: 10970d time of first scan: 22.247244 processing GAC data satid: 16 orbit number: 0 dum: 0 number of lines: 1967 julian day: 10970d time of first scan: 22.247244 Seasonal correction for julian date 10970.926968 = 0.967379 flag is : S 11/01/13 00:00:00110113000000 year: 11 month: 1 day: 13 dayofyear: 13 file containing coefficients is COEFFS.16 calling openparm16 before sprintf parmfilename: /Users/jkey/nav/cal/calib16.dat i: 0 nu: 2226.179930 i: 1 nu: 782.472410 i: 2 nu: 714.285640 chan: 0 nuc: 2700.114800 A: 1.592459 B: 0.998147 chan: 1 nuc: 917.228900 A: 0.332380 B: 0.998522 chan: 2 nuc: 838.125500 A: 0.674623 B: 0.998363 i: 0 wave:0.000000 i: 1 wave:0.000000 i: 2 wave:2700.114800 i: 3 wave:917.228900 i: 4 wave:838.125500 before look for Z after look for Z about to leave openparm newflag is 1: 1 about to open: tmp.p headstuff: sat: 16 orb: 0 julianday: 10970 taos: 80090078 length of headstuff: 57 headstuff: sat: 16 orb: 0 julianday: 10970 taos: 80090078 0.000 0.000 2700.1148 917.2289 838.1255 length of headstuff: 106 ************** results of initial calibration ******** from header firstday is : 13 arcsize: 5626 in sequence numlines: 1 day: 13 val: 405 arcsize: 5626 in sequence numlines: 2 day: 13 val: 410 arcsize: 5626 in sequence numlines: 3 day: 13 val: 416 arcsize: 5626 in sequence numlines: 4 day: 13 val: 0 realline before: 4 spaceref: 0.000000 targtemp: 297.649433 space rad: 0.000000 -4.500000 -3.610000 average space counts: 990.480000 991.280000 994.400000 average internal counts: 785.500000 390.220000 374.000000 satid: 16 launch_indx: -1 chan: 3 radspace: 0.000000 radtarget: 0.526633 spacebar:990.480000 internalbar: 785.500000 chan: 3 radspace: 0.000000 radtarget: 0.526633 spacebar:990.480000 internalbar: 785.500000 gain: -0.002569 offset: 2.544732 chan: 4 radspace: -4.500000 radtarget: 110.233595 spacebar:991.280000 internalbar: 390.220000 chan: 4 radspace: -4.500000 radtarget: 110.233595 spacebar:991.280000 internalbar: 390.220000 gain: -0.190885 offset: 184.720901 chan: 5 radspace: -3.610000 radtarget: 124.490570 spacebar:994.400000 internalbar: 374.000000 chan: 5 radspace: -3.610000 radtarget: 124.490570 spacebar:994.400000 internalbar: 374.000000 gain: -0.206481 offset: 201.714310 gain after: 0.054947 gain after: 0.054947 gain and offset up to scan line 54 : 0.054947 -2.116045 0.057656 -2.330996 -0.002569 2.544732 -0.190885 184.720901 -0.206481 201.714310 ************************************************************ trouble reading line in main DONE WITH CALIBRATION there were 1967 lines done THIS IS ACTUALLY rawcal15_new AS IT SHOULD BE CALIBRATION FILE: COEFFS.16 RADFLAG: 1 calib_dir: /Users/jkey/nav/cal name of caldatfile is: /Users/jkey/nav/cal/calibnew16.dat have found CENTRAL WAVE in string CENTRAL WAVE NUMBER TABLE 190.000000 230.000000 2638.652000 928.260300 834.449600 230.000000 270.000000 2642.807000 928.828400 834.806600 270.000000 310.000000 2645.899000 929.332300 835.164700 have found SPLIT CAL in string SPLIT CAL TABLE SPLIT GAINS and OFFSETS CHAN 1 count 0-490 gain: 0.052300 offset: -2.016000 CHAN 1 count 491-1023 gain: 0.152800 offset: -51.910000 CHAN 2 count 0-500 gain: 0.051300 offset: -1.943000 CHAN 2 count 501-1023 gain: 0.151000 offset: -51.770000 CHAN 3 count 0-499 gain: 0.028700 offset: -2.043000 CHAN 3 count 500-1023 gain: 0.180600 offset: -78.030000 WE ARE GOING NON LINEAR name of caldatfile is: /Users/jkey/nav/cal/calibnew16.dat have found NON LINEAR in string ABOUT TO READ NON LINEAR MATRIX have READ NON LINEAR MATRIX DONE WITH NON LINEAR STUFF have found NEW COEFFS in string ABOUT TO READ NEW COEFFS i: 0 NUC: 2700.114800 Anew: 1.592459 Bnew: 0.998147 NS: 0.000000 B0: 0.000000 B1: 0.000000 B2: 0.000000 i: 1 NUC: 917.228900 Anew: 0.332380 Bnew: 0.998522 NS: -2.467000 B0: 2.960000 B1: -0.054110 B2: 0.000245 i: 2 NUC: 838.125500 Anew: 0.674623 Bnew: 0.998363 NS: -2.009000 B0: 2.225000 B1: -0.036650 B2: 0.000149 DONE WITH NEW COEFFS calhead: sat: 16 orb: 0 julianday: 10970 taos: 80090078 0.000 0.000 2700.1148 917.2289 838.1255 4 H/Users/jkey/nav/cal/calibnew16.dat calhead: 0.000 0.000 2700.1148 917.2289 838.1255 4 H/Users/jkey/nav/cal/calibnew16.dat wavecent: 0.000000 0.000000 2700.114800 917.228900 838.125500 INVWAVE: 0.000000 size of cal file is: 208714 have read in cal array number of lines 1967 doing raw line: 0 doing raw line: 500 doing raw line: 1000 doing raw line: 1500 TIME calculation WAS REQUESTED SZA calculation WAS REQUESTED LINE and SAMPLE DATA WAS REQUESTED OSCULATING CORRECTIONS WILL BE APPLIED dashv: temp: strlen: 0 dashH: n strlen: 1 AFTER GET OPTIONS GAC DATA OPTION HAS BEEN CHOOSEN AFTER INIT input file has been opened, fp: 1883758400 after openarc fp: 1883758400 sid: 16d orbnum: 0d numscan: 1967d milday: 80090078d *** data header *** satid: 16 orbit number: 0 number of lines: 1967 julian day: 10970 time of first scan: 22.247244 ******************** AFTER INITDATA julday: 10970 taos: 80090078 TIME OF FIRST SCAN : 11/01/13 22:14:50 looking for ephemeris data for taos: 10970.926968 opening ephemeris after opening ephemeris size: 76 *******ephemeris elements ************ satid: 26536 orbit: 65195 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 ecc: 0.001062 argper: 0.364140 ascnode: 0.799605 inclin: 0.275446 ephoc: 110105000000 **************************** ******ephemnot structure follows*******: satid: 26536 orbit: 65195 size: 76 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 eccen: 0.001062 argper: 0.364140 ascenode: 0.799605 inclin: 0.275446 earadius: 6378137.000000 oblat: 0.001083 ***************************************************************** *********epheminit structure follows******* timnot: 10962.000000 smajaxis: 1.132905 decay: -0.000000 eccen: 0.001062 inclin: 1.730681 argper: 2.287962 perrate: -0.000551 longan: 5.024068 nodrate: 0.000201 ,meananom: 1.717550 meanmot: 0.828813 meanmotrate: 0.000000 grav constant: 398598005011040.375000 ***************************************************************** satlat1: -1.045802 satlat2: -1.070933 asnflag: -1 DATA IS DESCENDING **************** INITAILIZATION OVER ****************** dashr: 72.363 RANGE0: 72.363000 IN SATGEO line: 0 spot: 204 time: 10970.926968 IN SATGEO line: 5 spot: 204 time: 10970.926997 RANGE: 72.363000 Pass is Descending at start center lat: -89.999943 center lon: 180.000000 range: 72.363000 images will be processed using chunks of 321 lines getting space for 10 bit image image.proj: 8 fpsza: 7047dfd8 fpsaza: 7047e070 opening 135396383.NSS.GHRR.NL.D11013.S2133.E2252.B5315859.WI.S.1 OPENING chan: 0 fp: 1883759312 opening 135396383.NSS.GHRR.NL.D11013.S2133.E2252.B5315859.WI.S.2 OPENING chan: 1 fp: 1883759464 opening 135396383.NSS.GHRR.NL.D11013.S2133.E2252.B5315859.WI.S.3 OPENING chan: 2 fp: 1883759616 opening 135396383.NSS.GHRR.NL.D11013.S2133.E2252.B5315859.WI.S.4 OPENING chan: 3 fp: 1883759768 opening 135396383.NSS.GHRR.NL.D11013.S2133.E2252.B5315859.WI.S.5 OPENING chan: 4 fp: 1883759920 getting space for time array getting space for sza array getting space for saza array getting space for satelv array getting space for sataz array ************************************* total bytes malloced is : 3453394 ************************************* ******** current elements follow******** taos: 10970.926968 time: 10970.926968 smajaxis: 7225816.683873 eccentricity: 0.001062 inclin: 1.730734 argper: 1.851141 longan: -0.794752 meananom: 2.357509 trueanom: 2.359007 altitude: 7231267.443875 ********************************************** satpos: -1714815.497148 3191305.406588 -6270573.751674 satvel: 4954.072558 -4237.121960 -3519.352880 satlat: -59.982666 satlon: 118.250909 COMMAND>DASHD: n INTERPOLATION CHOOSEN , every 8 x pixel and every 8 ypixel going through pixels **** before templat: -36.957736 centtodet: -37.142800 CORNERS OF WHOLE IMAGE FOLLOW North West Corner lat: -37.142800 lon: -45.000061 North East Corner lat: -37.320927 lon: 44.821012 South East Corner lat: -37.499365 lon: 135.000061 South West Corner lat: -37.320826 lon: 225.178988 interpolation choosen every 8 i pixels and every 8 j pixels image will be processed in 1 chunks of 321 image lines segment 0 startj: 0 stopj: 321 starti: 0 stopi: 320 numj: 321 north west----- lat: -36.957736 lon: -45.000061 line: -999 spot: 219 north east----- lat: -37.135539 lon: 44.821012 line: -999 spot: -999 south east-----lat: -37.135438 lon: 135.179109 line: -999 spot: -999 south west-----lat: -36.957635 lon: 224.999939 line: -999 spot: -999 doing chunk number: 0 from line: 0 to line: 320 numcelx: 40 numcely: 40 extrai: 0 extraj: 0 ****minline: 1 maxline: 1965 in data aquisiton maxline: 1965 minline: 1 in data aquistion module image is contained within lines : 1 and 1965 data will be processed using 20 chunks of 100 lines in get10 searching data lines 1 to 101 for image lines 0 to 321 in get10 searching data lines 101 to 201 for image lines 0 to 321 in get10 searching data lines 201 to 301 for image lines 0 to 321 in get10 searching data lines 301 to 401 for image lines 0 to 321 in get10 searching data lines 401 to 501 for image lines 0 to 321 in get10 searching data lines 501 to 601 for image lines 0 to 321 in get10 searching data lines 601 to 701 for image lines 0 to 321 in get10 searching data lines 701 to 801 for image lines 0 to 321 in get10 searching data lines 801 to 901 for image lines 0 to 321 in get10 searching data lines 901 to 1001 for image lines 0 to 321 in get10 searching data lines 1001 to 1101 for image lines 0 to 321 in get10 searching data lines 1101 to 1201 for image lines 0 to 321 in get10 searching data lines 1201 to 1301 for image lines 0 to 321 in get10 searching data lines 1301 to 1401 for image lines 0 to 321 in get10 searching data lines 1401 to 1501 for image lines 0 to 321 in get10 searching data lines 1501 to 1601 for image lines 0 to 321 in get10 searching data lines 1601 to 1701 for image lines 0 to 321 in get10 searching data lines 1701 to 1801 for image lines 0 to 321 in get10 searching data lines 1801 to 1901 for image lines 0 to 321 done processing 1967 lines in get10 searching data lines 1901 to 2001 for image lines 0 to 321 dumping SZA array in dumpother j1: 0 j2: 321 ysize: 321 fpother: 1883758552 writing other type image in dumpother j1: 0 j2: 321 ysize: 321 fpother: 1883758704 writing other type image *************** dashY: y dumping ELEV array in dumpother j1: 0 j2: 321 ysize: 321 fpother: 1883759160 writing other type image dumping AZIM array in dumpother j1: 0 j2: 321 ysize: 321 fpother: 1883759008 writing other type image constructing TIME array in puttime j1: 0 j2: 321 ysize: 321 dumping TIME array in dumpother j1: 0 j2: 321 ysize: 321 fpother: 1883758856 writing other type image nchan: 5 dumping ch: 0 fp: 1883759312 about to dump image number: 0 channel: 1 xsize: 321 ysize: 321 IN WRITEIMAGE chan: 0 fp: 1883759312 DOne with dumpimage fp: 1883759312 have dumped ch: 0 fp: 1883759312 dumping ch: 1 fp: 1883759464 about to dump image number: 1 channel: 2 xsize: 321 ysize: 321 IN WRITEIMAGE chan: 1 fp: 1883759464 DOne with dumpimage fp: 1883759464 have dumped ch: 1 fp: 1883759464 dumping ch: 2 fp: 1883759616 about to dump image number: 2 channel: 3 xsize: 321 ysize: 321 IN WRITEIMAGE chan: 2 fp: 1883759616 DOne with dumpimage fp: 1883759616 have dumped ch: 2 fp: 1883759616 dumping ch: 3 fp: 1883759768 about to dump image number: 3 channel: 4 xsize: 321 ysize: 321 IN WRITEIMAGE chan: 3 fp: 1883759768 DOne with dumpimage fp: 1883759768 have dumped ch: 3 fp: 1883759768 dumping ch: 4 fp: 1883759920 about to dump image number: 4 channel: 5 xsize: 321 ysize: 321 IN WRITEIMAGE chan: 4 fp: 1883759920 DOne with dumpimage fp: 1883759920 have dumped ch: 4 fp: 1883759920 About to write headers fp: 1883759768 done with navigation--retrieving data ***** Running polar regions subsetting at Fri Jan 14 02:18:28 CST 2011 ***** Working on year and julian day (yyddd): 11013 (2011 Jan 13) command line args: ephemfile: /Users/jkey/nav/ephemeris northlimit: 60.000000 southlimit: -60.000000 data is type: G sds-type is: H region is: O SDS GAC data selected. year: 2011 day: 13 miilsecs: 82032078 before md doy: 13 year: 2011 **julianday: 10970 year: 2011 day: 13 miilsecs: 82032078 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 year: 2011 day: 13 miilsecs: 82032578 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 year: 2011 day: 13 miilsecs: 82033078 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 taos: 82032078 satid: 16 julian day: 10970 nlines: 12708 GOING INTO initorb4 satnum: 16 navsatid: 26536 calling readephem taos: 10970.949445 opening ephemeris after opening ephemeris size: 76 *******ephemeris elements ************ satid: 26536 orbit: 65195 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 ecc: 0.001062 argper: 0.364140 ascnode: 0.799605 inclin: 0.275446 ephoc: 110105000000 **************************** ******ephemnot structure follows*******: satid: 26536 orbit: 65195 size: 76 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 eccen: 0.001062 argper: 0.364140 ascenode: 0.799605 inclin: 0.275446 earadius: 6378137.000000 oblat: 0.001083 ***************************************************************** YEAR HERE: 11 *********epheminit structure follows******* timnot: 10962.000000 smajaxis: 1.132905 decay: -0.000000 eccen: 0.001062 inclin: 1.730681 argper: 2.287962 perrate: -0.000551 longan: 5.024068 nodrate: 0.000201 ,meananom: 1.717550 meanmot: 0.828813 meanmotrate: 0.000000 grav constant: 398598005011040.375000 ***************************************************************** ******** current elements follow******** taos: 10970.949445 time: 10970.949445 smajaxis: 7225816.671721 eccentricity: 0.001062 inclin: 1.730681 argper: 1.850041 longan: -0.935879 meananom: 796.033813 trueanom: 796.031827 altitude: 7228526.295003 ********************************************** ******** current elements follow******** taos: 10970.949445 time: 10970.949445 smajaxis: 7225816.671721 eccentricity: 0.001062 inclin: 1.730681 argper: 1.850041 longan: -0.935879 meananom: 796.033813 trueanom: 796.031827 altitude: 7228526.295003 ********************************************** SPECIFIC DATA: bytesperline: 4608 scanspersec: 2.000000 line : 0 10970.949445 -4.707332 -52.844784 7234895.461581 line : 100 10970.950024 -1.786252 -53.523068 7234118.978423 line : 200 10970.950603 1.135377 -54.199876 7233319.999859 line : 300 10970.951181 4.057158 -54.877616 7232500.609642 line : 400 10970.951760 6.978696 -55.558720 7231663.069384 line : 500 10970.952339 9.899591 -56.245688 7230809.811663 line : 600 10970.952918 12.819437 -56.941141 7229943.431376 line : 700 10970.953496 15.737822 -57.647885 7229066.675391 line : 800 10970.954075 18.654319 -58.368972 7228182.430556 line : 900 10970.954654 21.568488 -59.107782 7227293.710153 line : 1000 10970.955232 24.479864 -59.868116 7226403.638873 line : 1100 10970.955811 27.387955 -60.654312 7225515.436440 line : 1200 10970.956390 30.292227 -61.471394 7224632.400013 line : 1300 10970.956968 33.192091 -62.325258 7223757.885482 line : 1400 10970.957547 36.086886 -63.222915 7222895.287847 line : 1500 10970.958126 38.975850 -64.172807 7222048.020809 line : 1600 10970.958705 41.858088 -65.185242 7221219.495776 line : 1700 10970.959283 44.732521 -66.272970 7220413.100445 line : 1800 10970.959862 47.597820 -67.451986 7219632.177159 line : 1900 10970.960441 50.452308 -68.742661 7218880.001225 line : 2000 10970.961019 53.293821 -70.171357 7218159.759392 line : 2100 10970.961598 56.119500 -71.772783 7217474.528678 line : 2200 10970.962177 58.925479 -73.593516 7216827.255744 Opening data.NORTH1 and writing header line: 2239 line : 2300 10970.962756 61.706390 -75.697361 7216220.736997 line : 2400 10970.963334 64.454581 -78.173701 7215657.599613 line : 2500 10970.963913 67.158809 -81.150771 7215140.283651 line : 2600 10970.964492 69.802009 -84.817009 7214671.025416 line : 2700 10970.965070 72.357356 -89.455238 7214251.842247 line : 2800 10970.965649 74.781166 -95.494382 7213884.518846 line : 2900 10970.966228 77.000281 -103.571696 7213570.595291 line : 3000 10970.966806 78.891915 -114.536254 7213311.356842 line : 3100 10970.967385 80.263759 -129.128576 7213107.825633 line : 3200 10970.967964 80.878486 -146.920418 7212960.754320 line : 3300 10970.968543 80.586647 -165.332963 7212870.621754 line : 3400 10970.969121 79.463168 178.752446 7212837.630711 line : 3500 10970.969700 77.734209 166.523106 7212861.707688 line : 3600 10970.970279 75.616109 157.500258 7212942.504783 line : 3700 10970.970857 73.255468 150.805534 7213079.403617 line : 3800 10970.971436 70.740804 145.716676 7213271.521269 line : 3900 10970.972015 68.124689 141.735726 7213517.718150 line : 4000 10970.972593 65.439034 138.533639 7213816.607749 line : 4100 10970.973172 62.703877 135.892426 7214166.568146 line : 4200 10970.973751 59.932256 133.664968 7214565.755171 line : 4300 10970.974330 57.132945 131.749620 7215012.117091 line : 4400 10970.974908 54.312036 130.074439 7215503.410669 line : 4500 10970.975487 51.473878 128.587324 7216037.218446 line : 4600 10970.976066 48.621657 127.249732 7216610.967066 line : 4700 10970.976644 45.757768 126.032584 7217221.946485 line : 4800 10970.977223 42.884051 124.913548 7217867.329859 line : 4900 10970.977802 40.001955 123.875188 7218544.193931 line : 5000 10970.978381 37.112649 122.903677 7219249.539731 line : 5100 10970.978959 34.217094 121.987896 7219980.313380 line : 5200 10970.979538 31.316105 121.118778 7220733.426813 line : 5300 10970.980117 28.410383 120.288832 7221505.778231 line : 5400 10970.980695 25.500550 119.491786 7222294.272099 line : 5500 10970.981274 22.587167 118.722322 7223095.838498 line : 5600 10970.981853 19.670749 117.975868 7223907.451680 line : 5700 10970.982431 16.751778 117.248440 7224726.147653 line : 5800 10970.983010 13.830714 116.536514 7225549.040657 line : 5900 10970.983589 10.907995 115.836925 7226373.338387 line : 6000 10970.984168 7.984050 115.146783 7227196.355851 line : 6100 10970.984746 5.059298 114.463402 7228015.527768 line : 6200 10970.985325 2.134149 113.784238 7228828.419392 line : 6300 10970.985904 -0.790989 113.106837 7229632.735725 line : 6400 10970.986482 -3.715711 112.428780 7230426.329049 line : 6500 10970.987061 -6.639611 111.747635 7231207.204746 line : 6600 10970.987640 -9.562284 111.060910 7231973.525396 line : 6700 10970.988218 -12.483321 110.365996 7232723.613162 line : 6800 10970.988797 -15.402308 109.660111 7233455.950469 line : 6900 10970.989376 -18.318819 108.940236 7234169.179040 line : 7000 10970.989955 -21.232420 108.203035 7234862.097321 line : 7100 10970.990533 -24.142652 107.444766 7235533.656398 line : 7200 10970.991112 -27.049035 106.661169 7236182.954471 line : 7300 10970.991691 -29.951048 105.847319 7236809.230004 line : 7400 10970.992269 -32.848123 104.997451 7237411.853658 line : 7500 10970.992848 -35.739621 104.104727 7237990.319151 line : 7600 10970.993427 -38.624811 103.160925 7238544.233162 line : 7700 10970.994006 -41.502837 102.156036 7239073.304453 line : 7800 10970.994584 -44.372669 101.077710 7239577.332331 line : 7900 10970.995163 -47.233040 99.910490 7240056.194647 line : 8000 10970.995742 -50.082357 98.634754 7240509.835459 line : 8100 10970.996320 -52.918568 97.225188 7240938.252552 line : 8200 10970.996899 -55.738967 95.648580 7241341.484956 line : 8300 10970.997478 -58.539905 93.860541 7241719.600646 Opening data.SOUTH1 and writing header line: 8353 line : 8400 10970.998056 -61.316332 91.800531 7242072.684564 line : 8500 10970.998635 -64.061080 89.384155 7242400.827127 line : 8600 10970.999214 -66.763666 86.490996 7242704.113363 line : 8700 10970.999793 -69.408273 82.945117 7242982.612812 line : 8800 10971.000371 -71.970194 78.483914 7243236.370325 line : 8900 10971.000950 -74.409465 72.710617 7243465.397867 line : 9000 10971.001529 -76.659498 65.034260 7243669.667437 line : 9100 10971.002107 -78.608437 54.649326 7243849.105196 line : 9200 10971.002686 -80.077987 40.770782 7244003.586858 line : 9300 10971.003265 -80.835135 23.537803 7244132.934444 line : 9400 10971.003843 -80.704441 5.136591 7244236.914395 line : 9500 10971.004422 -79.719750 -11.259897 7244315.237118 line : 9600 10971.005001 -78.090889 -24.085851 7244367.557936 line : 9700 10971.005580 -76.041275 -33.604245 7244393.479473 line : 9800 10971.006158 -73.728747 -40.661737 7244392.555418 line : 9900 10971.006737 -71.249879 -46.008417 7244364.295659 line : 10000 10971.007316 -68.662073 -50.173811 7244308.172712 line : 10100 10971.007894 -66.000030 -53.510380 7244223.629386 line : 10200 10971.008473 -63.285412 -56.251834 7244110.087594 line : 10300 10971.009052 -60.532229 -58.555631 7243966.958213 line : 10400 10971.009631 -57.749849 -60.530266 7243793.651884 line : 10500 10971.010209 -54.944733 -62.252295 7243589.590623 line : 10600 10971.010788 -52.121467 -63.776990 7243354.220115 line : 10700 10971.011367 -49.283387 -65.145119 7243087.022546 line : 10800 10971.011945 -46.432981 -66.387352 7242787.529822 line : 10900 10971.012524 -43.572148 -67.527181 7242455.337016 line : 11000 10971.013103 -40.702370 -68.582904 7242090.115889 line : 11100 10971.013681 -37.824831 -69.568992 7241691.628318 line : 11200 10971.014260 -34.940500 -70.497057 7241259.739457 line : 11300 10971.014839 -32.050185 -71.376546 7240794.430485 line : 11400 10971.015418 -29.154579 -72.215246 7240295.810761 line : 11500 10971.015996 -26.254291 -73.019658 7239764.129245 line : 11600 10971.016575 -23.349866 -73.795285 7239199.785014 line : 11700 10971.017154 -20.441803 -74.546842 7238603.336748 line : 11800 10971.017732 -17.530565 -75.278425 7237975.511037 line : 11900 10971.018311 -14.616594 -75.993648 7237317.209391 line : 12000 10971.018890 -11.700313 -76.695743 7236629.513837 line : 12100 10971.019468 -8.782133 -77.387650 7235913.691003 line : 12200 10971.020047 -5.862456 -78.072092 7235171.194608 line : 12300 10971.020626 -2.941680 -78.751633 7234403.666286 line : 12400 10971.021205 -0.020201 -79.428740 7233612.934684 line : 12500 10971.021783 2.901588 -80.105826 7232801.012811 line : 12600 10971.022362 5.823291 -80.785310 7231970.093612 line : 12700 10971.022941 8.744510 -81.469656 7231122.543760 could not read line 12705 writing header for file 0 goint into getcorrectsdsvals year: 2011 day: 13 miilsecs: 83153078 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 going into makeheader with taos: 10970.962420 satid: 16 nlines: 1959 IN MAKEHEADER going into first make1btime in make1btime taos: 10970.962420 millsec: 83153078 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 after first make1btime in make1btime taos: 10970.966199 millsec: 83479578 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 DONE WITH MAKEHEADER writing header for file 2 goint into getcorrectsdsvals year: 2011 day: 13 miilsecs: 86210078 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 going into makeheader with taos: 10970.997802 satid: 16 nlines: 1967 IN MAKEHEADER going into first make1btime in make1btime taos: 10970.997802 millsec: 86210078 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 after first make1btime in make1btime taos: 10971.001596 millsec: 137911 1 year: 30 2 year: 11 in make1btime month: 1 day: 14 year: 11 doyear: 14 DONE WITH MAKEHEADER ***** Running navigation/calibration at Fri Jan 14 02:18:28 CST 2011 ***** Working on year and julian day (yyddd): 11013 (2011 Jan 13) no H option specified TBMFLAG: compval: 0 reading input header input header has been read satid from header : 2 XX satid: 16 getting time from firstline getting time in gettime in: 7 db 0 d 0 6b 4 f4 d0 b6 year: 2011 day: 13 ymd year: 2011 ymd yeardif: 30 after getheader done with 1959 lines header count: 0 actual: 1959 header will be rewritten output header follows: satid: 16 orbnum: 0 nlines: 1959 julday: 10970 taos: 83153078 NEW PROCESSGENERICGAC year: 2011 input file is : tmp output file is : tmp.p new processraw opening raw file: tmp opening archive file and writing header to tmp.p header written to newdataset dumsat: 3 satid from first line is: 16 year before julianday call: 2011 firstline curday: 13 julian: 10970 time: 83153078 linein: 0 curtime: 83153578 lasttime: 83153078 lastgood: 83153078 timdif: 500 linein: 100 curtime: 83203578 lasttime: 83203078 lastgood: 83203078 timdif: 500 linein: 200 curtime: 83253578 lasttime: 83253078 lastgood: 83253078 timdif: 500 linein: 300 curtime: 83303578 lasttime: 83303078 lastgood: 83303078 timdif: 500 linein: 400 curtime: 83353578 lasttime: 83353078 lastgood: 83353078 timdif: 500 linein: 500 curtime: 83403578 lasttime: 83403078 lastgood: 83403078 timdif: 500 linein: 600 curtime: 83453578 lasttime: 83453078 lastgood: 83453078 timdif: 500 linein: 700 curtime: 83503578 lasttime: 83503078 lastgood: 83503078 timdif: 500 linein: 800 curtime: 83553578 lasttime: 83553078 lastgood: 83553078 timdif: 500 linein: 900 curtime: 83603578 lasttime: 83603078 lastgood: 83603078 timdif: 500 linein: 1000 curtime: 83653578 lasttime: 83653078 lastgood: 83653078 timdif: 500 linein: 1100 curtime: 83703578 lasttime: 83703078 lastgood: 83703078 timdif: 500 linein: 1200 curtime: 83753578 lasttime: 83753078 lastgood: 83753078 timdif: 500 linein: 1300 curtime: 83803578 lasttime: 83803078 lastgood: 83803078 timdif: 500 linein: 1400 curtime: 83853578 lasttime: 83853078 lastgood: 83853078 timdif: 500 linein: 1500 curtime: 83903578 lasttime: 83903078 lastgood: 83903078 timdif: 500 linein: 1600 curtime: 83953578 lasttime: 83953078 lastgood: 83953078 timdif: 500 linein: 1700 curtime: 84003578 lasttime: 84003078 lastgood: 84003078 timdif: 500 linein: 1800 curtime: 84053578 lasttime: 84053078 lastgood: 84053078 timdif: 500 linein: 1900 curtime: 84103578 lasttime: 84103078 lastgood: 84103078 timdif: 500 could not read line bytes read: 0 error reading line: 1958 archive corect to here will rewrite header correctly cleaning up archive file new header being written as: satid: 16 orbit number: 0 dum: 0 number of lines: 1959 julian day: 10970d time of first scan: 23.098078 processing GAC data satid: 16 orbit number: 0 dum: 0 number of lines: 1959 julian day: 10970d time of first scan: 23.098078 Seasonal correction for julian date 10970.962420 = 0.967382 flag is : S 11/01/13 00:00:00110113000000 year: 11 month: 1 day: 13 dayofyear: 13 file containing coefficients is COEFFS.16 calling openparm16 before sprintf parmfilename: /Users/jkey/nav/cal/calib16.dat i: 0 nu: 2226.179930 i: 1 nu: 782.472410 i: 2 nu: 714.285640 chan: 0 nuc: 2700.114800 A: 1.592459 B: 0.998147 chan: 1 nuc: 917.228900 A: 0.332380 B: 0.998522 chan: 2 nuc: 838.125500 A: 0.674623 B: 0.998363 i: 0 wave:0.000000 i: 1 wave:0.000000 i: 2 wave:2700.114800 i: 3 wave:917.228900 i: 4 wave:838.125500 before look for Z after look for Z about to leave openparm newflag is 1: 1 about to open: tmp.p headstuff: sat: 16 orb: 0 julianday: 10970 taos: 83153078 length of headstuff: 57 headstuff: sat: 16 orb: 0 julianday: 10970 taos: 83153078 0.000 0.000 2700.1148 917.2289 838.1255 length of headstuff: 106 ************** results of initial calibration ******** from header firstday is : 13 arcsize: 5626 in sequence numlines: 1 day: 13 val: 385 arcsize: 5626 in sequence numlines: 2 day: 13 val: 388 arcsize: 5626 in sequence numlines: 3 day: 13 val: 0 realline before: 3 spaceref: 0.000000 targtemp: 296.392890 space rad: 0.000000 -4.500000 -3.610000 average space counts: 990.400000 991.300000 994.500000 average internal counts: 795.880000 398.780000 382.980000 satid: 16 launch_indx: -1 chan: 3 radspace: 0.000000 radtarget: 0.498528 spacebar:990.400000 internalbar: 795.880000 chan: 3 radspace: 0.000000 radtarget: 0.498528 spacebar:990.400000 internalbar: 795.880000 gain: -0.002563 offset: 2.538257 chan: 4 radspace: -4.500000 radtarget: 108.158359 spacebar:991.300000 internalbar: 398.780000 chan: 4 radspace: -4.500000 radtarget: 108.158359 spacebar:991.300000 internalbar: 398.780000 gain: -0.190134 offset: 183.980103 chan: 5 radspace: -3.610000 radtarget: 122.339874 spacebar:994.500000 internalbar: 382.980000 chan: 5 radspace: -3.610000 radtarget: 122.339874 spacebar:994.500000 internalbar: 382.980000 gain: -0.205962 offset: 201.219193 gain after: 0.054947 gain after: 0.054947 gain and offset up to scan line 53 : 0.054947 -2.116052 0.057656 -2.331005 -0.002563 2.538257 -0.190134 183.980103 -0.205962 201.219193 ************************************************************ trouble reading line in main DONE WITH CALIBRATION there were 1959 lines done THIS IS ACTUALLY rawcal15_new AS IT SHOULD BE CALIBRATION FILE: COEFFS.16 RADFLAG: 1 calib_dir: /Users/jkey/nav/cal name of caldatfile is: /Users/jkey/nav/cal/calibnew16.dat have found CENTRAL WAVE in string CENTRAL WAVE NUMBER TABLE 190.000000 230.000000 2638.652000 928.260300 834.449600 230.000000 270.000000 2642.807000 928.828400 834.806600 270.000000 310.000000 2645.899000 929.332300 835.164700 have found SPLIT CAL in string SPLIT CAL TABLE SPLIT GAINS and OFFSETS CHAN 1 count 0-490 gain: 0.052300 offset: -2.016000 CHAN 1 count 491-1023 gain: 0.152800 offset: -51.910000 CHAN 2 count 0-500 gain: 0.051300 offset: -1.943000 CHAN 2 count 501-1023 gain: 0.151000 offset: -51.770000 CHAN 3 count 0-499 gain: 0.028700 offset: -2.043000 CHAN 3 count 500-1023 gain: 0.180600 offset: -78.030000 WE ARE GOING NON LINEAR name of caldatfile is: /Users/jkey/nav/cal/calibnew16.dat have found NON LINEAR in string ABOUT TO READ NON LINEAR MATRIX have READ NON LINEAR MATRIX DONE WITH NON LINEAR STUFF have found NEW COEFFS in string ABOUT TO READ NEW COEFFS i: 0 NUC: 2700.114800 Anew: 1.592459 Bnew: 0.998147 NS: 0.000000 B0: 0.000000 B1: 0.000000 B2: 0.000000 i: 1 NUC: 917.228900 Anew: 0.332380 Bnew: 0.998522 NS: -2.467000 B0: 2.960000 B1: -0.054110 B2: 0.000245 i: 2 NUC: 838.125500 Anew: 0.674623 Bnew: 0.998363 NS: -2.009000 B0: 2.225000 B1: -0.036650 B2: 0.000149 DONE WITH NEW COEFFS calhead: sat: 16 orb: 0 julianday: 10970 taos: 83153078 0.000 0.000 2700.1148 917.2289 838.1255 S/Users/jkey/nav/cal/calibnew16.dat calhead: 0.000 0.000 2700.1148 917.2289 838.1255 S/Users/jkey/nav/cal/calibnew16.dat wavecent: 0.000000 0.000000 2700.114800 917.228900 838.125500 INVWAVE: 0.000000 size of cal file is: 207866 have read in cal array number of lines 1959 doing raw line: 0 doing raw line: 500 doing raw line: 1000 doing raw line: 1500 TIME calculation WAS REQUESTED SZA calculation WAS REQUESTED LINE and SAMPLE DATA WAS REQUESTED OSCULATING CORRECTIONS WILL BE APPLIED dashv: temp: strlen: 0 dashH: n strlen: 1 AFTER GET OPTIONS GAC DATA OPTION HAS BEEN CHOOSEN AFTER INIT input file has been opened, fp: 1883758400 after openarc fp: 1883758400 sid: 16d orbnum: 0d numscan: 1959d milday: 83153078d *** data header *** satid: 16 orbit number: 0 number of lines: 1959 julian day: 10970 time of first scan: 23.098078 ******************** AFTER INITDATA julday: 10970 taos: 83153078 TIME OF FIRST SCAN : 11/01/13 23:05:53 looking for ephemeris data for taos: 10970.962420 opening ephemeris after opening ephemeris size: 76 *******ephemeris elements ************ satid: 26536 orbit: 65195 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 ecc: 0.001062 argper: 0.364140 ascnode: 0.799605 inclin: 0.275446 ephoc: 110105000000 **************************** ******ephemnot structure follows*******: satid: 26536 orbit: 65195 size: 76 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 eccen: 0.001062 argper: 0.364140 ascenode: 0.799605 inclin: 0.275446 earadius: 6378137.000000 oblat: 0.001083 ***************************************************************** *********epheminit structure follows******* timnot: 10962.000000 smajaxis: 1.132905 decay: -0.000000 eccen: 0.001062 inclin: 1.730681 argper: 2.287962 perrate: -0.000551 longan: 5.024068 nodrate: 0.000201 ,meananom: 1.717550 meanmot: 0.828813 meanmotrate: 0.000000 grav constant: 398598005011040.375000 ***************************************************************** satlat1: 1.045996 satlat2: 1.071203 asnflag: 1 DATA IS ASCENDING **************** INITAILIZATION OVER ****************** dashr: 81.38011 RANGE0: 81.380110 IN SATGEO line: 0 spot: 204 time: 10970.962420 IN SATGEO line: 5 spot: 204 time: 10970.962449 RANGE: 81.380110 Pass is Ascending at start center lat: 90.000000 center lon: 0.000000 range: 81.380110 images will be processed using chunks of 361 lines getting space for 10 bit image image.proj: 8 fpsza: 7047dfd8 fpsaza: 7047e070 opening 135410973.NSS.GHRR.NL.D11013.S2247.E0033.B5315860.WI.N1.1 OPENING chan: 0 fp: 1883759312 opening 135410973.NSS.GHRR.NL.D11013.S2247.E0033.B5315860.WI.N1.2 OPENING chan: 1 fp: 1883759464 opening 135410973.NSS.GHRR.NL.D11013.S2247.E0033.B5315860.WI.N1.3 OPENING chan: 2 fp: 1883759616 opening 135410973.NSS.GHRR.NL.D11013.S2247.E0033.B5315860.WI.N1.4 OPENING chan: 3 fp: 1883759768 opening 135410973.NSS.GHRR.NL.D11013.S2247.E0033.B5315860.WI.N1.5 OPENING chan: 4 fp: 1883759920 getting space for time array getting space for sza array getting space for saza array getting space for satelv array getting space for sataz array ************************************* total bytes malloced is : 4217234 ************************************* ******** current elements follow******** taos: 10970.962420 time: 10970.962420 smajaxis: 7225816.664707 eccentricity: 0.001062 inclin: 1.730734 argper: 1.849406 longan: -1.017478 meananom: 5.504033 trueanom: 5.502539 altitude: 7220347.364031 ********************************************** satpos: 971685.215999 -3489164.517405 6241826.961119 satvel: -3910.044323 5247.287600 3527.795205 satlat: 59.874734 satlon: -74.438198 COMMAND>DASHD: n INTERPOLATION CHOOSEN , every 8 x pixel and every 8 ypixel going through pixels **** before templat: 29.712678 centtodet: 29.878633 CORNERS OF WHOLE IMAGE FOLLOW North West Corner lat: 29.878633 lon: 225.000000 North East Corner lat: 30.063244 lon: 135.159155 South East Corner lat: 30.248190 lon: 45.000000 South West Corner lat: 30.063244 lon: -45.159155 interpolation choosen every 8 i pixels and every 8 j pixels image will be processed in 1 chunks of 361 image lines segment 0 startj: 0 stopj: 361 starti: 0 stopi: 360 numj: 361 north west----- lat: 29.712678 lon: 225.000000 line: -999 spot: -999 north east----- lat: 29.896666 lon: 135.159155 line: -999 spot: 401 south east-----lat: 29.896666 lon: 44.840845 line: -999 spot: -999 south west-----lat: 29.712678 lon: -45.000000 line: -999 spot: -999 doing chunk number: 0 from line: 0 to line: 360 numcelx: 45 numcely: 45 extrai: 0 extraj: 0 ****minline: 1 maxline: 1957 in data aquisiton maxline: 1957 minline: 1 in data aquistion module image is contained within lines : 1 and 1957 data will be processed using 20 chunks of 100 lines in get10 searching data lines 1 to 101 for image lines 0 to 361 in get10 searching data lines 101 to 201 for image lines 0 to 361 in get10 searching data lines 201 to 301 for image lines 0 to 361 in get10 searching data lines 301 to 401 for image lines 0 to 361 in get10 searching data lines 401 to 501 for image lines 0 to 361 in get10 searching data lines 501 to 601 for image lines 0 to 361 in get10 searching data lines 601 to 701 for image lines 0 to 361 in get10 searching data lines 701 to 801 for image lines 0 to 361 in get10 searching data lines 801 to 901 for image lines 0 to 361 in get10 searching data lines 901 to 1001 for image lines 0 to 361 in get10 searching data lines 1001 to 1101 for image lines 0 to 361 in get10 searching data lines 1101 to 1201 for image lines 0 to 361 in get10 searching data lines 1201 to 1301 for image lines 0 to 361 in get10 searching data lines 1301 to 1401 for image lines 0 to 361 in get10 searching data lines 1401 to 1501 for image lines 0 to 361 in get10 searching data lines 1501 to 1601 for image lines 0 to 361 in get10 searching data lines 1601 to 1701 for image lines 0 to 361 in get10 searching data lines 1701 to 1801 for image lines 0 to 361 in get10 searching data lines 1801 to 1901 for image lines 0 to 361 done processing 1959 lines in get10 searching data lines 1901 to 2001 for image lines 0 to 361 dumping SZA array in dumpother j1: 0 j2: 361 ysize: 361 fpother: 1883758552 writing other type image in dumpother j1: 0 j2: 361 ysize: 361 fpother: 1883758704 writing other type image *************** dashY: y dumping ELEV array in dumpother j1: 0 j2: 361 ysize: 361 fpother: 1883759160 writing other type image dumping AZIM array in dumpother j1: 0 j2: 361 ysize: 361 fpother: 1883759008 writing other type image constructing TIME array in puttime j1: 0 j2: 361 ysize: 361 dumping TIME array in dumpother j1: 0 j2: 361 ysize: 361 fpother: 1883758856 writing other type image nchan: 5 dumping ch: 0 fp: 1883759312 about to dump image number: 0 channel: 1 xsize: 361 ysize: 361 IN WRITEIMAGE chan: 0 fp: 1883759312 DOne with dumpimage fp: 1883759312 have dumped ch: 0 fp: 1883759312 dumping ch: 1 fp: 1883759464 about to dump image number: 1 channel: 2 xsize: 361 ysize: 361 IN WRITEIMAGE chan: 1 fp: 1883759464 DOne with dumpimage fp: 1883759464 have dumped ch: 1 fp: 1883759464 dumping ch: 2 fp: 1883759616 about to dump image number: 2 channel: 3 xsize: 361 ysize: 361 IN WRITEIMAGE chan: 2 fp: 1883759616 DOne with dumpimage fp: 1883759616 have dumped ch: 2 fp: 1883759616 dumping ch: 3 fp: 1883759768 about to dump image number: 3 channel: 4 xsize: 361 ysize: 361 IN WRITEIMAGE chan: 3 fp: 1883759768 DOne with dumpimage fp: 1883759768 have dumped ch: 3 fp: 1883759768 dumping ch: 4 fp: 1883759920 about to dump image number: 4 channel: 5 xsize: 361 ysize: 361 IN WRITEIMAGE chan: 4 fp: 1883759920 DOne with dumpimage fp: 1883759920 have dumped ch: 4 fp: 1883759920 About to write headers fp: 1883759768 done with navigation--retrieving data ***** Running polar regions subsetting at Fri Jan 14 02:18:29 CST 2011 ***** Working on year and julian day (yyddd): 11013 (2011 Jan 13) command line args: ephemfile: /Users/jkey/nav/ephemeris northlimit: 60.000000 southlimit: -60.000000 data is type: G sds-type is: H region is: O SDS GAC data selected. year: 2011 day: 13 miilsecs: 82032078 before md doy: 13 year: 2011 **julianday: 10970 year: 2011 day: 13 miilsecs: 82032078 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 year: 2011 day: 13 miilsecs: 82032578 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 year: 2011 day: 13 miilsecs: 82033078 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 taos: 82032078 satid: 16 julian day: 10970 nlines: 12708 GOING INTO initorb4 satnum: 16 navsatid: 26536 calling readephem taos: 10970.949445 opening ephemeris after opening ephemeris size: 76 *******ephemeris elements ************ satid: 26536 orbit: 65195 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 ecc: 0.001062 argper: 0.364140 ascnode: 0.799605 inclin: 0.275446 ephoc: 110105000000 **************************** ******ephemnot structure follows*******: satid: 26536 orbit: 65195 size: 76 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 eccen: 0.001062 argper: 0.364140 ascenode: 0.799605 inclin: 0.275446 earadius: 6378137.000000 oblat: 0.001083 ***************************************************************** YEAR HERE: 11 *********epheminit structure follows******* timnot: 10962.000000 smajaxis: 1.132905 decay: -0.000000 eccen: 0.001062 inclin: 1.730681 argper: 2.287962 perrate: -0.000551 longan: 5.024068 nodrate: 0.000201 ,meananom: 1.717550 meanmot: 0.828813 meanmotrate: 0.000000 grav constant: 398598005011040.375000 ***************************************************************** ******** current elements follow******** taos: 10970.949445 time: 10970.949445 smajaxis: 7225816.671721 eccentricity: 0.001062 inclin: 1.730681 argper: 1.850041 longan: -0.935879 meananom: 796.033813 trueanom: 796.031827 altitude: 7228526.295003 ********************************************** ******** current elements follow******** taos: 10970.949445 time: 10970.949445 smajaxis: 7225816.671721 eccentricity: 0.001062 inclin: 1.730681 argper: 1.850041 longan: -0.935879 meananom: 796.033813 trueanom: 796.031827 altitude: 7228526.295003 ********************************************** SPECIFIC DATA: bytesperline: 4608 scanspersec: 2.000000 line : 0 10970.949445 -4.707332 -52.844784 7234895.461581 line : 100 10970.950024 -1.786252 -53.523068 7234118.978423 line : 200 10970.950603 1.135377 -54.199876 7233319.999859 line : 300 10970.951181 4.057158 -54.877616 7232500.609642 line : 400 10970.951760 6.978696 -55.558720 7231663.069384 line : 500 10970.952339 9.899591 -56.245688 7230809.811663 line : 600 10970.952918 12.819437 -56.941141 7229943.431376 line : 700 10970.953496 15.737822 -57.647885 7229066.675391 line : 800 10970.954075 18.654319 -58.368972 7228182.430556 line : 900 10970.954654 21.568488 -59.107782 7227293.710153 line : 1000 10970.955232 24.479864 -59.868116 7226403.638873 line : 1100 10970.955811 27.387955 -60.654312 7225515.436440 line : 1200 10970.956390 30.292227 -61.471394 7224632.400013 line : 1300 10970.956968 33.192091 -62.325258 7223757.885482 line : 1400 10970.957547 36.086886 -63.222915 7222895.287847 line : 1500 10970.958126 38.975850 -64.172807 7222048.020809 line : 1600 10970.958705 41.858088 -65.185242 7221219.495776 line : 1700 10970.959283 44.732521 -66.272970 7220413.100445 line : 1800 10970.959862 47.597820 -67.451986 7219632.177159 line : 1900 10970.960441 50.452308 -68.742661 7218880.001225 line : 2000 10970.961019 53.293821 -70.171357 7218159.759392 line : 2100 10970.961598 56.119500 -71.772783 7217474.528678 line : 2200 10970.962177 58.925479 -73.593516 7216827.255744 Opening data.NORTH1 and writing header line: 2239 line : 2300 10970.962756 61.706390 -75.697361 7216220.736997 line : 2400 10970.963334 64.454581 -78.173701 7215657.599613 line : 2500 10970.963913 67.158809 -81.150771 7215140.283651 line : 2600 10970.964492 69.802009 -84.817009 7214671.025416 line : 2700 10970.965070 72.357356 -89.455238 7214251.842247 line : 2800 10970.965649 74.781166 -95.494382 7213884.518846 line : 2900 10970.966228 77.000281 -103.571696 7213570.595291 line : 3000 10970.966806 78.891915 -114.536254 7213311.356842 line : 3100 10970.967385 80.263759 -129.128576 7213107.825633 line : 3200 10970.967964 80.878486 -146.920418 7212960.754320 line : 3300 10970.968543 80.586647 -165.332963 7212870.621754 line : 3400 10970.969121 79.463168 178.752446 7212837.630711 line : 3500 10970.969700 77.734209 166.523106 7212861.707688 line : 3600 10970.970279 75.616109 157.500258 7212942.504783 line : 3700 10970.970857 73.255468 150.805534 7213079.403617 line : 3800 10970.971436 70.740804 145.716676 7213271.521269 line : 3900 10970.972015 68.124689 141.735726 7213517.718150 line : 4000 10970.972593 65.439034 138.533639 7213816.607749 line : 4100 10970.973172 62.703877 135.892426 7214166.568146 line : 4200 10970.973751 59.932256 133.664968 7214565.755171 line : 4300 10970.974330 57.132945 131.749620 7215012.117091 line : 4400 10970.974908 54.312036 130.074439 7215503.410669 line : 4500 10970.975487 51.473878 128.587324 7216037.218446 line : 4600 10970.976066 48.621657 127.249732 7216610.967066 line : 4700 10970.976644 45.757768 126.032584 7217221.946485 line : 4800 10970.977223 42.884051 124.913548 7217867.329859 line : 4900 10970.977802 40.001955 123.875188 7218544.193931 line : 5000 10970.978381 37.112649 122.903677 7219249.539731 line : 5100 10970.978959 34.217094 121.987896 7219980.313380 line : 5200 10970.979538 31.316105 121.118778 7220733.426813 line : 5300 10970.980117 28.410383 120.288832 7221505.778231 line : 5400 10970.980695 25.500550 119.491786 7222294.272099 line : 5500 10970.981274 22.587167 118.722322 7223095.838498 line : 5600 10970.981853 19.670749 117.975868 7223907.451680 line : 5700 10970.982431 16.751778 117.248440 7224726.147653 line : 5800 10970.983010 13.830714 116.536514 7225549.040657 line : 5900 10970.983589 10.907995 115.836925 7226373.338387 line : 6000 10970.984168 7.984050 115.146783 7227196.355851 line : 6100 10970.984746 5.059298 114.463402 7228015.527768 line : 6200 10970.985325 2.134149 113.784238 7228828.419392 line : 6300 10970.985904 -0.790989 113.106837 7229632.735725 line : 6400 10970.986482 -3.715711 112.428780 7230426.329049 line : 6500 10970.987061 -6.639611 111.747635 7231207.204746 line : 6600 10970.987640 -9.562284 111.060910 7231973.525396 line : 6700 10970.988218 -12.483321 110.365996 7232723.613162 line : 6800 10970.988797 -15.402308 109.660111 7233455.950469 line : 6900 10970.989376 -18.318819 108.940236 7234169.179040 line : 7000 10970.989955 -21.232420 108.203035 7234862.097321 line : 7100 10970.990533 -24.142652 107.444766 7235533.656398 line : 7200 10970.991112 -27.049035 106.661169 7236182.954471 line : 7300 10970.991691 -29.951048 105.847319 7236809.230004 line : 7400 10970.992269 -32.848123 104.997451 7237411.853658 line : 7500 10970.992848 -35.739621 104.104727 7237990.319151 line : 7600 10970.993427 -38.624811 103.160925 7238544.233162 line : 7700 10970.994006 -41.502837 102.156036 7239073.304453 line : 7800 10970.994584 -44.372669 101.077710 7239577.332331 line : 7900 10970.995163 -47.233040 99.910490 7240056.194647 line : 8000 10970.995742 -50.082357 98.634754 7240509.835459 line : 8100 10970.996320 -52.918568 97.225188 7240938.252552 line : 8200 10970.996899 -55.738967 95.648580 7241341.484956 line : 8300 10970.997478 -58.539905 93.860541 7241719.600646 Opening data.SOUTH1 and writing header line: 8353 line : 8400 10970.998056 -61.316332 91.800531 7242072.684564 line : 8500 10970.998635 -64.061080 89.384155 7242400.827127 line : 8600 10970.999214 -66.763666 86.490996 7242704.113363 line : 8700 10970.999793 -69.408273 82.945117 7242982.612812 line : 8800 10971.000371 -71.970194 78.483914 7243236.370325 line : 8900 10971.000950 -74.409465 72.710617 7243465.397867 line : 9000 10971.001529 -76.659498 65.034260 7243669.667437 line : 9100 10971.002107 -78.608437 54.649326 7243849.105196 line : 9200 10971.002686 -80.077987 40.770782 7244003.586858 line : 9300 10971.003265 -80.835135 23.537803 7244132.934444 line : 9400 10971.003843 -80.704441 5.136591 7244236.914395 line : 9500 10971.004422 -79.719750 -11.259897 7244315.237118 line : 9600 10971.005001 -78.090889 -24.085851 7244367.557936 line : 9700 10971.005580 -76.041275 -33.604245 7244393.479473 line : 9800 10971.006158 -73.728747 -40.661737 7244392.555418 line : 9900 10971.006737 -71.249879 -46.008417 7244364.295659 line : 10000 10971.007316 -68.662073 -50.173811 7244308.172712 line : 10100 10971.007894 -66.000030 -53.510380 7244223.629386 line : 10200 10971.008473 -63.285412 -56.251834 7244110.087594 line : 10300 10971.009052 -60.532229 -58.555631 7243966.958213 line : 10400 10971.009631 -57.749849 -60.530266 7243793.651884 line : 10500 10971.010209 -54.944733 -62.252295 7243589.590623 line : 10600 10971.010788 -52.121467 -63.776990 7243354.220115 line : 10700 10971.011367 -49.283387 -65.145119 7243087.022546 line : 10800 10971.011945 -46.432981 -66.387352 7242787.529822 line : 10900 10971.012524 -43.572148 -67.527181 7242455.337016 line : 11000 10971.013103 -40.702370 -68.582904 7242090.115889 line : 11100 10971.013681 -37.824831 -69.568992 7241691.628318 line : 11200 10971.014260 -34.940500 -70.497057 7241259.739457 line : 11300 10971.014839 -32.050185 -71.376546 7240794.430485 line : 11400 10971.015418 -29.154579 -72.215246 7240295.810761 line : 11500 10971.015996 -26.254291 -73.019658 7239764.129245 line : 11600 10971.016575 -23.349866 -73.795285 7239199.785014 line : 11700 10971.017154 -20.441803 -74.546842 7238603.336748 line : 11800 10971.017732 -17.530565 -75.278425 7237975.511037 line : 11900 10971.018311 -14.616594 -75.993648 7237317.209391 line : 12000 10971.018890 -11.700313 -76.695743 7236629.513837 line : 12100 10971.019468 -8.782133 -77.387650 7235913.691003 line : 12200 10971.020047 -5.862456 -78.072092 7235171.194608 line : 12300 10971.020626 -2.941680 -78.751633 7234403.666286 line : 12400 10971.021205 -0.020201 -79.428740 7233612.934684 line : 12500 10971.021783 2.901588 -80.105826 7232801.012811 line : 12600 10971.022362 5.823291 -80.785310 7231970.093612 line : 12700 10971.022941 8.744510 -81.469656 7231122.543760 could not read line 12705 writing header for file 0 goint into getcorrectsdsvals year: 2011 day: 13 miilsecs: 83153078 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 going into makeheader with taos: 10970.962420 satid: 16 nlines: 1959 IN MAKEHEADER going into first make1btime in make1btime taos: 10970.962420 millsec: 83153078 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 after first make1btime in make1btime taos: 10970.966199 millsec: 83479578 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 DONE WITH MAKEHEADER writing header for file 2 goint into getcorrectsdsvals year: 2011 day: 13 miilsecs: 86210078 before md doy: 13 year: 2011 in getcorrectsdsvals julday: 10970 going into makeheader with taos: 10970.997802 satid: 16 nlines: 1967 IN MAKEHEADER going into first make1btime in make1btime taos: 10970.997802 millsec: 86210078 1 year: 30 2 year: 11 in make1btime month: 1 day: 13 year: 11 doyear: 13 after first make1btime in make1btime taos: 10971.001596 millsec: 137911 1 year: 30 2 year: 11 in make1btime month: 1 day: 14 year: 11 doyear: 14 DONE WITH MAKEHEADER ***** Running navigation/calibration at Fri Jan 14 02:18:29 CST 2011 ***** Working on year and julian day (yyddd): 11013 (2011 Jan 13) no H option specified TBMFLAG: compval: 0 reading input header input header has been read satid from header : 2 XX satid: 16 getting time from firstline getting time in gettime in: 7 db 0 d 0 6b 5 23 76 1e year: 2011 day: 13 ymd year: 2011 ymd yeardif: 30 after getheader done with 1967 lines header count: 0 actual: 1967 header will be rewritten output header follows: satid: 16 orbnum: 0 nlines: 1967 julday: 10970 taos: 86210078 NEW PROCESSGENERICGAC year: 2011 input file is : tmp output file is : tmp.p new processraw opening raw file: tmp opening archive file and writing header to tmp.p header written to newdataset dumsat: 3 satid from first line is: 16 year before julianday call: 2011 firstline curday: 13 julian: 10970 time: 86210078 linein: 0 curtime: 86210578 lasttime: 86210078 lastgood: 86210078 timdif: 500 linein: 100 curtime: 86260578 lasttime: 86260078 lastgood: 86260078 timdif: 500 linein: 200 curtime: 86310578 lasttime: 86310078 lastgood: 86310078 timdif: 500 linein: 300 curtime: 86360578 lasttime: 86360078 lastgood: 86360078 timdif: 500 HIT MIDNIGHT curday: 14 startday: 13 curtime: 78 lastgood: 86399578 bad pair after line: 379 time: 78 lasttime: 86399578 dif: -86399500 lastgood: 77 curday: 14 startday: 14 gap ,line: 380 time: 578 last: 78 lstgo: 77 dif: 500 writing -1 blank lines after line: 380 bad pair after line: 391 time: 6072 lasttime: 5578 dif: 494 lastgood: 5578 curday: 14 startday: 14 gap ,line: 392 time: 6572 last: 6072 lstgo: 5578 dif: 500 writing -1 blank lines after line: 392 linein: 400 curtime: 10572 lasttime: 10072 lastgood: 10072 timdif: 500 linein: 500 curtime: 60572 lasttime: 60072 lastgood: 60072 timdif: 500 linein: 600 curtime: 110572 lasttime: 110072 lastgood: 110072 timdif: 500 linein: 700 curtime: 160572 lasttime: 160072 lastgood: 160072 timdif: 500 linein: 800 curtime: 210572 lasttime: 210072 lastgood: 210072 timdif: 500 linein: 900 curtime: 260572 lasttime: 260072 lastgood: 260072 timdif: 500 linein: 1000 curtime: 310572 lasttime: 310072 lastgood: 310072 timdif: 500 linein: 1100 curtime: 360572 lasttime: 360072 lastgood: 360072 timdif: 500 linein: 1200 curtime: 410572 lasttime: 410072 lastgood: 410072 timdif: 500 linein: 1300 curtime: 460572 lasttime: 460072 lastgood: 460072 timdif: 500 linein: 1400 curtime: 510572 lasttime: 510072 lastgood: 510072 timdif: 500 linein: 1500 curtime: 560572 lasttime: 560072 lastgood: 560072 timdif: 500 linein: 1600 curtime: 610572 lasttime: 610072 lastgood: 610072 timdif: 500 linein: 1700 curtime: 660572 lasttime: 660072 lastgood: 660072 timdif: 500 linein: 1800 curtime: 710572 lasttime: 710072 lastgood: 710072 timdif: 500 linein: 1900 curtime: 760572 lasttime: 760072 lastgood: 760072 timdif: 500 could not read line bytes read: 0 error reading line: 1966 archive corect to here will rewrite header correctly cleaning up archive file new header being written as: satid: 16 orbit number: 0 dum: 0 number of lines: 1967 julian day: 10970d time of first scan: 23.947245 processing GAC data satid: 16 orbit number: 0 dum: 0 number of lines: 1967 julian day: 10970d time of first scan: 23.947245 Seasonal correction for julian date 10970.997802 = 0.967386 flag is : S 11/01/13 00:00:00110113000000 year: 11 month: 1 day: 13 dayofyear: 13 file containing coefficients is COEFFS.16 calling openparm16 before sprintf parmfilename: /Users/jkey/nav/cal/calib16.dat i: 0 nu: 2226.179930 i: 1 nu: 782.472410 i: 2 nu: 714.285640 chan: 0 nuc: 2700.114800 A: 1.592459 B: 0.998147 chan: 1 nuc: 917.228900 A: 0.332380 B: 0.998522 chan: 2 nuc: 838.125500 A: 0.674623 B: 0.998363 i: 0 wave:0.000000 i: 1 wave:0.000000 i: 2 wave:2700.114800 i: 3 wave:917.228900 i: 4 wave:838.125500 before look for Z after look for Z about to leave openparm newflag is 1: 1 about to open: tmp.p headstuff: sat: 16 orb: 0 julianday: 10970 taos: 86210078 length of headstuff: 57 headstuff: sat: 16 orb: 0 julianday: 10970 taos: 86210078 0.000 0.000 2700.1148 917.2289 838.1255 length of headstuff: 106 ************** results of initial calibration ******** from header firstday is : 13 arcsize: 5626 in sequence numlines: 1 day: 13 val: 404 arcsize: 5626 in sequence numlines: 2 day: 13 val: 409 arcsize: 5626 in sequence numlines: 3 day: 13 val: 415 arcsize: 5626 in sequence numlines: 4 day: 13 val: 0 realline before: 4 spaceref: 0.000000 targtemp: 297.597621 space rad: 0.000000 -4.500000 -3.610000 average space counts: 990.200000 991.260000 994.360000 average internal counts: 785.980000 390.760000 374.500000 satid: 16 launch_indx: -1 chan: 3 radspace: 0.000000 radtarget: 0.525448 spacebar:990.200000 internalbar: 785.980000 chan: 3 radspace: 0.000000 radtarget: 0.525448 spacebar:990.200000 internalbar: 785.980000 gain: -0.002573 offset: 2.547735 chan: 4 radspace: -4.500000 radtarget: 110.147583 spacebar:991.260000 internalbar: 390.760000 chan: 4 radspace: -4.500000 radtarget: 110.147583 spacebar:991.260000 internalbar: 390.760000 gain: -0.190920 offset: 184.751556 chan: 5 radspace: -3.610000 radtarget: 124.401494 spacebar:994.360000 internalbar: 374.500000 chan: 5 radspace: -3.610000 radtarget: 124.401494 spacebar:994.360000 internalbar: 374.500000 gain: -0.206517 offset: 201.742035 gain after: 0.054948 gain after: 0.054948 gain and offset up to scan line 54 : 0.054948 -2.116060 0.057656 -2.331013 -0.002573 2.547735 -0.190920 184.751556 -0.206517 201.742035 ************************************************************ trouble reading line in main DONE WITH CALIBRATION there were 1967 lines done THIS IS ACTUALLY rawcal15_new AS IT SHOULD BE CALIBRATION FILE: COEFFS.16 RADFLAG: 1 calib_dir: /Users/jkey/nav/cal name of caldatfile is: /Users/jkey/nav/cal/calibnew16.dat have found CENTRAL WAVE in string CENTRAL WAVE NUMBER TABLE 190.000000 230.000000 2638.652000 928.260300 834.449600 230.000000 270.000000 2642.807000 928.828400 834.806600 270.000000 310.000000 2645.899000 929.332300 835.164700 have found SPLIT CAL in string SPLIT CAL TABLE SPLIT GAINS and OFFSETS CHAN 1 count 0-490 gain: 0.052300 offset: -2.016000 CHAN 1 count 491-1023 gain: 0.152800 offset: -51.910000 CHAN 2 count 0-500 gain: 0.051300 offset: -1.943000 CHAN 2 count 501-1023 gain: 0.151000 offset: -51.770000 CHAN 3 count 0-499 gain: 0.028700 offset: -2.043000 CHAN 3 count 500-1023 gain: 0.180600 offset: -78.030000 WE ARE GOING NON LINEAR name of caldatfile is: /Users/jkey/nav/cal/calibnew16.dat have found NON LINEAR in string ABOUT TO READ NON LINEAR MATRIX have READ NON LINEAR MATRIX DONE WITH NON LINEAR STUFF have found NEW COEFFS in string ABOUT TO READ NEW COEFFS i: 0 NUC: 2700.114800 Anew: 1.592459 Bnew: 0.998147 NS: 0.000000 B0: 0.000000 B1: 0.000000 B2: 0.000000 i: 1 NUC: 917.228900 Anew: 0.332380 Bnew: 0.998522 NS: -2.467000 B0: 2.960000 B1: -0.054110 B2: 0.000245 i: 2 NUC: 838.125500 Anew: 0.674623 Bnew: 0.998363 NS: -2.009000 B0: 2.225000 B1: -0.036650 B2: 0.000149 DONE WITH NEW COEFFS calhead: sat: 16 orb: 0 julianday: 10970 taos: 86210078 0.000 0.000 2700.1148 917.2289 838.1255 (G/Users/jkey/nav/cal/calibnew16.dat calhead: 0.000 0.000 2700.1148 917.2289 838.1255 (G/Users/jkey/nav/cal/calibnew16.dat wavecent: 0.000000 0.000000 2700.114800 917.228900 838.125500 INVWAVE: 0.000000 size of cal file is: 208714 have read in cal array number of lines 1967 doing raw line: 0 doing raw line: 500 doing raw line: 1000 doing raw line: 1500 TIME calculation WAS REQUESTED SZA calculation WAS REQUESTED LINE and SAMPLE DATA WAS REQUESTED OSCULATING CORRECTIONS WILL BE APPLIED dashv: temp: strlen: 0 dashH: n strlen: 1 AFTER GET OPTIONS GAC DATA OPTION HAS BEEN CHOOSEN AFTER INIT input file has been opened, fp: 1883758400 after openarc fp: 1883758400 sid: 16d orbnum: 0d numscan: 1967d milday: 86210078d *** data header *** satid: 16 orbit number: 0 number of lines: 1967 julian day: 10970 time of first scan: 23.947245 ******************** AFTER INITDATA julday: 10970 taos: 86210078 TIME OF FIRST SCAN : 11/01/13 23:56:50 looking for ephemeris data for taos: 10970.997802 opening ephemeris after opening ephemeris size: 76 *******ephemeris elements ************ satid: 26536 orbit: 65195 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 ecc: 0.001062 argper: 0.364140 ascnode: 0.799605 inclin: 0.275446 ephoc: 110105000000 **************************** ******ephemnot structure follows*******: satid: 26536 orbit: 65195 size: 76 meananom: 0.273357 meanmot: 0.828813 decay: 0.000090 eccen: 0.001062 argper: 0.364140 ascenode: 0.799605 inclin: 0.275446 earadius: 6378137.000000 oblat: 0.001083 ***************************************************************** *********epheminit structure follows******* timnot: 10962.000000 smajaxis: 1.132905 decay: -0.000000 eccen: 0.001062 inclin: 1.730681 argper: 2.287962 perrate: -0.000551 longan: 5.024068 nodrate: 0.000201 ,meananom: 1.717550 meanmot: 0.828813 meanmotrate: 0.000000 grav constant: 398598005011040.375000 ***************************************************************** satlat1: -1.046018 satlat2: -1.071147 asnflag: -1 DATA IS DESCENDING **************** INITAILIZATION OVER ****************** dashr: 72.363 RANGE0: 72.363000 IN SATGEO line: 0 spot: 204 time: 10970.997802 IN SATGEO line: 5 spot: 204 time: 10970.997831 RANGE: 72.363000 Pass is Descending at start center lat: -89.999943 center lon: 180.000000 range: 72.363000 images will be processed using chunks of 321 lines getting space for 10 bit image image.proj: 8 fpsza: 7047dfd8 fpsaza: 7047e070 opening 135410973.NSS.GHRR.NL.D11013.S2247.E0033.B5315860.WI.S.1 OPENING chan: 0 fp: 1883759312 opening 135410973.NSS.GHRR.NL.D11013.S2247.E0033.B5315860.WI.S.2 OPENING chan: 1 fp: 1883759464 opening 135410973.NSS.GHRR.NL.D11013.S2247.E0033.B5315860.WI.S.3 OPENING chan: 2 fp: 1883759616 opening 135410973.NSS.GHRR.NL.D11013.S2247.E0033.B5315860.WI.S.4 OPENING chan: 3 fp: 1883759768 opening 135410973.NSS.GHRR.NL.D11013.S2247.E0033.B5315860.WI.S.5 OPENING chan: 4 fp: 1883759920 getting space for time array getting space for sza array getting space for saza array getting space for satelv array getting space for sataz array ************************************* total bytes malloced is : 3453394 ************************************* ******** current elements follow******** taos: 10970.997802 time: 10970.997802 smajaxis: 7225816.645578 eccentricity: 0.001062 inclin: 1.730734 argper: 1.847675 longan: -1.239766 meananom: 2.361208 trueanom: 2.362701 altitude: 7231287.329617 ********************************************** satpos: -173448.163125 3617352.887690 -6271370.266395 satvel: 2647.642320 -5957.863474 -3517.868836 satlat: -59.994988 satlon: 92.745168 COMMAND>DASHD: n INTERPOLATION CHOOSEN , every 8 x pixel and every 8 ypixel going through pixels **** before templat: -36.957736 centtodet: -37.142800 CORNERS OF WHOLE IMAGE FOLLOW North West Corner lat: -37.142800 lon: -45.000061 North East Corner lat: -37.320927 lon: 44.821012 South East Corner lat: -37.499365 lon: 135.000061 South West Corner lat: -37.320826 lon: 225.178988 interpolation choosen every 8 i pixels and every 8 j pixels image will be processed in 1 chunks of 321 image lines segment 0 startj: 0 stopj: 321 starti: 0 stopi: 320 numj: 321 north west----- lat: -36.957736 lon: -45.000061 line: -999 spot: -999 north east----- lat: -37.135539 lon: 44.821012 line: -999 spot: -999 south east-----lat: -37.135438 lon: 135.179109 line: -999 spot: -999 south west-----lat: -36.957635 lon: 224.999939 line: -999 spot: -999 doing chunk number: 0 from line: 0 to line: 320 numcelx: 40 numcely: 40 extrai: 0 extraj: 0 ****minline: 1 maxline: 1966 in data aquisiton maxline: 1966 minline: 1 in data aquistion module image is contained within lines : 1 and 1966 data will be processed using 20 chunks of 100 lines in get10 searching data lines 1 to 101 for image lines 0 to 321 in get10 searching data lines 101 to 201 for image lines 0 to 321 in get10 searching data lines 201 to 301 for image lines 0 to 321 in get10 searching data lines 301 to 401 for image lines 0 to 321 in get10 searching data lines 401 to 501 for image lines 0 to 321 in get10 searching data lines 501 to 601 for image lines 0 to 321 in get10 searching data lines 601 to 701 for image lines 0 to 321 in get10 searching data lines 701 to 801 for image lines 0 to 321 in get10 searching data lines 801 to 901 for image lines 0 to 321 in get10 searching data lines 901 to 1001 for image lines 0 to 321 in get10 searching data lines 1001 to 1101 for image lines 0 to 321 in get10 searching data lines 1101 to 1201 for image lines 0 to 321 in get10 searching data lines 1201 to 1301 for image lines 0 to 321 in get10 searching data lines 1301 to 1401 for image lines 0 to 321 in get10 searching data lines 1401 to 1501 for image lines 0 to 321 in get10 searching data lines 1501 to 1601 for image lines 0 to 321 in get10 searching data lines 1601 to 1701 for image lines 0 to 321 in get10 searching data lines 1701 to 1801 for image lines 0 to 321 in get10 searching data lines 1801 to 1901 for image lines 0 to 321 Undefined error: 0 eof or error after 1965 lines in get10 searching data lines 1901 to 2001 for image lines 0 to 321 dumping SZA array in dumpother j1: 0 j2: 321 ysize: 321 fpother: 1883758552 writing other type image in dumpother j1: 0 j2: 321 ysize: 321 fpother: 1883758704 writing other type image *************** dashY: y dumping ELEV array in dumpother j1: 0 j2: 321 ysize: 321 fpother: 1883759160 writing other type image dumping AZIM array in dumpother j1: 0 j2: 321 ysize: 321 fpother: 1883759008 writing other type image constructing TIME array in puttime j1: 0 j2: 321 ysize: 321 dumping TIME array in dumpother j1: 0 j2: 321 ysize: 321 fpother: 1883758856 writing other type image nchan: 5 dumping ch: 0 fp: 1883759312 about to dump image number: 0 channel: 1 xsize: 321 ysize: 321 IN WRITEIMAGE chan: 0 fp: 1883759312 DOne with dumpimage fp: 1883759312 have dumped ch: 0 fp: 1883759312 dumping ch: 1 fp: 1883759464 about to dump image number: 1 channel: 2 xsize: 321 ysize: 321 IN WRITEIMAGE chan: 1 fp: 1883759464 DOne with dumpimage fp: 1883759464 have dumped ch: 1 fp: 1883759464 dumping ch: 2 fp: 1883759616 about to dump image number: 2 channel: 3 xsize: 321 ysize: 321 IN WRITEIMAGE chan: 2 fp: 1883759616 DOne with dumpimage fp: 1883759616 have dumped ch: 2 fp: 1883759616 dumping ch: 3 fp: 1883759768 about to dump image number: 3 channel: 4 xsize: 321 ysize: 321 IN WRITEIMAGE chan: 3 fp: 1883759768 DOne with dumpimage fp: 1883759768 have dumped ch: 3 fp: 1883759768 dumping ch: 4 fp: 1883759920 about to dump image number: 4 channel: 5 xsize: 321 ysize: 321 IN WRITEIMAGE chan: 4 fp: 1883759920 DOne with dumpimage fp: 1883759920 have dumped ch: 4 fp: 1883759920 About to write headers fp: 1883759768 done with navigation--retrieving data