NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.

Re: newbie questions

John J Brecht wrote:
> 
> I have a few general questions:
> 
> Vector data -
> 
> Is there support for displaying vector data in VisAD?  If not, is there
> anyone who has managed to pull it off?  If not, is there anyone who
> could point me in the right direction (i.e. should I just create a VisAD
> LineStripArray) ?
> 

I have a field that looks like
(lat,lon,lev) --> (uwind,vwind)

I display it as vectors by mapping to Display.Flow1X and Display.Flow1Y:
    display.addMap(new ScalarMap(uwind, Display.Flow1X));
    display.addMap(new ScalarMap(vwind, Display.Flow1Y));

I also have a bit of code that gives me a VisADLineArray given a length
and direction. I imagine there is something better in VisAD that does
this so I am eagerly awaiting other responses.

Hope this helps,
Doug

-- 
*----------------------------------------------------------------------*
| Doug Lindholm, Software Engineer          |  E-mail: lind@xxxxxxxx   |
| Research Applications Program             |   Phone: 303-497-8374    |
| National Center for Atmospheric Research  |                          |
| P.O. Box 3000                             |     There's no place     |
| Boulder, Colorado 80307-3000              |        like $HOME        |
*----------------------------------------------------------------------*

  • 1999 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the visad archives: