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

Stefan Blumentrath Stefan.Blumentrath at nina.no
Mon Mar 8 01:04:18 PST 2021


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 <bonushenricus76 at gmail.com> 
Sent: mandag 8. mars 2021 09:44
To: Stefan Blumentrath <Stefan.Blumentrath at nina.no>; grass-user at 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 <r.slope.direction> from GRASS GIS Addons repository (be 
> patient)...
> ERROR: Extension <r.slope.direction> not found

Il giorno lun, 08/03/2021 alle 08.38 +0000, 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 <grass-user-bounces at lists.osgeo.org> On Behalf Of 
> Enrico Gabrielli bonushenricus
> Sent: søndag 7. mars 2021 23:59
> To: grass-italia at listserv.unipr.it; grass-user at 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.direction&data=04%7C01%7C%7C6f03009d912c4bed9a9e08d8e20e5a20%7
> C6cef373021314901831055b3abf02c73%7C0%7C0%7C637507898555085492%7CUnkno
> wn%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiL
> CJXVCI6Mn0%3D%7C1000&sdata=QpindTE6R0zQP6ArlP9rc2d3nFOYLMHhwtDniM8
> EksA%3D&reserved=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%23Installation&data=04%7
> C01%7C%7C6f03009d912c4bed9a9e08d8e20e5a20%7C6cef373021314901831055b3ab
> f02c73%7C0%7C0%7C637507898555085492%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC
> 4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sd
> ata=1%2BzzVwsIW7mBcsBvuI%2Bvt2c7yULb%2B2oioSZCcAH1yUU%3D&reserved=
> 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%2F&data=04%7C01%7C%7C6f03009d912c4bed
> 9a9e08d8e20e5a20%7C6cef373021314901831055b3abf02c73%7C0%7C0%7C63750789
> 8555085492%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzI
> iLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=kW8u9MG0ZAcaWy%2BWnII
> C%2F8KEZrchtuvGzZt0KegMGDg%3D&reserved=0
> https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fit.l
> inkedin.com%2Fpub%2Fenrico-gabrielli%2F9a%2F186%2F159&data=04%7C01
> %7C%7C6f03009d912c4bed9a9e08d8e20e5a20%7C6cef373021314901831055b3abf02
> c73%7C0%7C0%7C637507898555085492%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wL
> jAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata
> =%2BudmXF9XutKPUBRmxCFM0J6Y1vUjy00sgNHxN4sea4Y%3D&reserved=0
> https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fenri
> cogabrielli76.wordpress.com%2F&data=04%7C01%7C%7C6f03009d912c4bed9
> a9e08d8e20e5a20%7C6cef373021314901831055b3abf02c73%7C0%7C0%7C637507898
> 555095485%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIi
> LCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=Ln9qjq1Zp3rZOOE9aGmGAs
> %2BLDMytIfH1QY6jYF%2FNjDg%3D&reserved=0
> https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.
> inaturalist.org%2Fobservations%2Fbonushenricus&data=04%7C01%7C%7C6
> f03009d912c4bed9a9e08d8e20e5a20%7C6cef373021314901831055b3abf02c73%7C0
> %7C0%7C637507898555095485%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAi
> LCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=jT5gKt
> czQ1yxYVfm7eiUGlHFbzjUktUJFU6zynjGZPM%3D&reserved=0
> skype: enricogabrielli (enricogabrielli76.peragr at gmail.com)
> 
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flist
> s.osgeo.org%2Fmailman%2Flistinfo%2Fgrass-user&data=04%7C01%7C%7C6f
> 03009d912c4bed9a9e08d8e20e5a20%7C6cef373021314901831055b3abf02c73%7C0%
> 7C0%7C637507898555095485%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiL
> CJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=%2Bhk3a
> uCu5tEI6v3nZBKwWPzrw%2F48XwetrtW9lEwTOj8%3D&reserved=0



More information about the grass-user mailing list