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 |
*----------------------------------------------------------------------*