[GRASS5] Help: Need Assistance

Hi All,
Facing a problem when performing orthorectification. I am performing all
the 8 required steps properly.

Below is a error description:
GIS Error: error while writing in temp file. I found this error when grass
notify me through mail in /var/spool/mail/root file.

Any solution highly appreciated.

Thanks 'n' Regards,
Bhuwan Joshi

On Tue, Sep 03, 2002 at 12:18:18PM +0530, BhuvanJ@riskinc.com wrote:

Hi All,
Facing a problem when performing orthorectification. I am performing all
the 8 required steps properly.

Below is a error description:
GIS Error: error while writing in temp file. I found this error when grass
notify me through mail in /var/spool/mail/root file.

Any solution highly appreciated.

This error will be related to a "disk full" problem (I still vote
for meaningful error messages!).

When running orthorectification, GRASS internally generates at
least 1 temp-file in the mapset/.tmp/ directory. While
running the process, I suggest to run

watch df -h
in a second terminal window to find the partition which is
full (we have this problem here as well from time to time).

Note that leaving GRASS will cleanup this temp directory.

Only more space on hard drive or a reduced resolution will help.

Markus

On Tue, Sep 03, 2002 at 09:11:05AM +0200, Markus Neteler wrote:

On Tue, Sep 03, 2002 at 12:18:18PM +0530, BhuvanJ@riskinc.com wrote:
> Hi All,
> Facing a problem when performing orthorectification. I am performing all
> the 8 required steps properly.
>
> Below is a error description:
> GIS Error: error while writing in temp file. I found this error when grass
> notify me through mail in /var/spool/mail/root file.
>
> Any solution highly appreciated.

This error will be related to a "disk full" problem (I still vote
for meaningful error messages!).

This is already a meaning error message.
We do not need to explain UNIX or filesystems to people in an error mesage.
Maybe we should make this an FAQ instead.

Another option would be to add in the documentation
that a certain amount of filesystem space will be used.
If possible the command could warn before using that space, like:
  Warnung: Will need about 130 MByte of temporary diskspace
  for this operation.

On Tue, Sep 03, 2002 at 12:10:29PM +0200, Bernhard Reiter wrote:

On Tue, Sep 03, 2002 at 09:11:05AM +0200, Markus Neteler wrote:
> On Tue, Sep 03, 2002 at 12:18:18PM +0530, BhuvanJ@riskinc.com wrote:
> > Hi All,
> > Facing a problem when performing orthorectification. I am performing all
> > the 8 required steps properly.
> >
> > Below is a error description:
> > GIS Error: error while writing in temp file. I found this error when grass
> > notify me through mail in /var/spool/mail/root file.
> >
> > Any solution highly appreciated.
>
> This error will be related to a "disk full" problem (I still vote
> for meaningful error messages!).

This is already a meaning error message.
We do not need to explain UNIX or filesystems to people in an error mesage.
Maybe we should make this an FAQ instead.

Another option would be to add in the documentation
that a certain amount of filesystem space will be used.
If possible the command could warn before using that space, like:
  Warnung: Will need about 130 MByte of temporary diskspace
  for this operation.

At least it should say which partition is full (maybe the path to
G_tempfile()). Then users in network do not have to waste time on
finding the partition in question. Since orthophotos can be very
large and the tempfile is (sometimes) deleted after crash, it
is not always obvious where to search.

Markus

On Tue, Sep 03, 2002 at 12:18:58PM +0200, Markus Neteler wrote:

On Tue, Sep 03, 2002 at 12:10:29PM +0200, Bernhard Reiter wrote:

> > > GIS Error: error while writing in temp file.

> > This error will be related to a "disk full" problem (I still vote
> > for meaningful error messages!).
>
> This is already a meaning error message.
> We do not need to explain UNIX or filesystems to people in an error mesage.
> Maybe we should make this an FAQ instead.
>
> Another option would be to add in the documentation
> that a certain amount of filesystem space will be used.
> If possible the command could warn before using that space, like:
> Warnung: Will need about 130 MByte of temporary diskspace
> for this operation.

At least it should say which partition is full (maybe the path to
G_tempfile()). Then users in network do not have to waste time on
finding the partition in question. Since orthophotos can be very
large and the tempfile is (sometimes) deleted after crash, it
is not always obvious where to search.

Yes, it should additionaly give the path to G_tempfile() especially
the directory or file it tried to write.

However finding the partition and diagnose the possible various problems
that can occur is beyond GRASS' business.