This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
> 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: ClosedAttachment:
vector.gif
Description: GIF image