<div dir="ltr"><div><div><br><br>On Sat, Nov 11, 2017 at 12:25 AM, Ken Mankoff <<a href="mailto:mankoff@gmail.com">mankoff@gmail.com</a>> wrote:<br>><br>> Dear GRASS list,<br>><br>> I have a GeoTIFF that I can read in to a raster. ~<a href="http://r.info">r.info</a>~ reports "max = inf". If I try to write it out as a raster with ~r.out.gdal~ I get an error (below) and the file is not saved to disk. I can't figure out how to replace "inf" values with ~r.mapcalc~. Can someone suggest how to work with this data?<br>><br>> Thanks,<br>><br>>   -k.<br>><br>><br>> Checking GDAL data type and nodata value...<br>>  100%<br>> WARNING: Selected GDAL datatype does not cover data range.<br><br></div>Did you specify type=Float32? If yes, try to use type=Float64. You can also use the -f flag to force raster export.<br><br></div>Markus M<br><div><div><br>> WARNING: GDAL datatype: Float32, range: -3.4e+38 - 3.4e+38<br>> WARNING: Raster map <foo> range: 0.393347 - inf<br>> WARNING: Raster export results in data loss.<br>> Using GDAL data type <Float32><br>> Input raster map contains cells with NULL-value (no-data). The value nan<br>> will be used to represent no-data values in the input map. You can specify<br>> a nodata value with the nodata option.<br>> ERROR: Raster export aborted.<br>> _______________________________________________<br>> grass-user mailing list<br>> <a href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a><br>> <a href="https://lists.osgeo.org/mailman/listinfo/grass-user">https://lists.osgeo.org/mailman/listinfo/grass-user</a><br><br></div></div></div>