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

Home » Public Forums » archive » dfanning widbarb.pro
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
dfanning widbarb.pro [message #66269] Fri, 24 April 2009 12:11
natha is currently offline  natha
Messages: 482
Registered: October 2007
Senior Member
Hi All,

I'm using the windbarb.pro program from david's catalyst library and
I'm trying to draw some wind barbs on a map. I realise that the
windbarbs are not positioned in a grid although my x and y params that
defines the wind locations are defined like this:

x=REBIN(FINDGEN(48)*10.+5,48,48,/SAMPLE)
y=REBIN(TRANSPOSE(FINDGEN(48)*10.+5),48,48,/SAMPLE)

The aspect ratio of my window is 1 and the clip_dimensions is
[0,0,480,480]. I call the routine like this:

wspeed=RANDOMU(-3,[48,48])*100+5.0
direction=FINDGEN(48,48)*360/(48^2.-1)

Windbarb, x, y, wspeed, wdirection, Aspect=1, Clip=
[0.,0.,480.,480.], Length=4

I thought I'll obtain the windbarbs in a grid.
I mean, if I draw a grid, each cell with dimensions [10,10] I supose
each barb will have the origin in a center of each grid cell but this
is not the result.

Please can anybody help me !

Thanks,
David
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: match_2d
Next Topic: Re: dfanning widbarb.pro

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

Current Time: Sat Oct 11 12:52:49 PDT 2025

Total time taken to generate the page: 0.55996 seconds