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

Keren Rosado keren.rosadova at gmail.com
Tue Nov 7 13:07:18 MST 2017


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/ba7c6109/attachment.html>


More information about the ncl-talk mailing list