Due to the current gap in continued funding from the U.S. National Science Foundation (NSF), the NSF Unidata Program Center has temporarily paused most operations. See NSF Unidata Pause in Most Operations for details.

Re: generating grid data from non-grid data

Hi Johnson,

> I am new to the VisAD and I want to plot a response surface of a
> non-grid data.
>
> Please can anyone let me know if there are any functionalities that
> would enable me to generate 3D grid data from non grid data.

You can construct a Field (probably an instance of visad.FlatField)
with your non-grid as its domain Irregular3DSet (i.e., sampling),
then construct a Gridded3DSet that defines the grid you want to
resample to, then pass that Gridded3DSet to the FlatField's
resample() method. Simlarly in 2-D.

Good luck,
Bill


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