[GRASS-user] Set rasters with inf values to nodata

Markus Neteler neteler at osgeo.org
Tue Apr 1 12:39:17 PDT 2014


On Tue, Apr 1, 2014 at 6:43 PM, Moskovitz, Bob at DOC
<Bob.Moskovitz at conservation.ca.gov> wrote:
> Thanks for looking into this.
>
> Here it is:
> R:\SpecialProjects\tsunami work>gdalinfo --version
> GDAL 1.10.1, released 2013/08/26
> R:\SpecialProjects\tsunami work\>gdalinfo -mm NETCDF:pola_cascadiad_sift2.nc:max_speed
> Warning 1: No UNIDATA NC_GLOBAL:Conventions attribute
> Driver: netCDF/Network Common Data Format
> Files: pola_cascadiad_sift2.nc
...
> Band 1 Block=1810x1 Type=Float64, ColorInterp=Undefined
>     Computed Min/Max=0.000,1.#IO

Honestly, I have never seen such Max value.

Maybe a GDAL or dataset issue?

>   NoData Value=-9.9999999999999995e+033
>   Metadata:
>     long_name=Maximum Current Speed
>     missing_value=-1e+034
>     NETCDF_VARNAME=max_speed
>     units=centimeters/second


Markus


More information about the grass-user mailing list