[GRASS5] [bug #3889] (grass) r.in.arc: fails on r.out.gdal output
Request Tracker
grass-bugs at intevation.de
Fri Dec 9 14:55:37 EST 2005
this bug's URL: http://intevation.de/rt/webrt?serial_num=3889
-------------------------------------------------------------------------
Subject: r.in.arc: fails on r.out.gdal output
Platform: GNU/Linux/i386
grass obtained from: CVS
grass binary for platform: Compiled from Sources
GRASS Version: 6.1 2005-11-16
r.in.arc is not able to handle ArcInfo ASCII grids produced by r.out.gdal. They have 'NODATA_value nan' about which r.in.arc says:
r.in.arc input=dem_5.arc output=dem_5.arc_arc type=FCELL mult=1.0
r.in.arc: ** errors detected in header section **
illegal "nodata_value" value in header
nodata_value: na
However, the import proceeds, yet the resulting raster is strange:
GRASS 6.1.cvs (poloniny_65):~ > r.info -r dem_5.arc_arc
min=nan
max=nan
This means it is impossible to assign it a colortable and on d.rast nothing is displayed. Yet d.what.rast says there are cells with valid, expected values.
Either r.out.gdal should be prevented from using 'nan' for 'no data' when exporting to AAIGrid, or r.in.arc should be fixed to handle such grids.
Which approach would be correct?
Maciek
-------------------------------------------- Managed by Request Tracker
More information about the grass-dev
mailing list