[kepler-dev] [Bug 4197] - Waterflow TPC demo - tracking bug

ben leinfelder leinfelder at nceas.ucsb.edu
Tue Jul 7 12:59:22 PDT 2009


Edward -
I suppose I drew some conclusions from this line (in DoubleToken.java):

     public static final DoubleToken NIL = new DoubleToken(Double.NaN);

I've changed the reporting class to keep "nil" rather than "NaN" when  
it is rendered.
Thanks!
-ben

On Jul 7, 2009, at 11:48 AM, Edward A. Lee wrote:

>
> The change below looks questionable:
>
> bugzilla-daemon at ecoinformatics.org wrote:
>> http://bugzilla.ecoinformatics.org/show_bug.cgi?id=4197
>> ------- Comment #10 from leinfelder at nceas.ucsb.edu  2009-07-07  
>> 09:21 -------
>> Changes made by Jim:
>> -month and river are now strings (rather than factors (ie. ints).
>> -rounding done to 4 places.
>> Changes made by me:
>> -"nil" values will be preserved for IntToken
>> -DoubleToken "nil" values will show as "NaN"
>
> IEEE 754 defines NaN, and nil tokens will not behave
> like NaN.  This doesn't look right to me...
>
> Edward
>
>> -boolean "nil", unfortunately, will show as "false"
>> _______________________________________________
>> Kepler-dev mailing list
>> Kepler-dev at kepler-project.org
>> http://mercury.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-dev
> <eal.vcf>_______________________________________________
> Kepler-dev mailing list
> Kepler-dev at kepler-project.org
> http://mercury.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-dev



More information about the Kepler-dev mailing list