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.
Hello, I believe I have found a problem with the constructors of Gridded2DDoubleSet. When the constructors with signatures of Gridded2DDoubleSet(MathType, double[][], int) Gridded2DDoubleSet(MathType, double[][], int, CoordinateSystem, Unit[], ErrorEstimate[]) Gridded2DDoubleSet(MathType, double[][], int, CoordinateSystem, Unit[], ErrorEstimate[], boolean) are called, the double[][] samples array is not used. It appears that all that is needed is a call to init_doubles(double[][], boolean) on line 204 of Gridded2DDoubleSet.java. I have added that call to a copy of that file, and it fixes the ArrayIndexOutOfBoundsException I was getting when calling domainEnumeration() of a Field that uses this as its domain Set. If I am way off the mark here, I can supply a short program that demonstrates the problem that led me to this area. Thanks Russell -- Russell Steicke Bureau of Meteorology, Australia. -- Fortune says: Chaos is King and Magic is loose in the world.
visad
archives: