Daniele Romagnoli a écrit :
> My data is packed data (I have SampleValidRange, and scale/Offset values 
> to obtain the geophysic data).

Yes, but I would expect your packed data to be integer values, are they?

If they are integer, a validMin = 1 would be appropriate for those particular 
data (it is the minimal packed value, not the minimal geophysics value).


> (I have a different product having as validRange, -3.4028235E38, 
> 3.4028235E38, then, I cannot use a validMin set to 1).

This is an other beast. Those data are probably already geophysics (i.e. 
scale=1 
and offset=0) except that they have "nodata" values that are not NaN. This is a 
different case than the previous one. This case live in a "gray area" - they 
are 
not packed, but not completly geophysics neither because of the "nodata" values 
that are not NaN. There is no direct support by GridCoverage2D for this gray 
area at this time. I'm used to handle those data by replacing the "nodata" 
values by NaN straight at reading time (inside ImageReader code). The result is 
a "pure geophysics" image, which GridCoverage2D can handle.

        Martin

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to