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

Home » Public Forums » archive » Direction of Wind Vectors: A bug?
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: Direction of Wind Vectors: A bug? [message #90290 is a reply to message #90289] Wed, 18 February 2015 12:04 Go to previous messageGo to previous message
natha is currently offline  natha
Messages: 482
Registered: October 2007
Senior Member
I saw this problem in the routine VELOVECT. I had to rewrite the code taking into account the aspect ratio of the output plot.

ra=(clip[3]-clip[1])/(clip[2]-clip[0])

x_step=0.01
y_step=0.01 * ra

I had to do the same in your routine windbarb. I assume that you are having the same problem here...
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Interpolation
Next Topic: Errors when compiling routines with main-level programs

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

Current Time: Thu Oct 09 07:00:27 PDT 2025

Total time taken to generate the page: 0.16370 seconds