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 #90288 is a reply to message #90287] Wed, 18 February 2015 11:23 Go to previous messageGo to previous message
wlandsman is currently offline  wlandsman
Messages: 743
Registered: June 2000
Senior Member
On Wednesday, February 18, 2015 at 1:32:50 PM UTC-5, David Fanning wrote:

> So, here is my question. Are both of these programs "right"? If not, why
> not? And, which would convey the "true wind direction" more convincingly
> on a plot?

I'd vote for the partvelvec.pro approach where the angle -- like everything else on the map -- is distorted by the unequal projections.

However, in a similar case I chose the opposite approach -- in my tvcircle.pro I have the comment

"TVCIRCLE always draws a circle --- even when in data coordinates and the X and Y data scales are unequal. (The X data scale is used to define the circle radius.) If this is not the behavior
you want, then use TVELLIPSE instead."


In any case, the behavior of the program should be documented (which partvelvec.pro currently isn't), and perhaps a keyword could be added to let the user choose which approach he wants.

--Wayne
[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: Wed Oct 08 11:45:26 PDT 2025

Total time taken to generate the page: 0.00390 seconds