<div dir="ltr"><div><div><div><div><div><div><div><div>Again you need clarify even more ...Please look at: <br><br>---<br><br> <a href="http://hyperphysics.phy-astr.gsu.edu/hbase/sphc.html" target="_blank">http://hyperphysics.phy-astr.<wbr>gsu.edu/hbase/sphc.html</a><br></div><br></div>Upper left:<br><br></div>theta is (90-latitude); co-latitude<br></div>phi is longitude<br></div>r is the radius of the earth (assuming a spherical earth)<br><br></div><div>You have all of this information.<br></div><div><br>===<br></div><a href="http://keisan.casio.com/exec/system/1359534351" target="_blank">http://keisan.casio.com/exec/<wbr>system/1359534351</a><br>===<br></div>The radius at any latitude: <br> <a href="http://mathforum.org/library/drmath/view/54158.html" target="_blank">http://mathforum.org/library/<wbr>drmath/view/54158.html</a><br><br>r(latitude) = r*cos(latitude) ; latitude in radians<br></div><br><div><div><div><br><br></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Nov 7, 2017 at 1:07 PM, Keren Rosado <span dir="ltr"><<a href="mailto:keren.rosadova@gmail.com" target="_blank">keren.rosadova@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">R, theta </div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Nov 7, 2017 at 12:11 PM, Dennis Shea <span dir="ltr"><<a href="mailto:shea@ucar.edu" target="_blank">shea@ucar.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Please clarify your question: <br><br>re: "polar coordinates"<br><br></div>(a) r,theta ? <a href="https://en.wikipedia.org/wiki/Polar_coordinate_system" target="_blank">https://en.wikipedia.org/wiki/<wbr>Polar_coordinate_system</a><br></div>(b) lat,lon ? <br></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="m_-2478670982489959442h5">On Tue, Nov 7, 2017 at 11:52 AM, Keren Rosado <span dir="ltr"><<a href="mailto:keren.rosadova@gmail.com" target="_blank">keren.rosadova@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="m_-2478670982489959442h5"><div dir="ltr"><br><div class="gmail_quote"><span style="font-family:arial,helvetica,sans-serif">Hello, </span><br><div dir="ltr"><div><font face="arial, helvetica, sans-serif"><br></font></div><div><font face="arial, helvetica, sans-serif">I have a file with observations for the entire globe for one hour period. </font></div><div><div><font face="arial, helvetica, sans-serif" color="#000000">Here are few lines from my txt (observations) files. The highlighted values are for lat and lon: </font></div><div style="font-size:12.800000190734863px"><span style="color:rgb(0,0,0);font-family:Menlo;font-size:11px">2010/08/28,04:00:00.356732, </span><span style="color:rgb(0,0,0);font-family:Menlo;font-size:11px;background-color:rgb(255,255,0)">11<wbr>.7047, 133.9177</span><span style="color:rgb(0,0,0);font-family:Menlo;font-size:11px">, 4.8, 5</span><br></div><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);min-height:13px">2010/08/28,04:00:00.629722, 36.7353, 52.1856, 26.8, 7<br><span style="font-variant-ligatures:no-common-ligatures"></span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">2010/08/28,04:00:00.559602, 36.8155, 52.2482, 3.3, 5</span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">2010/08/28,04:00:00.922721, 4.8667, 105.7474, 8.3, 7</span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">2010/08/28,04:00:00.130999, 22.7165,-105.1758, 24.9, 5</span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">2010/08/28,04:00:00.400279, 11.7329, 133.9220, 16.3, 9</span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">2010/08/28,04:00:01.330873, 21.6459,-105.0242, 7.3, 5</span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">2010/08/28,04:00:01.409443, 28.4564, -90.7360, 9.7, 5</span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"><br></span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"><br></span></p><p style="margin:0px;font-stretch:normal;line-height:normal"><font face="arial, helvetica, sans-serif"><span style="color:rgb(0,0,0);font-variant-ligatures:no-common-ligatures">I plotted these observations using </span>ncl function gsn_add_polymarker for the domain I am interested in lat and lon. </font></p><p style="margin:0px;font-stretch:normal;line-height:normal"><span style="font-size:12.800000190734863px"><font face="arial, helvetica, sans-serif"><br></font></span></p><p style="margin:0px;font-stretch:normal;line-height:normal"><span style="font-size:12.800000190734863px"><font face="arial, helvetica, sans-serif">I will like to now how to transform the lat and lon to polar coordinates for the domain I am interested.</font></span></p><p style="margin:0px;font-stretch:normal;line-height:normal"><span style="font-size:12.800000190734863px"><font face="arial, helvetica, sans-serif"><br></font></span></p><p style="margin:0px;font-stretch:normal;line-height:normal"><span style="font-size:12.800000190734863px"><font face="arial, helvetica, sans-serif">Does anyone have an idea of how to to this?</font></span></p><p style="margin:0px;font-stretch:normal;line-height:normal"><span style="font-size:12.800000190734863px"><font face="arial, helvetica, sans-serif"><br></font></span></p><p style="margin:0px;font-stretch:normal;line-height:normal"><span style="font-size:12.800000190734863px"><font face="arial, helvetica, sans-serif">Thanks! </font></span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"><br></span></p></div></div>
</div><br></div>
<br></div></div>______________________________<wbr>_________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/mailma<wbr>n/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>