Re: Cell-centered data

Hi Mike,

While such data could fit in the VisAD data model,
we have not implemented the necessary classes. We
would need Set classes defining appropriate
interpolation (constant values over cell polygons),
probably a new extension of Field or Function to
alter assumptions in some methods of point samples,
and probably a new extension of DataRenderer. This
would be a lot of work.

You may be able to improve the quality of approximation
to your data by using a higher resolution grid, but of
course at the cost of performance.

Good luck,

On Mon, 31 Jul 2006, Kapper Michael G Contr AFRL/PRSA wrote:

> I have a simple question concerning GriddedSets.  If I initialize a
> Gridded2DSet using coordinates of cell vertices, is there a way to
> setSamples with data from the cell centers?  i.e. is VisAD capable of
> filling in the values enclosed by the vertices?  Right now I average the
> values from neighboring cells and setSamples of the vertices, but this
> degrades the quality of discontinuous solutions.

To unsubscribe visad, visit:

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