[ https://issues.apache.org/jira/browse/SIS-496?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Desruisseaux closed SIS-496. ----------------------------------- > GridCoverage.forConvertedValues(true) sometime creates an image that can not > store NaN values > --------------------------------------------------------------------------------------------- > > Key: SIS-496 > URL: https://issues.apache.org/jira/browse/SIS-496 > Project: Spatial Information Systems > Issue Type: Task > Components: Features > Affects Versions: 1.0 > Reporter: Martin Desruisseaux > Assignee: Martin Desruisseaux > Priority: Major > Fix For: 1.1 > > > A call to {{GridCoverage.forConvertedValues(true)}} is supposed to create a > {{GridCoverage}} where all sample values have been converted to "geophysics" > values (i.e. values in the units of measurement given by > {{SampleDimension.getUnits()}}). If the values before conversion had some > sentinel values used for missing data (e.g. "999 = no data"), then those > values shall be converted to NaN values. However in Apache SIS 1.0, the > {{forConvertedValues(true)}} method sometime fails to recognize that it needs > to change the image data type from an integer type to a floating point type > in order to be able to store NaN values. -- This message was sent by Atlassian Jira (v8.3.4#803005)