comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Display radar data?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Display radar data? [message #62860 is a reply to message #62858] Wed, 08 October 2008 07:59 Go to previous messageGo to previous message
Kenneth P. Bowman is currently offline  Kenneth P. Bowman
Messages: 585
Registered: May 2000
Senior Member
In article <MPG.2356726dd34c2ea398a4bd@news.giganews.com>,
David Fanning <news@dfanning.com> wrote:

> Dave writes:
>
>> I have some weather radar data, whose coordinates are distances
>> (kilometers) and angles to the radar station. So how can I convert
>> these local coordinates to longitude/latitude cordinates? Please give
>> any clue.
>
> Set up a map projection of the area of interest with MAP_SET
> or MAP_PROJ_INIT. Then use CV_COORD to convert your data
> from polar coordinates to rectangular coordinates (which
> will be the data or lat/lon coordinates, in this case).
>
> Cheers,
>
> David

I think LL_ARC_DISTANCE is a lot easier and the source code is available.

LL_ARC_DISTANCE could be improved by making it handle double precision
inputs better (!DTOR is single precision), by replacing the awkward WHILE loops
with MOD operations, and by vectorizing it.

Ken
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: segmentation fault with ncdf_open
Next Topic: Open file from full address in IDL Workbench

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 12:26:43 PDT 2025

Total time taken to generate the page: 1.03583 seconds