[GRASS-user] GRASS pygrass - composite

Sören Gebbert soerengebbert at googlemail.com
Wed Feb 11 05:17:14 PST 2015


Dear Pierric,
can you please check your region settings?

g.region -p

It should be identical to the raster maps you are trying to compose.

g.region rast=B5

Best regards
Soeren

2015-02-11 13:55 GMT+01:00 Pierric de Laborie <pierric.delaborie at gmail.com>:
> Dear Pietro,
>
> I ran the same command with the highest level of verbose. Unfortunately it
> didn't give much more information when blocking at the problematic step.
>
> I also started the same command from GRASS GUI on another debian machine and
> it got stuck also. It is like the installation on Debian Wheezy doesn't
> fully work (?)
>
>
> GRASS 7.0.0svn (222):~/Grass_test > g.gisenv set="DEBUG=5"
>
> D1/1: G_set_program_name(): g.gisenv
> D1/5: G_set_program_name(): g.gisenv
> D2/5: G_option_to_separator(): key = separator -> sep = '/'
>
> GRASS 7.0.0svn (222):~/Grass_test >  r.composite red=B5 at PERMANENT
> green=B4 at PERMANENT blue=B3 at PERMANENT output=mycompo
>
> D1/5: G_set_program_name(): r.composite
> D2/5: G_file_name(): path = /tmp/grassdata/222/PERMANENT
> D2/5: G_file_name(): path = /tmp/grassdata/222/PERMANENT/cell/mycompo
> D2/5: G_file_name(): path = /tmp/grassdata/222/PERMANENT/WIND
> D2/5: G_file_name(): path = /tmp/grassdata/222/PERMANENT/WIND
> D2/5:   file open: read (mode = r)
> D2/5: G__read_Cell_head
> D2/5: G__read_Cell_head_array
> D3/5: region item: proj:       1
> D3/5: region item: zone:       32
> D3/5: region item: north:      3948015
> D3/5: region item: south:      0
> D3/5: region item: east:       841215
> D3/5: region item: west:       0
> D3/5: region item: cols:       841215
> D3/5: region item: rows:       3948015
> D3/5: region item: e-w resol:  1
> D3/5: region item: n-s resol:  1
> D3/5: region item: top:        1.000000000000000
> D3/5: region item: bottom:     0.000000000000000
> D3/5: region item: cols3:      1
> D3/5: region item: rows3:      1
> D3/5: region item: depths:     1
> D3/5: region item: e-w resol3: 1
> D3/5: region item: n-s resol3: 1
> D3/5: region item: t-b resol:  1
> D1/5: G_find_raster2(): name=B5 mapset=PERMANENT
> D2/5: G_file_name(): path = /tmp/grassdata/222/PERMANENT/cell/B5
> D2/5: G_file_name(): path = /tmp/grassdata/222/PERMANENT/cellhd/B5
> D2/5: G_file_name(): path = /tmp/grassdata/222/PERMANENT/cellhd/B5
> D2/5:   file open: read (mode = r)
> D2/5: G_file_name(): path = /tmp/grassdata/222/PERMANENT/cellhd/B5
> D2/5: G_file_name(): path = /tmp/grassdata/222/PERMANENT/cellhd/B5
> D2/5:   file open: read (mode = r)
> D2/5: G_file_name(): path = /tmp/grassdata/222/PERMANENT/cellhd/B5
> D2/5: G_file_name(): path = /tmp/grassdata/222/PERMANENT/cellhd/B5
> D2/5:   file open: read (mode = r)
> D2/5: G__read_Cell_head
> D2/5: G__read_Cell_head_array
> D3/5: region item: proj:       1
> D3/5: region item: zone:       32
> D3/5: region item: north:      3948015
> D3/5: region item: south:      3716085
> D3/5: region item: east:       841215
> D3/5: region item: west:       613785
> D3/5: region item: cols:       7581
> D3/5: region item: rows:       7731
> D3/5: region item: e-w resol:  30
> D3/5: region item: n-s resol:  30
> D3/5: region item: format:     1
> D3/5: region item: compressed: 2
> D1/5: G_find_raster2(): name=B5 mapset=PERMANENT
> D2/5: G_file_name(): path = /tmp/grassdata/222/PERMANENT/cell/B5
> D2/5: G_file_name(): path = /tmp/grassdata/222/PERMANENT/fcell/B5
> D2/5: G_file_name(): path = /tmp/grassdata/222/PERMANENT/g3dcell/B5
> D1/5: G_find_raster2(): name=B5 mapset=PERMANENT
> D2/5: G_file_name(): path = /tmp/grassdata/222/PERMANENT/cell/B5
> D1/5: G_find_raster2(): name=B5 mapset=PERMANENT
> D2/5: G_file_name(): path = /tmp/grassdata/222/PERMANENT/cell/B5
> D2/5: G_file_name(): path = /tmp/grassdata/222/PERMANENT/fcell/B5
> D2/5: G_file_name(): path = /tmp/grassdata/222/PERMANENT/g3dcell/B5
> D2/5: G_file_name(): path = /tmp/grassdata/222/PERMANENT/cell/B5
> D2/5: G_file_name(): path = /tmp/grassdata/222/PERMANENT/cell/B5
> D3/5: create window mapping (841215 columns)
> D1/5: G_find_raster(): name=MASK mapset=PERMANENT
> D2/5: G_file_name(): path = /tmp/grassdata/222/PERMANENT/cell/MASK
> D1/5: G_find_raster2(): name=B5 at PERMANENT mapset=
> D2/5: G_file_name(): path = /tmp/grassdata/222/PERMANENT/cell/B5
> D2/5: G_file_name(): path = /tmp/grassdata/222/PERMANENT/fcell/B5
> D2/5: G_file_name(): path = /tmp/grassdata/222/PERMANENT/g3dcell/B5
> D1/5: G_find_raster(): name=B5 at PERMANENT mapset=
> D2/5: G_file_name(): path = /tmp/grassdata/222/PERMANENT/cell/B5
> D2/5: G_file_name(): path = /tmp/grassdata/222/PERMANENT/colr2/PERMANENT/B5
> D2/5: G_file_name(): path = /tmp/grassdata/222/PERMANENT/colr/B5
> D2/5: G_file_name(): path = /tmp/grassdata/222/PERMANENT/colr/B5
> D2/5:   file open: read (mode = r)
> D3/5: adding rule 0=0.00 0 0 0  34457=34457.00 255 255 255
> D1/5: G_find_raster2(): name=B4 mapset=PERMANENT
> D2/5: G_file_name(): path = /tmp/grassdata/222/PERMANENT/cell/B4
> D2/5: G_file_name(): path = /tmp/grassdata/222/PERMANENT/cellhd/B4
> D2/5: G_file_name(): path = /tmp/grassdata/222/PERMANENT/cellhd/B4
> D2/5:   file open: read (mode = r)
> D2/5: G_file_name(): path = /tmp/grassdata/222/PERMANENT/cellhd/B4
> D2/5: G_file_name(): path = /tmp/grassdata/222/PERMANENT/cellhd/B4
> D2/5:   file open: read (mode = r)
> D2/5: G_file_name(): path = /tmp/grassdata/222/PERMANENT/cellhd/B4
> D2/5: G_file_name(): path = /tmp/grassdata/222/PERMANENT/cellhd/B4
> D2/5:   file open: read (mode = r)
> D2/5: G__read_Cell_head
> D2/5: G__read_Cell_head_array
> D3/5: region item: proj:       1
> D3/5: region item: zone:       32
> D3/5: region item: north:      3948015
> D3/5: region item: south:      3716085
> D3/5: region item: east:       841215
> D3/5: region item: west:       613785
> D3/5: region item: cols:       7581
> D3/5: region item: rows:       7731
> D3/5: region item: e-w resol:  30
> D3/5: region item: n-s resol:  30
> D3/5: region item: format:     1
> D3/5: region item: compressed: 2
> D1/5: G_find_raster2(): name=B4 mapset=PERMANENT
> D2/5: G_file_name(): path = /tmp/grassdata/222/PERMANENT/cell/B4
> D2/5: G_file_name(): path = /tmp/grassdata/222/PERMANENT/fcell/B4
> D2/5: G_file_name(): path = /tmp/grassdata/222/PERMANENT/g3dcell/B4
> D1/5: G_find_raster2(): name=B4 mapset=PERMANENT
> D2/5: G_file_name(): path = /tmp/grassdata/222/PERMANENT/cell/B4
> D1/5: G_find_raster2(): name=B4 mapset=PERMANENT
> D2/5: G_file_name(): path = /tmp/grassdata/222/PERMANENT/cell/B4
> D2/5: G_file_name(): path = /tmp/grassdata/222/PERMANENT/fcell/B4
> D2/5: G_file_name(): path = /tmp/grassdata/222/PERMANENT/g3dcell/B4
> D2/5: G_file_name(): path = /tmp/grassdata/222/PERMANENT/cell/B4
> D2/5: G_file_name(): path = /tmp/grassdata/222/PERMANENT/cell/B4
> D3/5: create window mapping (841215 columns)
> D1/5: G_find_raster(): name=MASK mapset=PERMANENT
> D2/5: G_file_name(): path = /tmp/grassdata/222/PERMANENT/cell/MASK
> D1/5: G_find_raster2(): name=B4 at PERMANENT mapset=
> D2/5: G_file_name(): path = /tmp/grassdata/222/PERMANENT/cell/B4
> D2/5: G_file_name(): path = /tmp/grassdata/222/PERMANENT/fcell/B4
> D2/5: G_file_name(): path = /tmp/grassdata/222/PERMANENT/g3dcell/B4
> D1/5: G_find_raster(): name=B4 at PERMANENT mapset=
> D2/5: G_file_name(): path = /tmp/grassdata/222/PERMANENT/cell/B4
> D2/5: G_file_name(): path = /tmp/grassdata/222/PERMANENT/colr2/PERMANENT/B4
> D2/5: G_file_name(): path = /tmp/grassdata/222/PERMANENT/colr/B4
> D2/5: G_file_name(): path = /tmp/grassdata/222/PERMANENT/colr/B4
> D2/5:   file open: read (mode = r)
> D3/5: adding rule 0=0.00 0 0 0  26225=26225.00 255 255 255
> D1/5: G_find_raster2(): name=B3 mapset=PERMANENT
> D2/5: G_file_name(): path = /tmp/grassdata/222/PERMANENT/cell/B3
> D2/5: G_file_name(): path = /tmp/grassdata/222/PERMANENT/cellhd/B3
> D2/5: G_file_name(): path = /tmp/grassdata/222/PERMANENT/cellhd/B3
> D2/5:   file open: read (mode = r)
> D2/5: G_file_name(): path = /tmp/grassdata/222/PERMANENT/cellhd/B3
> D2/5: G_file_name(): path = /tmp/grassdata/222/PERMANENT/cellhd/B3
> D2/5:   file open: read (mode = r)
> D2/5: G_file_name(): path = /tmp/grassdata/222/PERMANENT/cellhd/B3
> D2/5: G_file_name(): path = /tmp/grassdata/222/PERMANENT/cellhd/B3
> D2/5:   file open: read (mode = r)
> D2/5: G__read_Cell_head
> D2/5: G__read_Cell_head_array
> D3/5: region item: proj:       1
> D3/5: region item: zone:       32
> D3/5: region item: north:      3948015
> D3/5: region item: south:      3716085
> D3/5: region item: east:       841215
> D3/5: region item: west:       613785
> D3/5: region item: cols:       7581
> D3/5: region item: rows:       7731
> D3/5: region item: e-w resol:  30
> D3/5: region item: n-s resol:  30
> D3/5: region item: format:     1
> D3/5: region item: compressed: 2
> D1/5: G_find_raster2(): name=B3 mapset=PERMANENT
> D2/5: G_file_name(): path = /tmp/grassdata/222/PERMANENT/cell/B3
> D2/5: G_file_name(): path = /tmp/grassdata/222/PERMANENT/fcell/B3
> D2/5: G_file_name(): path = /tmp/grassdata/222/PERMANENT/g3dcell/B3
> D1/5: G_find_raster2(): name=B3 mapset=PERMANENT
> D2/5: G_file_name(): path = /tmp/grassdata/222/PERMANENT/cell/B3
> D1/5: G_find_raster2(): name=B3 mapset=PERMANENT
> D2/5: G_file_name(): path = /tmp/grassdata/222/PERMANENT/cell/B3
> D2/5: G_file_name(): path = /tmp/grassdata/222/PERMANENT/fcell/B3
> D2/5: G_file_name(): path = /tmp/grassdata/222/PERMANENT/g3dcell/B3
> D2/5: G_file_name(): path = /tmp/grassdata/222/PERMANENT/cell/B3
> D2/5: G_file_name(): path = /tmp/grassdata/222/PERMANENT/cell/B3
> D3/5: create window mapping (841215 columns)
> D1/5: G_find_raster(): name=MASK mapset=PERMANENT
> D2/5: G_file_name(): path = /tmp/grassdata/222/PERMANENT/cell/MASK
> D1/5: G_find_raster2(): name=B3 at PERMANENT mapset=
> D2/5: G_file_name(): path = /tmp/grassdata/222/PERMANENT/cell/B3
> D2/5: G_file_name(): path = /tmp/grassdata/222/PERMANENT/fcell/B3
> D2/5: G_file_name(): path = /tmp/grassdata/222/PERMANENT/g3dcell/B3
> D1/5: G_find_raster(): name=B3 at PERMANENT mapset=
> D2/5: G_file_name(): path = /tmp/grassdata/222/PERMANENT/cell/B3
> D2/5: G_file_name(): path = /tmp/grassdata/222/PERMANENT/colr2/PERMANENT/B3
> D2/5: G_file_name(): path = /tmp/grassdata/222/PERMANENT/colr/B3
> D2/5: G_file_name(): path = /tmp/grassdata/222/PERMANENT/colr/B3
> D2/5:   file open: read (mode = r)
> D3/5: adding rule 0=0.00 0 0 0  23258=23258.00 255 255 255
> D2/5: G_file_name(): path = /tmp/grassdata/222/PERMANENT/GDAL
> D2/5: G_file_name(): path =
> /tmp/grassdata/222/PERMANENT/.tmp/climvartest/5566.0
> D2/5: G_file_name(): path =
> /tmp/grassdata/222/PERMANENT/.tmp/climvartest/5566.1
> Creating color table for output raster map...
> 0..6..12..18..25..31..37..43..50..56..62..68..75..81..87..93..100
> Writing raster map <mycompo>...
> 0..
>
>
> 2015-02-11 12:15 GMT+01:00 Pietro <peter.zamb at gmail.com>:
>>
>> On Wed, Feb 11, 2015 at 11:51 AM, Pierric de Laborie
>> <pierric.delaborie at gmail.com> wrote:
>> > Running the same command in GRASS GUI (command shell) on Windows works
>> > fine
>> > and creates a composite in a few seconds. I am starting to think that it
>> > is
>> > due to the way I installed Grass on this Linux machine (I used the
>> > following
>> > link
>> >
>> > http://grasswiki.osgeo.org/wiki/Compile_and_Install#GRASS_7_on_Debian_Wheezy
>> > )
>>
>> you can have more info setting g.gisenv set="DEBUG=1" up to 5 I guess.
>>
>> http://grasswiki.osgeo.org/wiki/GRASS_Debugging
>>
>> Pietro
>
>
>
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user


More information about the grass-user mailing list