[GRASS-user] unable to calculate landscape metrices

HELLO ,
iam working on land sat TM data. i wand to calculate space metrics .
i run r.li.setup for configuring set-up frame

after that i tried to run r.li.patch density…

it took 1 hr time to complete …

but at last it showed an error message as shown below…

G_calloc: unable to allocate 4022 * 4 bytes at alloc_cell.c:66
G_calloc: unable to allocate 4022 * 4 bytes at alloc_cell.c:66

G_calloc: unable to allocate 4022 * 4 bytes at alloc_cell.c:66

please help me…

bharath.s

bharath.s

On Thu, Aug 19, 2010 at 12:34 PM, bharath s <bharath.settur@gmail.com> wrote:

HELLO ,
iam working on land sat TM data. i wand to calculate space
metrics .
i run r.li.setup for configuring set-up frame
after that i tried to run r.li.patch density...
it took 1 hr time to complete ..

Please post the output of

g.region -p

but at last it showed an error message as shown below....

G_calloc: unable to allocate 4022 * 4 bytes at alloc_cell.c:66
G_calloc: unable to allocate 4022 * 4 bytes at alloc_cell.c:66

G_calloc: unable to allocate 4022 * 4 bytes at alloc_cell.c:66

please help me.....

Some questions:
- which GRASS version
- which Operating system
- large file support enabled
?

Markus

[...]

Markus:

Some questions:
- which GRASS version
- which Operating system
- large file support enabled
?

@bharath:

Get most of the above questions answered via "g.version -br". Maybe the
"g.version" module could be enhanced to _also_ return the operating system?

As a side-note:

new user's ask naturally for support and very frequently the same questions
(like above) are asked from experienced user's to better nail down a potential
problem. Maybe we could use a wiki-page with standard steps like:

  1. provide information about grass version, build, etc (use "g.version -br"
for example)
  2. for raster related processing, provide the region size ("g.region -p")
  3. etc.

Regards, Nikos

I would second this Nikos - perhaps such instructions could also be emailed as a welcome note when a new user joins the discussion group? As a noob it is sometimes difficult to know what information to include in requests for help (and also how to get this info out of GRASS)
cheers!
Rebecca


From: Nikos Alexandris nikos.alexandris@felis.uni-freiburg.de
To: grass-user@lists.osgeo.org
Cc: bharath s bharath.settur@gmail.com
Sent: Thu, 19 August, 2010 13:22:57
Subject: Re: [GRASS-user] unable to calculate landscape metrices

[…]

Markus:

Some questions:

  • which GRASS version
  • which Operating system
  • large file support enabled
    ?

@bharath:

Get most of the above questions answered via “g.version -br”. Maybe the
“g.version” module could be enhanced to also return the operating system?

As a side-note:

new user’s ask naturally for support and very frequently the same questions
(like above) are asked from experienced user’s to better nail down a potential
problem. Maybe we could use a wiki-page with standard steps like:

  1. provide information about grass version, build, etc (use “g.version -br”
    for example)
  2. for raster related processing, provide the region size (“g.region -p”)
  3. etc.

Regards, Nikos


grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

Rebecca Bennett wrote:

I would second this Nikos - perhaps such instructions could also be emailed
as a welcome note when a new user joins the discussion group?

And I second that ;-).

I don't know why I did not write that while I was thinking it, i.e. I was
thinking the welcome message and the list's netiquette. I thought it is better
to expect some first replies, then expand the discussion.

Cheers, Nikos

As a noob it
is sometimes difficult to know what information to include in requests for
help (and also how to get this info out of GRASS)

...

(please keep this on the list)

On Thursday 19 of August 2010 15:49:55 bharath s wrote:

hello,

                 iam using Grass6.4.0 rc5-2 version

operating system is ubuntu 9.10

the region settings are as follows:

projection: 1 (UTM)
zone: 43
datum: wgs84
ellipsoid: a=6378137 es=0.00669437999014138
north: 1463518.44871795
south: 1408700.64102564
west: 749793.24626866
east: 818291.76492537
nsres: 30.0042735
ewres: 30.00373134
rows: 1827
cols: 2283
cells: 4171041

this is landsat tm data for bangalore region...

On Thu, Aug 19, 2010 at 3:32 PM, Nikos Alexandris
<nikos.alexandris@felis.uni-freiburg.de> wrote:

Rebecca Bennett wrote:

I would second this Nikos - perhaps such instructions could also be emailed
as a welcome note when a new user joins the discussion group?

And I second that ;-).

I don't know why I did not write that while I was thinking it, i.e. I was
thinking the welcome message and the list's netiquette. I thought it is better
to expect some first replies, then expand the discussion.

Cheers, Nikos

As a noob it
is sometimes difficult to know what information to include in requests for
help (and also how to get this info out of GRASS)

Please provide a text snippet for discussion here :slight_smile:

thanks
Markus