[GRASS-user] Set rasters with inf values to nodata
Moskovitz, Bob@DOC
Bob.Moskovitz at conservation.ca.gov
Tue Apr 1 16:46:46 PDT 2014
This is the first time I've seen such Max values too. But I have been able to solve my problem by converting these files to Arc/info ASCII Grids and replace all "1.#INF" to my nodata value. I'll see if anyone on the GDAL ML can help me.
-Bob
-----Original Message-----
From: neteler.osgeo at gmail.com [mailto:neteler.osgeo at gmail.com] On Behalf Of Markus Neteler
Sent: Tuesday, April 01, 2014 12:39 PM
To: Moskovitz, Bob at DOC
Cc: grass-user at lists.osgeo.org
Subject: Re: [GRASS-user] Set rasters with inf values to nodata
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