sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Desruisseaux (Jira)" <j...@apache.org>
Subject [jira] [Created] (SIS-496) GridCoverage.forConvertedValues(true) sometime creates an image that can not store NaN values
Date Fri, 19 Jun 2020 10:37:00 GMT
Martin Desruisseaux created SIS-496:
---------------------------------------

             Summary: 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
             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)

Mime
View raw message