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.
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: