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.
If I have a file that contains a bunch of lat/lon points that record where samples where taken and in separate files are the respective samples. (For this question assume everything is 2D) I initially used VisAD to do something like this: ---------------------------- RealyType latitude,longitude,variable; domain_tuple = new RealTupleType(latitude, longitude); domain_set = new LinearLatLonSet (domain_tuple, latMin, latMax, Ny, lonMin, lonMax, Nx); float[][] flat_samples = <read in my samples> func_domain_range = new FunctionType(domain_tuple, variable); vals_ff = new FlatField(func_domain_range, domain_set); vals_ff.setSamples(flat_samples, false); --------------------------- My question is should I be using something other than LinearLatLonSet and actually read in all my points instead in an float[1][Nx*Ny]? (To be more accurate?) Thanks, Ben
visad
archives: