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

Home » Public Forums » archive » Re: wind fields on map
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: wind fields on map [message #78181] Mon, 31 October 2011 05:40 Go to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Fabzou writes:

> For windbarbs, I don't know. A good idea would be to start from
> PARTVELVEC and implement the barb thing... If you do it, I'm interested
> in the final product too ;-)

It's an old program, but it probably still works:

http://www.idlcoyote.com/programs/windbarb.pro

Cheers,

David


--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
Re: wind fields on map [message #78183 is a reply to message #78181] Mon, 31 October 2011 03:10 Go to previous messageGo to next message
Fabzou is currently offline  Fabzou
Messages: 76
Registered: November 2010
Member
Hi,

For arrow representation, PARTVELVEC from the IDL Astro library accepts
irregular fields as input
(http://idlastro.gsfc.nasa.gov/ftp/pro/plot/partvelvec.pro)

For windbarbs, I don't know. A good idea would be to start from
PARTVELVEC and implement the barb thing... If you do it, I'm interested
in the final product too ;-)

Fab



On 10/31/2011 10:27 AM, Sverre Solberg wrote:
> Hi,
>
> I wonder if there's an easy way to plot wind fields (e.g. wind barbs)
> on a geographical map when my 2d field is irregular (my lon/lat grid
> does not have fixed lon/lat increments). The standard procedures I
> found in IDL all seem to require a regular system (X and Y being
> vectors, not 2D arrays). Any hints?
Re: wind fields on map [message #78258 is a reply to message #78181] Tue, 01 November 2011 05:48 Go to previous message
Sverre Solberg is currently offline  Sverre Solberg
Messages: 18
Registered: February 2005
Junior Member
On Oct 31, 1:40 pm, David Fanning <n...@dfanning.com> wrote:
> Fabzou writes:
>> For windbarbs, I don't know. A good idea would be to start from
>> PARTVELVEC and implement the barb thing... If you do it, I'm interested
>> in the final product too ;-)
>
> It's an old program, but it probably still works:
>
>   http://www.idlcoyote.com/programs/windbarb.pro
>
> Cheers,
>
> David
>
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming:http://www.idlcoyote.com/
> Sepore ma de ni thui. ("Perhaps thou speakest truth.")

Many thanks.
Yes, it works (both windbarb and partvelvec), at least for some
devices. Did get trouble with the colors using Z-device, but PS works
ok.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Shape to raster
Next Topic: wind fields on map

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

Current Time: Wed Oct 08 11:36:19 PDT 2025

Total time taken to generate the page: 0.00432 seconds