[GRASSLIST:7997] Re: Bug in r.out.arc

David Finlayson david.p.finlayson at gmail.com
Fri Aug 19 19:20:51 EDT 2005


Have you tried using r.in.gdal/r.out.gdal? I wonder if r.out.arc
shouldn't be depreciated in favor of gdal?

David

On 8/19/05, Karl Broich <b61bro at b61srv5.bauv.unibw-muenchen.de> wrote:
> 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
> --------------------------------------------------------------------------
>
>


--
David Finlayson
Marine Geology & Geophysics
School of Oceanography
Box 357940
University of Washington
Seattle, WA  98195-7940
USA

Office: Marine Sciences Building, Room 112
Phone: (206) 616-9407
Web: http://students.washington.edu/dfinlays


-- 
David Finlayson
Marine Geology & Geophysics
School of Oceanography
Box 357940
University of Washington
Seattle, WA  98195-7940
USA

Office: Marine Sciences Building, Room 112
Phone: (206) 616-9407
Web: http://students.washington.edu/dfinlays




More information about the grass-user mailing list