[GRASS-user] Re: Fwd: r.le Problem

Leonardo Lami lami at faunalia.it
Thu Aug 30 08:55:19 EDT 2007


An other information that can help, the setup file is:

SAMPLINGFRAME 0|0|1|1
MASKEDOVERLAYAREA
martin1|n=4850628.86253491|s=4850251.53666561|e=1672192.43512311|w=1671561.85196298
MASKEDOVERLAYAREA
martin2|n=4850628.86253491|s=4850251.53666561|e=1672192.43512311|w=1671561.85196298
MASKEDOVERLAYAREA
martin3|n=4850628.86253491|s=4850251.53666561|e=1672192.43512311|w=1671561.85196298
MASKEDOVERLAYAREA
martin4|n=4850628.86253491|s=4850251.53666561|e=1672192.43512311|w=1671561.85196298
MASKEDOVERLAYAREA
martin5|n=4850628.86253491|s=4850251.53666561|e=1672192.43512311|w=1671561.85196298
MASKEDOVERLAYAREA
martin6|n=4850628.86253491|s=4850251.53666561|e=1672192.43512311|w=1671561.85196298
MASKEDOVERLAYAREA
martin7|n=4850628.86253491|s=4850251.53666561|e=1672192.43512311|w=1671561.85196298
RASTERMAP dtm_interpol_2005 at leo
VECTORMAP martin at leo


Lyke you can see the coordinates are ever the same for the seven masks
and they are the coordinates of the work region:
GRASS 6.3.cvs (Toscana):~ > g.region -p
projection: 99 (Transverse Mercator)
zone:       0
datum:      rome40
ellipsoid:  a=6378388 es=0.006722670022333322
north:      4850628.86253491
south:      4850251.53666561
west:       1671561.85196298
east:       1672192.43512311
nsres:      2.99464976
ewres:      3.00277695
rows:       126
cols:       210
cells:      26460


regards
Leonardo


Leonardo Lami ha scritto:
> Hi all,
>
> I have make a little test on r.li.setup using an overlayed vector like
> sample areas.
>
> I set up a raster file as sampling frame, than a vector as overlayed
> layer. Then I set up the sampling frame as "Whole map", and the sampling
> areas as "Select areas from overlayed vector layer".
> At this poin r.le.setup opens a xmon and draws the choosen raster
> *without *overlayed vector polygons and asks me "Is this area ok?" and a
> name to assign to it. R.li.setup makes it for seven times ever *without*
> shows the overlayed vector than I can click on "Save setting".
>
> I thinked that r.le.setup showed me the various polygons of the choosen
> vector and that the problem is only on the visualization, but the
> problem is that the choosen vector have *only one* polygon....
>  
> When I run r.li.shannon it says:
>
> Cannot make stat of
> /home/leo/.r.li/history//home/leo/.r.li/history/martin configuration file
> Non riesco ad aprire il file di intestazione per [ in (null)]
> CHILD[pid = 8570]: unable to open  mask ... continue without!!!
> Non riesco ad aprire il file di intestazione per [ in (null)]
> CHILD[pid = 8569]: unable to open  mask ... continue without!!!
> Non riesco ad aprire il file di intestazione per [ in (null)]
> CHILD[pid = 8568]: unable to open  mask ... continue without!!!
> Non riesco ad aprire il file di intestazione per [ in (null)]
> CHILD[pid = 8567]: unable to open  mask ... continue without!!!
> Non riesco ad aprire il file di intestazione per [ in (null)]
> CHILD[pid = 8566]: unable to open  mask ... continue without!!!
> Non riesco ad aprire il file di intestazione per [ in (null)]
> CHILD[pid = 8565]: unable to open  mask ... continue without!!!
> Non riesco ad aprire il file di intestazione per [ in (null)]
> CHILD[pid = 8564]: unable to open  mask ... continue without!!!
> Non riesco ad aprire il file di intestazione per [ in (null)]
> CHILD[pid = 8563]: unable to open  mask ... continue without!!!
> Non riesco ad aprire il file di intestazione per [ in (null)]
> CHILD[pid = 8562]: unable to open  mask ... continue without!!!
> Non riesco ad aprire il file di intestazione per [ in (null)]
> CHILD[pid = 8561]: unable to open  mask ... continue without!!!
>
> Are there other users that work on the r.li package?
> Serena, Davide e Stefano, have you this problem in your last version?
>
> Thanks of all
>
> Ciao
> Leonardo Lami
>
>
>
>
> Paolo Cavallini ha scritto:
>   
>> Hi Martin.
>> Never seen this. Leo, could you please check?
>> All the best.
>> pc
>>
>> Martin Besta ha scritto:
>>   
>>     
>>> Sorry, my previous message was not complette...my e-mail client or I was
>>> wrong:)
>>>
>>>
>>>
>>> Hi Paolo,
>>> I have tried r.li <http://r.li> for Shannon index calculation...BUT...
>>> I wanted to set my rectangles from vector layer as a sampling areas,
>>> however, if I try in r.li.shannon to choose configutration file (made
>>> beforehand) I recieve this error message:
>>>
>>> Cannot make stat of
>>> /home/martin/.r.li/history//home/martin/.r.li/history/natura_clean
>>> configuration file
>>>
>>> Illegal filename. Character <#> not allowed.
>>>
>>> Illegal filename. Character <#> not allowed.
>>>
>>> Illegal filename. Character <#> not allowed.
>>>
>>>  
>>>
>>> Can't open header file for [(#å·P#å·#A¿ in (null)]
>>>
>>>  
>>>
>>> CHILD[pid = 6797]: unable to open (#å·P#å·#A¿ mask ... continue without!!!
>>>
>>> Illegal filename. Character <#> not allowed.
>>>
>>> Illegal filename. Character <#> not allowed.
>>>
>>> Illegal filename. Character <#> not allowed.
>>>
>>>  
>>>
>>> Can't open header file for [(#å·P#å·#A¿ in (null)]
>>>
>>>  
>>>
>>> CHILD[pid = 6796]: unable to open (#å·P#å·#A¿ mask ... continue without!!!
>>>
>>> Illegal filename. Character <#> not allowed.
>>>
>>> Illegal filename. Character <#> not allowed.
>>>
>>> Illegal filename. Character <#> not allowed.
>>>
>>>  
>>>
>>> Can't open header file for [(#å·P#å·#A¿ in (null)]
>>>
>>>  
>>>
>>> CHILD[pid = 6795]: unable to open (#å·P#å·#A¿ mask ... continue without!!!
>>>
>>> Illegal filename. Character <#> not allowed.
>>>
>>> Illegal filename. Character <#> not allowed.
>>>
>>> Illegal filename. Character <#> not allowed.
>>>
>>>  
>>>
>>> Can't open header file for [(#å·P#å·#A¿ in (null)]
>>>
>>>  
>>>
>>> CHILD[pid = 6794]: unable to open (#å·P#å·#A¿ mask ... continue without!!!
>>>
>>> Illegal filename. Character <#> not allowed.
>>>
>>> Illegal filename. Character <#> not allowed.
>>>
>>> Illegal filename. Character <#> not allowed.
>>>
>>>  
>>>
>>> Can't open header file for [(#å·P#å·#A¿ in (null)]
>>>
>>>  
>>>
>>> CHILD[pid = 6793]: unable to open (#å·P#å·#A¿ mask ... continue without!!!
>>>
>>> Illegal filename. Character <#> not allowed.
>>>
>>> Illegal filename. Character <#> not allowed.
>>>
>>> Illegal filename. Character <#> not allowed.
>>>
>>>  
>>>
>>> Can't open header file for [(#å·P#å·#A¿ in (null)]
>>>
>>>  
>>>
>>> CHILD[pid = 6792]: unable to open (#å·P#å·#A¿ mask ... continue without!!!
>>>
>>> Illegal filename. Character <#> not allowed.
>>>
>>> Illegal filename. Character <#> not allowed.
>>>
>>> Illegal filename. Character <#> not allowed.
>>>
>>>  
>>>
>>> Can't open header file for [(#å·P#å·#A¿ in (null)]
>>>
>>>  
>>>
>>> CHILD[pid = 6791]: unable to open (#å·P#å·#A¿ mask ... continue without!!!
>>>
>>> Illegal filename. Character <#> not allowed.
>>>
>>> Illegal filename. Character <#> not allowed.
>>>
>>> Illegal filename. Character <#> not allowed.
>>>
>>>  
>>>
>>> Can't open header file for [(#å·P#å·#A¿ in (null)]
>>>
>>>  
>>>
>>> CHILD[pid = 6790]: unable to open (#å·P#å·#A¿ mask ... continue without!!!
>>>
>>> Illegal filename. Character <#> not allowed.
>>>
>>> Illegal filename. Character <#> not allowed.
>>>
>>> Illegal filename. Character <#> not allowed.
>>>
>>>  
>>>
>>> Can't open header file for [(#å·P#å·#A¿ in (null)]
>>>
>>>  
>>>
>>> CHILD[pid = 6789]: unable to open (#å·P#å·#A¿ mask ... continue without!!!
>>>
>>> Illegal filename. Character <#> not allowed.
>>>
>>> Illegal filename. Character <#> not allowed.
>>>
>>> Illegal filename. Character <#> not allowed.
>>>
>>>  
>>>
>>> Can't open header file for [(#å·P#å·#A¿ in (null)]
>>>
>>>  
>>>
>>> CHILD[pid = 6788]: unable to open (#å·P#å·#A¿ mask ... continue without!!!
>>>
>>> I tried various vector layer to check this problem, but it is happening
>>> every time.
>>> I think, the problem is about the configutration file.
>>> My procedure was:
>>> First set up the raster file as sampling frame, than vector as overlayed
>>> layer.
>>> Second set up the sampling frame as Whole map, than set up the sampling
>>> areas as Select areas from overlayed vector layer.
>>> Finally Save settings. This file I have choosen as configuration file
>>> for r.li.shannon (as test with r.li.simpson too, but with the same effect) .
>>> Could you check my technique for errors?
>>> I need necessarily this index for my work. However r.le.pixel even
>>> r.li.shannon seems to couldn't work with my data sets.
>>> Thanks
>>> Martin
>>>
>>>
>>>
>>> 2007/8/7, Paolo Cavallini < cavallini at faunalia.it
>>> <mailto:cavallini at faunalia.it>>:
>>>
>>>     Hi Martin.
>>>     Is this http://grass.itc.it/grass63/manuals/html63_user/r.li.html
>>>     <http://grass.itc.it/grass63/manuals/html63_user/r.li.html> not
>>>     enough?
>>>     I have something, but I'm afraid you will not understand it, as it is in
>>>     Italian.
>>>     However, the behaviour of r.li <http://r.li> is rather similar to
>>>     r.le, so you should
>>>     not have major problems.
>>>     All the best.
>>>     pc
>>>
>>>     martin.besta at googlemail.com <mailto:martin.besta at googlemail.com> ha
>>>     scritto:
>>>     > Hi Paolo,
>>>     > thank for your advice. I will try it. Now  I am using Grass 6.2.1
>>>     but module r.li <http://r.li> seems to be very important for my
>>>     work. Can I have some more detailed dokumentation to r.li
>>>     <http://r.li> (somethigs like for r.le)? Reference Manual for Grass
>>>     6.3. I already have.
>>>     > Thanks
>>>     > Martin
>>>     > Paolo Cavallini wrote:
>>>     >> have you tried r.li <http://r.li>? if it can solve your problem,
>>>     it will probably do
>>>     >> faster and in a more flexible way.
>>>     >> pc
>>>     >>
>>>     >> Martin_Besta ha scritto:
>>>     >>> Hi,
>>>     >>> I have some problem with r.le.pixel. When I am trying to use this
>>>     modul,
>>>     >>> with my raster layer as background and another raster layer as
>>>     sampling
>>>     >>> area
>>>     >>> (ca. 207 squares, 300x300m). Resolution of both layers is 1m, the
>>>     program
>>>     >>> after few minutes computing prints error: "G_calloc: out of memory
>>>     >>>
>>>     >>> r.le.pixel is working..."
>>>     >>> >From this time happend nothing more. I had take a look in System
>>>     monitor
>>>     > and
>>>     >>> system memory is during calculation enough. Another module like
>>>     r.le.pach
>>>     >>> does work correct with the same dataset.
>>>     >>> Thanks
>>>     >>> Martin
>>>     >> --
>>>     >> Paolo Cavallini, see: http://www.faunalia.it/pc
>>>     >>
>>>     >>
>>>     >>
>>>     >> _______________________________________________
>>>     >> grassuser mailing list
>>>     >> grassuser at grass.itc.it <mailto:grassuser at grass.itc.it>
>>>     >> http://grass.itc.it/mailman/listinfo/grassuser
>>>     >>
>>>     >>
>>>     > Quoted from:  
>>>     http://www.nabble.com/r.le-Problem-tf4220376.html#a12006425
>>>     <http://www.nabble.com/r.le-Problem-tf4220376.html#a12006425>
>>>     >
>>>     >
>>>
>>>     --
>>>     Paolo Cavallini, see: http://www.faunalia.it/pc
>>>
>>>
>>>
>>>     
>>>       
>>   
>>     
>
> _______________________________________________
> grassuser mailing list
> grassuser at grass.itc.it
> http://grass.itc.it/mailman/listinfo/grassuser
>
>   




More information about the grass-user mailing list