Unidata - To provide the data services, tools, and cyberinfrastructure leadership that advance Earth system science, enhance educational opportunities, and broaden participation. Unidata
         
  advanced  
 

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
 

 
 
  Contact Us     Site Map     Search     Terms and Conditions     Privacy Policy     Participation Policy
 
National Science Foundation (NSF) UCAR Community Programs   Unidata is a member of the UCAR Community Programs, is managed by the University Corporation for Atmospheric Research, and is sponsored by the National Science Foundation.
P.O. Box 3000     Boulder, CO 80307-3000 USA     Tel: 303-497-8643     Fax: 303-497-8690