[ncl-talk] Fwd: Random file into polar coordinates

Dennis Shea shea at ucar.edu
Tue Nov 7 15:25:44 MST 2017


Again you need clarify  even more ...Please look at:

---

 http://hyperphysics.phy-astr.gsu.edu/hbase/sphc.html

Upper left:

theta is (90-latitude); co-latitude
phi is longitude
r is the radius of the earth (assuming a spherical earth)

You have all of this information.

===
http://keisan.casio.com/exec/system/1359534351
===
The radius at any latitude:
   http://mathforum.org/library/drmath/view/54158.html

r(latitude) = r*cos(latitude)   ; latitude in radians




On Tue, Nov 7, 2017 at 1:07 PM, Keren Rosado <keren.rosadova at gmail.com>
wrote:

> R, theta
>
> On Tue, Nov 7, 2017 at 12:11 PM, Dennis Shea <shea at ucar.edu> wrote:
>
>> Please clarify your question:
>>
>> re: "polar coordinates"
>>
>> (a)  r,theta ?  https://en.wikipedia.org/wiki/Polar_coordinate_system
>> (b)  lat,lon ?
>>
>> On Tue, Nov 7, 2017 at 11:52 AM, Keren Rosado <keren.rosadova at gmail.com>
>> wrote:
>>
>>>
>>> Hello,
>>>
>>> I have a file with observations for the entire globe for one hour
>>> period.
>>> Here are few lines from my txt (observations) files. The highlighted
>>> values are for lat and lon:
>>> 2010/08/28,04:00:00.356732, 11.7047, 133.9177,  4.8,  5
>>>
>>> 2010/08/28,04:00:00.629722, 36.7353,  52.1856, 26.8,  7
>>>
>>> 2010/08/28,04:00:00.559602, 36.8155,  52.2482,  3.3,  5
>>>
>>> 2010/08/28,04:00:00.922721,  4.8667, 105.7474,  8.3,  7
>>>
>>> 2010/08/28,04:00:00.130999, 22.7165,-105.1758, 24.9,  5
>>>
>>> 2010/08/28,04:00:00.400279, 11.7329, 133.9220, 16.3,  9
>>>
>>> 2010/08/28,04:00:01.330873, 21.6459,-105.0242,  7.3,  5
>>>
>>> 2010/08/28,04:00:01.409443, 28.4564, -90.7360,  9.7,  5
>>>
>>>
>>>
>>> I plotted these observations using ncl function gsn_add_polymarker for
>>> the domain I am interested in lat and lon.
>>>
>>>
>>> I will like to now how to transform the lat and lon to polar coordinates
>>> for the domain I am interested.
>>>
>>>
>>> Does anyone have an idea of how to to this?
>>>
>>>
>>> Thanks!
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> ncl-talk mailing list
>>> ncl-talk at ucar.edu
>>> List instructions, subscriber options, unsubscribe:
>>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20171107/18bccec4/attachment.html>


More information about the ncl-talk mailing list