Hi all,
Steve Emmerson wrote:
>
> Desiree,
>
> I think you might be having problems with the resolution of floating-point
> values in Java. Differences in the coordinate values are very close to the
> resolution of the Java "float" primitive type.
Sorry about my answer. Just got Steve's mail this morning, after I had
sent my answer (that is, my "guess").
(...)
>
> Because the float values are being transferred to a double array,
> there's no reason that I can see not to specify the float values as
> double to begin with.
Adding to that: Either use a Gridded2DSet with floats, or
Gridded2DDoubleSet with doubles, but not Gridded2DDoubleSet with floats.
>
> Regards,
> Steve Emmerson <http://www.unidata.ucar.edu>
Cheers,
Ugo