[GRASS-user] Why Does Re-projection Increase Disk Space Used? [UPDATE]

Rich Shepard rshepard at appl-ecosys.com
Thu Mar 15 11:06:11 EDT 2012


On Thu, 15 Mar 2012, Glynn Clements wrote:

> Which OS?

   Linux.

> r.proj calls remove() on the temporary file immediately after opening it.
> On Unix, that removes the directory entry, and will cause the file itself
> to be deleted as soon as r.proj terminates. On Windows, the remove() call
> will fail (you can't delete an open file on Windows), and the file will be
> left behind.

   For some reason, then, it's not working here. Slackware-13.1/x486 and
-13.37/x86_64.

   On the latter host I found two files in ../.tmp/<hostname>/: <pid>.1 and
<pid>.2. The former was almost 100G in size and the latter was >10G. The
source raster file is 45M in size.

Thanks, Glynn,

Rich



More information about the grass-user mailing list