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 Question

KathyLee,
 
Thanks for the code and data file.  Tom Rink spotted your problem,
your grid had a 3-D domain (row, column, level) but only row and
column were mapped to display axes.  This will make a picture, but
will make dots.  The easiest way to fix it is just to reduce the
grid domain back to (row, column).  My changed code is at:
 
  ftp://demedici.ssec.wisc.edu/pub/misc/WXView.java
 
The image looks like surface temperature over North America.
 
Thanks also for finding the NullPointerException.  I know what
causes it and just need to think of a good fix.  I'll put the
fixed code on the VisAD web page soon.  If you change to a 2-D
grid domain you should be able to display with temperature mapped
to either RGB or IsoContour.
 
Cheers,
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
 
"kill cross-platform Java by growing the polluted Java market"
   - from an internal Microsoft planning document
 

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