[GRASSLIST:7984] Bug in r.out.arc

Karl Broich b61bro at b61srv5.bauv.unibw-muenchen.de
Fri Aug 19 06:27:03 EDT 2005


Hello,

The accuracy of outputformat in r.out.arc is inconsistant with GRASS 
internal format.

GRASS uses internally an accuracy of 8 numbers. r.out.arc writes out only 6 
numbers.

After export and reimport with r.in.arc into GRASS this is felt as an 
mismatch of several cells at the east boundary. This error possibly occurs 
just on grids with n x n >> 1000 x 1000.

Example :

Original North/West corner :
n =28.64083333
w =37.45333333
res=0.00083333

After export with r.out.arc :
n =28.640833
w =37.453333
res=0.000833

The error increases with lower res.
Work arround : Add the missing numbers manually inside your ascii-grid-file.

This bug is reported with no. 3546.

Karl


--------------------------------------------------------------------------
Dr.-Ing. Karl BROICH			Tel:	+49 / (0) 89 / 6004 2478
Universität der Bundeswehr München	Fax:	+49 / (0) 89 / 6004 3858
Institut für Wasserwesen
Werner-Heisenberg-Weg 39
D 85577 Neubiberg
--------------------------------------------------------------------------




More information about the grass-user mailing list