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; merging Test30.java and Simple.java

Hi Armin,
 
The only thing that makes this tricky is getting rid of
logic in Simple.java.  I haven't tried this, but I'd say:
 
1. Get rid of CellImpl constructor and replace it with the
   statement:
     image_ref.setData(image_sequence);
 
2. Add a statement
     display.addMap(new ScalarMap(hour_type, Display.Animation));
  after
    RealType hour_type = . . .
 
Optionally, you could get rid of the VisADSlider stuff.
 
Another way to do this is just to import the images.nc file into
the SpreadSheet, and use its point-and-click user interface to
construct mappings:
 
  x -> X Axis
  y -> Y Axis
  Time -> Z Axis
  val -> RGB
 
Good luck,
Bill
----------------------------------------------------------
Bill Hibbard, SSEC, 1225 W. Dayton St., Madison, WI  53706
whibbard@xxxxxxxxxxxxx  608-263-4427  fax: 608-263-6738
http://www.ssec.wisc.edu/~billh/vis.html
 

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