[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[IDV #VIH-663165]: plotting wave direction vectors



> Full Name: Alan Bol
> Email Address: address@hidden
> Organization: COMET
> Package Version: 2.9u2 build date:2010-10-04 19:14 UTC
> Operating System: Windows 7
> Hardware: Java: home: C:\Program Files (x86)\IDV_2.9u2\jre version: 1.6.0_20 
> j3d:1.5.2 fcs (build4)
> Description of problem: Hi guys,
> I've got a gridded file of ocean wave directions (degrees) that I'd like to 
> plot as vectors. I made a stab at it but nothing shows up on the display.
> Here's what I did:
> 1. chose the file.
> 2. field sector/formulas/make flow vector from u and v
> 3. for u and v, I chose Misc/define a formula
> 4. for u, I entered sin(d), the selected my data file for d.
> 5. for v, I entered cos(d), and again chose my data file for d.
> 6. then, when I create display, nothing shows. But it doesn't show any 
> errors, either.
> Any ideas?
> 
> attached bundle and data file.
> thanks,
> alan
> 
> 
Alan,
     I think your data is between +/-360 degree, you need to convert to radian. 
Also, in the vector display control, change the range to -1 to 1. See the 
attached.


Yuan

Ticket Details
===================
Ticket ID: VIH-663165
Department: Support IDV
Priority: Normal
Status: Closed

Attachment: vector.gif
Description: GIF image


NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.