Re: Test-Case GriddedTo2DSet

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


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