home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / graphics / avs / 1038 < prev    next >
Encoding:
Text File  |  1992-12-30  |  2.1 KB  |  41 lines

  1. Newsgroups: comp.graphics.avs
  2. Path: sparky!uunet!munnari.oz.au!spool.mu.edu!uwm.edu!rpi!gatech!destroyer!ncar!netnews.whoi.edu!news
  3. From: rsignell@crusty.er.usgs.gov (Richard P. Signell)
  4. Subject: Handling of "missing" or "special values"
  5. Message-ID: <1992Dec30.150955.18683@netnews.whoi.edu>
  6. Sender: news@netnews.whoi.edu
  7. Organization: U.S. Geological Survey, Woods Hole, MA
  8. Date: Wed, 30 Dec 92 15:09:55 GMT
  9. Lines: 30
  10.  
  11. Is there a way to tell isosurface to ignore missing or special
  12. values in a 3D grid?  Setting missing values to zero or some
  13. other value does *not* have the desired affect.
  14.  
  15. The problem of missing values arises all the time in oceanography,
  16. since we are often working with data on some sort of a latitude,
  17. longitude and depth grid, but we only have data in ocean grid cells.
  18. In land grid cells, we have no data, and for graphical techniques 
  19. like contouring and isosurfaces, we want these points to be ignored.  
  20. Most contouring packages (e.g. ISM, NCAR graphics) allow you to define 
  21. a special value, say 1.e35, that indicates to the application that the 
  22. point is to be ignored.  The contouring routine recognized special values,
  23. and no contours are drawn in any box of the grid with a special value at 
  24. one or more of its four corners.   This capability, however, does not
  25. seem to exist in AVS.  Am I missing something fundamental here?
  26.  
  27. The simple technique of just manipulating the data field by 
  28. setting all the values to zero or some other number does not work,
  29. since contour or isosurface will try to draw contours or isosurfaces between
  30. the "good" data points and the "missing" data points.   I believe the
  31. modules themselves (isosurface, contour to geom ,etc) would have to 
  32. recognize "special values" and act apppropriately to handle this problem.
  33.  
  34. I would love to here what other people have to say about this problem....
  35.  
  36. --
  37. Rich Signell               |  rsignell@crusty.er.usgs.gov
  38. U.S. Geological Survey     |  (508) 457-2229  |  FAX (508) 457-2310
  39. Quissett Campus            |  " When marriage is outlawed, 
  40. Woods Hole, MA  02543      |    only outlaws will have inlaws. "
  41.