[GRASS-dev] ascii export and import, large file problem

Jerry Nelson gnelson at uiuc.edu
Thu Apr 12 18:16:36 EDT 2007


The regions were in fact different before and after the export/import. We
used the default decimal setting. We're trying 16 decimals to see if that
makes a difference.

Jerry

-----Original Message-----
From: Glynn Clements [mailto:glynn at gclements.plus.com] 
Sent: Thursday, April 12, 2007 9:43 AM
To: Jerry Nelson
Cc: 'grass-dev'
Subject: Re: [GRASS-dev] ascii export and import, large file problem


Jerry Nelson wrote:

> I'm using grass6.3 updated today so the large file support for the ascii
> commands is included. I export a file using r.out.arc and then read it
back
> in using r.in.arc. The attached jpg shows the original raster on the
right.
> The screen on the left is the original raster minus the exported and
> imported version. The bottom two thirds or so of the left raster is zero,
as
> it should be, but the top 1/3 has a bunch of small values (range is - to
> +2.9).

My first guess is that the export->import process is changing the
vertical extent of the map slightly, so the calculation in the upper
portion of the map is using cells which are off by one row.

What does r.info say about the bounds of the two maps?

-- 
Glynn Clements <glynn at gclements.plus.com>




More information about the grass-dev mailing list