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.

Gridded3DSet.

Hi:

Can somebody explain me how Gridded3DSet works?

Im working with an x, y and z coordinate, with a type like this:
   (x, y, z) -> c
I want the x to represent a utm coordinate form 428000 to 452000 with 24 samples. The y will be another utm coordinate from 4463000 to 4487000 with another 24 samples, and the z will represent different levels of height (15) but no a lineal series.

When i define my Gridded3DSet with this:

 public Gridded3DSet(MathType type, float[][] samples, int lengthX,
                     int lengthY, int lengthZ) throws VisADException;

I know the values of lengthX (24), lenghtY (24), and lengthZ (15), but i dont know how to fill the samples array up.

Could somebody help me?

Waiting for your answers. And many thanks...





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