Hi<br><br>I read the instructions on how to unsubscribe from this email, but it didn't work. I wrote SIGNOFF GRADSUSR in the subject line and in the body of the email, but I don't know if I misunderstood the directions. Can somebody please help me? <br>
<br>Thank you! <br><br><div class="gmail_quote">On Thu, Mar 19, 2009 at 8:22 PM, Ryo Furue <span dir="ltr"><<a href="mailto:furue@hawaii.edu">furue@hawaii.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Arlindo,<br>
<br>
I guess this "rec+20" in this line<br>
<br>
sscanf (rec+20," %g %g %g",&hdr.lat,&hdr.lon,&val);<br>
<br>
is the culprit. You are missing the first two characters<br>
of the latitude. Your latitude starts from the 18th column<br>
counting from 0th (see below), so that the code should read<br>
<br>
sscanf (rec+18," %g %g %g",&hdr.lat,&hdr.lon,&val);<br>
<br>
Hope this helps,<br>
Ryo<br>
------------------------------------------------<br>
012345678901234567890<br>
1979 1 mapt -25.18 32.36 10<br>
1979 1 chang -26.18 32.11 10<br>
1979 1 xai -25.03 33.38 11<br>
1979 1 namp -15.06 39.17 15<br>
1979 1 lich -13.18 35.14 12<br>
1979 1 cuamba -14.49 36.32 10<br>
1979 1 pemba -12.59 40.32 14<br>
1979 1 qlm -17.53 36.53 11<br>
1979 1 Tete -16.11 33.53 11<br>
1979 1 chimo -19.07 32.28 10<br>
1979 1 Ibn -23.52 35.23 12<br>
1979 1 vlk -22.00 35.19 11<br>
1979 1 beira -19.48 34.54 14<br>
</blockquote></div><br>