Re: [GRASS-user] KEYLINE; installing new module add-on (of 7.8) in GRASS 7.6

2021-03-08 Thread Veronica Andreo
Hi Enrico,

GRASS 7.6 is the last using python 2, and in 7.8 we moved to python 3,
though still supporting python 2. Could that be a problem?

What about compiling GRASS 7.8+ if not in the Debian stable repos?
https://grasswiki.osgeo.org/wiki/Compile_and_Install#Debian

my 0.2 cents
Vero

El lun, 8 mar 2021 a las 11:37, Enrico Gabrielli bonushenricus (<
bonushenricu...@gmail.com>) escribió:

> Thanks
> some problems:
> > File "/home/bonushenricus/.grass7/addons/scripts/r.slope.d
> > irection.py", line 291, in 
> > options, flags = gscript.parser()
> >   File "/usr/lib/grass76/etc/python/grass/script/core.py",
> > line 800, in parser
> > return _parse_opts(lines[1:])
> >   File "/usr/lib/grass76/etc/python/grass/script/core.py",
> > line 751, in _parse_opts
> > os.environ[var] = val
> >   File "/usr/lib/python3.7/os.py", line 682, in __setitem__
> > key = self.encodekey(key)
> >   File "/usr/lib/python3.7/os.py", line 753, in encode
> > raise TypeError("str expected, not %s" %
> > type(value).__name__)
> > TypeError: str expected, not bytes
> It seems that the files are all there, but perhaps they must be
> updated. That's pity. Alternatively I will use MAPCALC with
> ABS (ATAN (TAN (slope) * COS (aspect - raster_direction)))
> but unfortunately with an extra passage and without the possibility of
> defining calculation steps.
>
>
> Il giorno lun, 08/03/2021 alle 09.04 +, Stefan Blumentrath ha
> scritto:
> > Hm, maybe some fixes for g.extension should be backported to 7.6...
> >
> > Anyway, as a workaround, you can just save the python script from (as
> > r.slope.direction
> >
> https://raw.githubusercontent.com/OSGeo/grass-addons/master/grass7/raster/r.slope.direction/r.slope.direction.py
> > ) to:
> > ~/.grass7/addons/scripts/
> >
> > Then make it executable:
> > chmod u+x ~/.grass7/addons/scripts/r.slope.direction
> >
> > And it should work...
> >
> > Cheers
> > Stefan
> >
> > -Original Message-
> > From: Enrico Gabrielli bonushenricus 
> > Sent: mandag 8. mars 2021 09:44
> > To: Stefan Blumentrath ;
> > grass-user@lists.osgeo.org
> > Subject: Re: [GRASS-user] KEYLINE; installing new module add-on (of
> > 7.8) in GRASS 7.6
> >
> > Hi Stefan
> > and thanks
> > Thanks to all and all developers! And here I have the answer directly
> > from those who have developed R-Slope.Direction, no ??
> > Here's what happens:
> > > g.extension extension=r.slope.direction
> > > operation=add
> > > Fetching  from GRASS GIS Addons repository (be
> > > patient)...
> > > ERROR: Extension  not found
> >
> > Il giorno lun, 08/03/2021 alle 08.38 +, Stefan Blumentrath ha
> > scritto:
> > > Hi Enrico,
> > >
> > > GRASS 7.6 should not be a limiting factor. Did you try to install
> > > the
> > > addon through g.extension?
> > >
> > > g.extension extension=r.slope.direction operation=add
> > >
> > > If not, please try. If you did but get an error message, please
> > > provide the error message you got...
> > >
> > > Cheers
> > > Stefan
> > >
> > >
> > > -Original Message-
> > > From: grass-user  On Behalf Of
> > > Enrico Gabrielli bonushenricus
> > > Sent: søndag 7. mars 2021 23:59
> > > To: grass-ita...@listserv.unipr.it; grass-user@lists.osgeo.org
> > > Subject: [GRASS-user] KEYLINE; installing new module add-on (of
> > > 7.8)
> > > in GRASS 7.6
> > >
> > > Hello everyone and everyone.
> > > I write maybe once every one or two years!
> > > I am a geographer and agricultural consultant.
> > > I am using GRASS to design in KeyLine (you can easily find news
> > > about
> > > this ingenious technique, which is also the basis of permaculture,
> > > on
> > > the internet).
> > > I found that in GRASS 7.8 there is a new add-on module called
> > > r.slope.direction which would be very useful for keyline designs.
> > > Unfortunately I use Debian stable, and therefore GRASS 7.6.
> > > I have tried to use the r.slope.direction source script which I
> > > find
> > > here
> > > https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgith
> > > ub.com%2FOSGeo%2Fgrass-
> > > addons%2Ftree%2Fmaster%2Fgrass7%2Fraster%2Fr.sl
> > > ope.directiondata=04%7C01%7C%7C6f03009d912c4bed9a9e08d8e20e5a2
> > > 0%7
> > > C6cef373021314901831055b3abf02c73%7C0%7C0%7C637507898555085492%7CUn
> > > kno
> > > wn%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haW
> > > wiL
> > > CJXVCI6Mn0%3D%7C1000sdata=QpindTE6R0zQP6ArlP9rc2d3nFOYLMHhwtDn
> > > iM8
> > > EksA%3Dreserved=0 but can't use it. If I install it following
> > > the
> > > instructions I find here
> > > https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgras
> > > swiki.osgeo.org%2Fwiki%2FGRASS_and_Python%23Installationdata=0
> > > 4%7
> > > C01%7C%7C6f03009d912c4bed9a9e08d8e20e5a20%7C6cef373021314901831055b
> > > 3ab
> > > f02c73%7C0%7C0%7C637507898555085492%7CUnknown%7CTWFpbGZsb3d8eyJWIjo
> > > iMC
> > > 4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000
> > > ;sd
> > > 

Re: [GRASS-user] KEYLINE; installing new module add-on (of 7.8) in GRASS 7.6

2021-03-08 Thread Enrico Gabrielli bonushenricus
Thanks
some problems:
> File "/home/bonushenricus/.grass7/addons/scripts/r.slope.d
> irection.py", line 291, in 
> options, flags = gscript.parser()
>   File "/usr/lib/grass76/etc/python/grass/script/core.py",
> line 800, in parser
> return _parse_opts(lines[1:])
>   File "/usr/lib/grass76/etc/python/grass/script/core.py",
> line 751, in _parse_opts
> os.environ[var] = val
>   File "/usr/lib/python3.7/os.py", line 682, in __setitem__
> key = self.encodekey(key)
>   File "/usr/lib/python3.7/os.py", line 753, in encode
> raise TypeError("str expected, not %s" %
> type(value).__name__)
> TypeError: str expected, not bytes
It seems that the files are all there, but perhaps they must be
updated. That's pity. Alternatively I will use MAPCALC with
ABS (ATAN (TAN (slope) * COS (aspect - raster_direction)))
but unfortunately with an extra passage and without the possibility of
defining calculation steps.


Il giorno lun, 08/03/2021 alle 09.04 +, Stefan Blumentrath ha
scritto:
> Hm, maybe some fixes for g.extension should be backported to 7.6...
> 
> Anyway, as a workaround, you can just save the python script from (as
> r.slope.direction 
> https://raw.githubusercontent.com/OSGeo/grass-addons/master/grass7/raster/r.slope.direction/r.slope.direction.py
> ) to:
> ~/.grass7/addons/scripts/
> 
> Then make it executable:
> chmod u+x ~/.grass7/addons/scripts/r.slope.direction
> 
> And it should work...
> 
> Cheers
> Stefan
> 
> -Original Message-
> From: Enrico Gabrielli bonushenricus  
> Sent: mandag 8. mars 2021 09:44
> To: Stefan Blumentrath ; 
> grass-user@lists.osgeo.org
> Subject: Re: [GRASS-user] KEYLINE; installing new module add-on (of
> 7.8) in GRASS 7.6
> 
> Hi Stefan
> and thanks
> Thanks to all and all developers! And here I have the answer directly
> from those who have developed R-Slope.Direction, no ??
> Here's what happens:
> > g.extension extension=r.slope.direction
> > operation=add   
> > Fetching  from GRASS GIS Addons repository (be 
> > patient)...
> > ERROR: Extension  not found
> 
> Il giorno lun, 08/03/2021 alle 08.38 +, Stefan Blumentrath ha
> scritto:
> > Hi Enrico,
> > 
> > GRASS 7.6 should not be a limiting factor. Did you try to install
> > the 
> > addon through g.extension?
> > 
> > g.extension extension=r.slope.direction operation=add
> > 
> > If not, please try. If you did but get an error message, please 
> > provide the error message you got...
> > 
> > Cheers
> > Stefan
> > 
> > 
> > -Original Message-
> > From: grass-user  On Behalf Of 
> > Enrico Gabrielli bonushenricus
> > Sent: søndag 7. mars 2021 23:59
> > To: grass-ita...@listserv.unipr.it; grass-user@lists.osgeo.org
> > Subject: [GRASS-user] KEYLINE; installing new module add-on (of
> > 7.8) 
> > in GRASS 7.6
> > 
> > Hello everyone and everyone.
> > I write maybe once every one or two years!
> > I am a geographer and agricultural consultant.
> > I am using GRASS to design in KeyLine (you can easily find news
> > about 
> > this ingenious technique, which is also the basis of permaculture,
> > on 
> > the internet).
> > I found that in GRASS 7.8 there is a new add-on module called 
> > r.slope.direction which would be very useful for keyline designs.
> > Unfortunately I use Debian stable, and therefore GRASS 7.6.
> > I have tried to use the r.slope.direction source script which I
> > find 
> > here
> > https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgith
> > ub.com%2FOSGeo%2Fgrass-
> > addons%2Ftree%2Fmaster%2Fgrass7%2Fraster%2Fr.sl
> > ope.directiondata=04%7C01%7C%7C6f03009d912c4bed9a9e08d8e20e5a2
> > 0%7
> > C6cef373021314901831055b3abf02c73%7C0%7C0%7C637507898555085492%7CUn
> > kno
> > wn%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haW
> > wiL
> > CJXVCI6Mn0%3D%7C1000sdata=QpindTE6R0zQP6ArlP9rc2d3nFOYLMHhwtDn
> > iM8
> > EksA%3Dreserved=0 but can't use it. If I install it following
> > the 
> > instructions I find here
> > https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgras
> > swiki.osgeo.org%2Fwiki%2FGRASS_and_Python%23Installationdata=0
> > 4%7
> > C01%7C%7C6f03009d912c4bed9a9e08d8e20e5a20%7C6cef373021314901831055b
> > 3ab
> > f02c73%7C0%7C0%7C637507898555085492%7CUnknown%7CTWFpbGZsb3d8eyJWIjo
> > iMC
> > 4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000
> > ;sd
> > ata=1%2BzzVwsIW7mBcsBvuI%2Bvt2c7yULb%2B2oioSZCcAH1yUU%3Dreserv
> > ed=
> > 0 it gives me several errors. I created the directory in / usr /
> > lib /
> > grass76 / scripts /
> > I can attach the result of the terminal.
> > But if you think that it is simply not easy to install in GRASS 7.6
> > it 
> > will mean that I will be looking forward to Debian 11 (I never
> > install
> > testing)
> > --
> > Perito agrario Enrico Gabrielli
> > Tessera n. 633 Collegio Periti agrari prov. Di Modena Biblioteca
> > agricoltura: 
> > https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.
> > 

Re: [GRASS-user] KEYLINE; installing new module add-on (of 7.8) in GRASS 7.6

2021-03-08 Thread Stefan Blumentrath
Hm, maybe some fixes for g.extension should be backported to 7.6...

Anyway, as a workaround, you can just save the python script from (as 
r.slope.direction 
https://raw.githubusercontent.com/OSGeo/grass-addons/master/grass7/raster/r.slope.direction/r.slope.direction.py)
 to:
~/.grass7/addons/scripts/

Then make it executable:
chmod u+x ~/.grass7/addons/scripts/r.slope.direction

And it should work...

Cheers
Stefan

-Original Message-
From: Enrico Gabrielli bonushenricus  
Sent: mandag 8. mars 2021 09:44
To: Stefan Blumentrath ; grass-user@lists.osgeo.org
Subject: Re: [GRASS-user] KEYLINE; installing new module add-on (of 7.8) in 
GRASS 7.6

Hi Stefan
and thanks
Thanks to all and all developers! And here I have the answer directly from 
those who have developed R-Slope.Direction, no ??
Here's what happens:
> g.extension extension=r.slope.direction
> operation=add   
> Fetching  from GRASS GIS Addons repository (be 
> patient)...
> ERROR: Extension  not found

Il giorno lun, 08/03/2021 alle 08.38 +, Stefan Blumentrath ha
scritto:
> Hi Enrico,
> 
> GRASS 7.6 should not be a limiting factor. Did you try to install the 
> addon through g.extension?
> 
> g.extension extension=r.slope.direction operation=add
> 
> If not, please try. If you did but get an error message, please 
> provide the error message you got...
> 
> Cheers
> Stefan
> 
> 
> -Original Message-
> From: grass-user  On Behalf Of 
> Enrico Gabrielli bonushenricus
> Sent: søndag 7. mars 2021 23:59
> To: grass-ita...@listserv.unipr.it; grass-user@lists.osgeo.org
> Subject: [GRASS-user] KEYLINE; installing new module add-on (of 7.8) 
> in GRASS 7.6
> 
> Hello everyone and everyone.
> I write maybe once every one or two years!
> I am a geographer and agricultural consultant.
> I am using GRASS to design in KeyLine (you can easily find news about 
> this ingenious technique, which is also the basis of permaculture, on 
> the internet).
> I found that in GRASS 7.8 there is a new add-on module called 
> r.slope.direction which would be very useful for keyline designs.
> Unfortunately I use Debian stable, and therefore GRASS 7.6.
> I have tried to use the r.slope.direction source script which I find 
> here
> https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgith
> ub.com%2FOSGeo%2Fgrass-addons%2Ftree%2Fmaster%2Fgrass7%2Fraster%2Fr.sl
> ope.directiondata=04%7C01%7C%7C6f03009d912c4bed9a9e08d8e20e5a20%7
> C6cef373021314901831055b3abf02c73%7C0%7C0%7C637507898555085492%7CUnkno
> wn%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiL
> CJXVCI6Mn0%3D%7C1000sdata=QpindTE6R0zQP6ArlP9rc2d3nFOYLMHhwtDniM8
> EksA%3Dreserved=0 but can't use it. If I install it following the 
> instructions I find here
> https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgras
> swiki.osgeo.org%2Fwiki%2FGRASS_and_Python%23Installationdata=04%7
> C01%7C%7C6f03009d912c4bed9a9e08d8e20e5a20%7C6cef373021314901831055b3ab
> f02c73%7C0%7C0%7C637507898555085492%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC
> 4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000sd
> ata=1%2BzzVwsIW7mBcsBvuI%2Bvt2c7yULb%2B2oioSZCcAH1yUU%3Dreserved=
> 0 it gives me several errors. I created the directory in / usr / lib /
> grass76 / scripts /
> I can attach the result of the terminal.
> But if you think that it is simply not easy to install in GRASS 7.6 it 
> will mean that I will be looking forward to Debian 11 (I never install
> testing)
> --
> Perito agrario Enrico Gabrielli
> Tessera n. 633 Collegio Periti agrari prov. Di Modena Biblioteca
> agricoltura: 
> https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.
> zotero.org%2Fgroups%2Faplomb%2Fdata=04%7C01%7C%7C6f03009d912c4bed
> 9a9e08d8e20e5a20%7C6cef373021314901831055b3abf02c73%7C0%7C0%7C63750789
> 8555085492%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzI
> iLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000sdata=kW8u9MG0ZAcaWy%2BWnII
> C%2F8KEZrchtuvGzZt0KegMGDg%3Dreserved=0
> https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fit.l
> inkedin.com%2Fpub%2Fenrico-gabrielli%2F9a%2F186%2F159data=04%7C01
> %7C%7C6f03009d912c4bed9a9e08d8e20e5a20%7C6cef373021314901831055b3abf02
> c73%7C0%7C0%7C637507898555085492%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wL
> jAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000sdata
> =%2BudmXF9XutKPUBRmxCFM0J6Y1vUjy00sgNHxN4sea4Y%3Dreserved=0
> https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fenri
> cogabrielli76.wordpress.com%2Fdata=04%7C01%7C%7C6f03009d912c4bed9
> a9e08d8e20e5a20%7C6cef373021314901831055b3abf02c73%7C0%7C0%7C637507898
> 555095485%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIi
> LCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000sdata=Ln9qjq1Zp3rZOOE9aGmGAs
> %2BLDMytIfH1QY6jYF%2FNjDg%3Dreserved=0
> https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.
> inaturalist.org%2Fobservations%2Fbonushenricusdata=04%7C01%7C%7C6
> 

Re: [GRASS-user] KEYLINE; installing new module add-on (of 7.8) in GRASS 7.6

2021-03-08 Thread Enrico Gabrielli bonushenricus
Hi Stefan
and thanks
Thanks to all and all developers! And here I have the answer directly
from those who have developed R-Slope.Direction, no ??
Here's what happens:
> g.extension extension=r.slope.direction
> operation=add   
> Fetching  from GRASS GIS Addons repository (be
> patient)...
> ERROR: Extension  not found

Il giorno lun, 08/03/2021 alle 08.38 +, Stefan Blumentrath ha
scritto:
> Hi Enrico,
> 
> GRASS 7.6 should not be a limiting factor. Did you try to install the
> addon through g.extension?
> 
> g.extension extension=r.slope.direction operation=add
> 
> If not, please try. If you did but get an error message, please
> provide the error message you got...
> 
> Cheers
> Stefan
> 
> 
> -Original Message-
> From: grass-user  On Behalf Of
> Enrico Gabrielli bonushenricus
> Sent: søndag 7. mars 2021 23:59
> To: grass-ita...@listserv.unipr.it; grass-user@lists.osgeo.org
> Subject: [GRASS-user] KEYLINE; installing new module add-on (of 7.8)
> in GRASS 7.6
> 
> Hello everyone and everyone.
> I write maybe once every one or two years!
> I am a geographer and agricultural consultant.
> I am using GRASS to design in KeyLine (you can easily find news about
> this ingenious technique, which is also the basis of permaculture, on
> the internet).
> I found that in GRASS 7.8 there is a new add-on module called
> r.slope.direction which would be very useful for keyline designs.
> Unfortunately I use Debian stable, and therefore GRASS 7.6.
> I have tried to use the r.slope.direction source script which I find
> here
> https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FOSGeo%2Fgrass-addons%2Ftree%2Fmaster%2Fgrass7%2Fraster%2Fr.slope.directiondata=04%7C01%7C%7Cc948a6d62a5d41a9266008d8e1bcaf3d%7C6cef373021314901831055b3abf02c73%7C0%7C0%7C637507547808270723%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000sdata=%2B57KfELJq8o574mNFA5bXr%2BzFktjBCzyEVUJVrGMaJw%3Dreserved=0
> but can't use it. If I install it following the instructions I find
> here 
> https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgrasswiki.osgeo.org%2Fwiki%2FGRASS_and_Python%23Installationdata=04%7C01%7C%7Cc948a6d62a5d41a9266008d8e1bcaf3d%7C6cef373021314901831055b3abf02c73%7C0%7C0%7C637507547808270723%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000sdata=mAiEmMf4GNB%2FBSjGuS4KOvzOAKnFbEK4iUdVZEZ%2FYUI%3Dreserved=0
> it gives me several errors. I created the directory in / usr / lib /
> grass76 / scripts /
> I can attach the result of the terminal.
> But if you think that it is simply not easy to install in GRASS 7.6
> it will mean that I will be looking forward to Debian 11 (I never
> install
> testing)
> --
> Perito agrario Enrico Gabrielli
> Tessera n. 633 Collegio Periti agrari prov. Di Modena Biblioteca
> agricoltura: 
> https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.zotero.org%2Fgroups%2Faplomb%2Fdata=04%7C01%7C%7Cc948a6d62a5d41a9266008d8e1bcaf3d%7C6cef373021314901831055b3abf02c73%7C0%7C0%7C637507547808270723%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000sdata=WdQo31pdh44v1QXjsg7Psde34m3QPzlIUYCOAuH8lHE%3Dreserved=0
> https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fit.linkedin.com%2Fpub%2Fenrico-gabrielli%2F9a%2F186%2F159data=04%7C01%7C%7Cc948a6d62a5d41a9266008d8e1bcaf3d%7C6cef373021314901831055b3abf02c73%7C0%7C0%7C637507547808270723%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000sdata=3Ouk5FFFNCyHfmPw%2BF1V7jWltSf1RlWp%2FDcCczVgzqI%3Dreserved=0
> https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fenricogabrielli76.wordpress.com%2Fdata=04%7C01%7C%7Cc948a6d62a5d41a9266008d8e1bcaf3d%7C6cef373021314901831055b3abf02c73%7C0%7C0%7C637507547808270723%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000sdata=k2fBrPk1BqhAi50h5NeMQ%2FP2MCM2b3G3xkSYDZMaOjc%3Dreserved=0
> https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.inaturalist.org%2Fobservations%2Fbonushenricusdata=04%7C01%7C%7Cc948a6d62a5d41a9266008d8e1bcaf3d%7C6cef373021314901831055b3abf02c73%7C0%7C0%7C637507547808280712%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000sdata=yBLov2z5rUOVuMG%2Fe%2FdlDOQ%2Fv6cqpKqUjoYv6f20BMM%3Dreserved=0
> skype: enricogabrielli (enricogabrielli76.per...@gmail.com)
> 
> ___
> grass-user mailing list
> grass-user@lists.osgeo.org
> 

Re: [GRASS-user] KEYLINE; installing new module add-on (of 7.8) in GRASS 7.6

2021-03-08 Thread Stefan Blumentrath
Hi Enrico,

GRASS 7.6 should not be a limiting factor. Did you try to install the addon 
through g.extension?

g.extension extension=r.slope.direction operation=add

If not, please try. If you did but get an error message, please provide the 
error message you got...

Cheers
Stefan


-Original Message-
From: grass-user  On Behalf Of Enrico 
Gabrielli bonushenricus
Sent: søndag 7. mars 2021 23:59
To: grass-ita...@listserv.unipr.it; grass-user@lists.osgeo.org
Subject: [GRASS-user] KEYLINE; installing new module add-on (of 7.8) in GRASS 
7.6

Hello everyone and everyone.
I write maybe once every one or two years!
I am a geographer and agricultural consultant.
I am using GRASS to design in KeyLine (you can easily find news about this 
ingenious technique, which is also the basis of permaculture, on the internet).
I found that in GRASS 7.8 there is a new add-on module called r.slope.direction 
which would be very useful for keyline designs.
Unfortunately I use Debian stable, and therefore GRASS 7.6.
I have tried to use the r.slope.direction source script which I find here
https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FOSGeo%2Fgrass-addons%2Ftree%2Fmaster%2Fgrass7%2Fraster%2Fr.slope.directiondata=04%7C01%7C%7Cc948a6d62a5d41a9266008d8e1bcaf3d%7C6cef373021314901831055b3abf02c73%7C0%7C0%7C637507547808270723%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000sdata=%2B57KfELJq8o574mNFA5bXr%2BzFktjBCzyEVUJVrGMaJw%3Dreserved=0
but can't use it. If I install it following the instructions I find here 
https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgrasswiki.osgeo.org%2Fwiki%2FGRASS_and_Python%23Installationdata=04%7C01%7C%7Cc948a6d62a5d41a9266008d8e1bcaf3d%7C6cef373021314901831055b3abf02c73%7C0%7C0%7C637507547808270723%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000sdata=mAiEmMf4GNB%2FBSjGuS4KOvzOAKnFbEK4iUdVZEZ%2FYUI%3Dreserved=0
 it gives me several errors. I created the directory in / usr / lib /
grass76 / scripts /
I can attach the result of the terminal.
But if you think that it is simply not easy to install in GRASS 7.6 it will 
mean that I will be looking forward to Debian 11 (I never install
testing)
--
Perito agrario Enrico Gabrielli
Tessera n. 633 Collegio Periti agrari prov. Di Modena Biblioteca agricoltura: 
https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.zotero.org%2Fgroups%2Faplomb%2Fdata=04%7C01%7C%7Cc948a6d62a5d41a9266008d8e1bcaf3d%7C6cef373021314901831055b3abf02c73%7C0%7C0%7C637507547808270723%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000sdata=WdQo31pdh44v1QXjsg7Psde34m3QPzlIUYCOAuH8lHE%3Dreserved=0
https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fit.linkedin.com%2Fpub%2Fenrico-gabrielli%2F9a%2F186%2F159data=04%7C01%7C%7Cc948a6d62a5d41a9266008d8e1bcaf3d%7C6cef373021314901831055b3abf02c73%7C0%7C0%7C637507547808270723%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000sdata=3Ouk5FFFNCyHfmPw%2BF1V7jWltSf1RlWp%2FDcCczVgzqI%3Dreserved=0
https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fenricogabrielli76.wordpress.com%2Fdata=04%7C01%7C%7Cc948a6d62a5d41a9266008d8e1bcaf3d%7C6cef373021314901831055b3abf02c73%7C0%7C0%7C637507547808270723%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000sdata=k2fBrPk1BqhAi50h5NeMQ%2FP2MCM2b3G3xkSYDZMaOjc%3Dreserved=0
https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.inaturalist.org%2Fobservations%2Fbonushenricusdata=04%7C01%7C%7Cc948a6d62a5d41a9266008d8e1bcaf3d%7C6cef373021314901831055b3abf02c73%7C0%7C0%7C637507547808280712%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000sdata=yBLov2z5rUOVuMG%2Fe%2FdlDOQ%2Fv6cqpKqUjoYv6f20BMM%3Dreserved=0
skype: enricogabrielli (enricogabrielli76.per...@gmail.com)

___
grass-user mailing list
grass-user@lists.osgeo.org
https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.osgeo.org%2Fmailman%2Flistinfo%2Fgrass-userdata=04%7C01%7C%7Cc948a6d62a5d41a9266008d8e1bcaf3d%7C6cef373021314901831055b3abf02c73%7C0%7C0%7C637507547808280712%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000sdata=f7vm7CcA1q0loF6aVHF8rkFaKpTQTJZj6R7Ab6n87%2Bo%3Dreserved=0
___
grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user