Re: [GRASS-user] Looking for New York State GRASS user

2020-12-20 Thread Dheeraj Chand
I’ve recently moved a lot of my work to PostGIS and Python but I would love to 
talk to you. Please feel free to reach me on my work email, 
dhee...@siegeanalytics.con

Sent from my iPhone

> On Dec 20, 2020, at 3:59 PM, Sam Wear  wrote:
> 
> 
> All:
> 
> My name is Sam Wear and I author a blog eSpatiallyNewYork which covers a wide 
> range of GIS/geospatial topics across New York State.
> 
> I am hoping I could use this listserv as a means to identify a user who might 
> be willing to work with me on an article focusing on the use of GRASS as 
> applied to a project/program within the state geographic footprint.
> 
> Any leads, contacts, suggestions, etc would be greatly appreciated.
> 
> thank you,
> 
> sam.  .  
> 
> 
> ___
> grass-user mailing list
> grass-user@lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/grass-user
___
grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user


[GRASS-user] Looking for New York State GRASS user

2020-12-20 Thread Sam Wear
All:

My name is Sam Wear and I author a blog eSpatiallyNewYork
 which covers a wide range of
GIS/geospatial topics across New York State.

I am hoping I could use this listserv as a means to identify a user
who might be willing to work with me on an article focusing on the use of
GRASS as applied to a project/program within the state geographic footprint.

Any leads, contacts, suggestions, etc would be greatly appreciated.

thank you,

sam.  .
___
grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] Add-Ons and batch job with the --exec interface

2020-12-20 Thread Vincent Bain
Thank you Micha for your hint.

Not sure I catch the difference between both directories. Should I
consider GRASS_ADDON_BASE a place I can store my "user" addons, and
GRASS_ADDON_PATH the "system" one?

Yours,
V

Le dimanche 20 décembre 2020 à 13:17 +0200, Micha Silver a écrit :
> On 12/20/20 1:01 PM, Vincent Bain wrote:
> > Hi dear Grass users,
> > 
> > I'm wondering how/if one can run an Add-On command while invoking
> > grass
> > from the --exec interface.
> > 
> > As an example, if I run :
> > 
> > grass79 /path/to/my/location/mapset --exec g.list rast
> > 
> > I succeed.
> > 
> > As well as checking my GRASS_ADDON_PATH :
> 
> Maybe it should be GRASS_ADDON_BASE.
> 
> 
> micha@RMS:~$ env | grep ADDON
> GRASS_ADDON_BASE=/home/micha/.grass7/addons/
> 
> 
> Now before initializing GRASS:
> 
> 
> micha@RMS:~$ export GRASS_ADDON_BASE=/home/micha/.grass7/addons/
> micha@RMS:~$ grass /home/micha/GIS/grass/ITM/Arava/ --exec
> r.stream.order
> Starting GRASS GIS...
> Cleaning up temporary files...
> Executing  ...
> Calculates Strahler's and more streams hierarchy.
> 
> Usage:
>   r.stream.order [-zma] stream_rast=name direction=name
> [elevation=name]
> [accumulation=name] [stream_vect=name] [strahler=name]
> [horton=name]
> [shreve=name] [hack=name] [topo=name] [memory=value] [
> --overwrite]
> [--help] [--verbose] [--quiet] [--ui]
> 
> Flags:
>-z   Create zero-valued background instead of NULL
>-m   Use memory swap (operation is slow)
>-a   Use flow accumulation to trace horton and hack models
> 
> Parameters:
> stream_rast   Name of input raster map with stream network
>   direction   Name of input flow direction raster map
>   elevation   Name of input elevation raster map
>accumulation   Name of input accumulation raster map
> stream_vect   Name for output vector map to write stream
> attributes
>strahler   Name for output Strahler's stream order raster map
>  horton   Name for output original Hortons's stream order
> raster map
>  shreve   Name for output Shereve's stream magnitude raster
> map
>hack   Name for output Hack's streams or Gravelius stream 
> hierarchy raster map
>topo   Name for output topological dimension of streams 
> raster map
>  memory   Max memory used in memory swap mode (MB)
>   default: 300
> Execution of  finished.
> Cleaning up default sqlite database ...
> Cleaning up temporary files...
> 
> 
> > echo $GRASS_ADDON_PATH
> > /usr/local/grass-addons/
> > 
> > But :
> > 
> > grass79 /path/to/my/location/mapset --exec r.my.addon
> > 
> > fails :
> > 
> > [Errno 2] No such file or directory: 'r.my.addon': 'r.my.addon'
> > Exiting...
> > 
> > 
> > Would anyone help me solve this issue ?
> > Have a nice sunday,
> > 
> > Vincent.
> > 
> > ___
> > grass-user mailing list
> > grass-user@lists.osgeo.org
> > https://lists.osgeo.org/mailman/listinfo/grass-user

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


Re: [GRASS-user] Add-Ons and batch job with the --exec interface

2020-12-20 Thread Micha Silver


On 12/20/20 1:01 PM, Vincent Bain wrote:

Hi dear Grass users,

I'm wondering how/if one can run an Add-On command while invoking grass
from the --exec interface.

As an example, if I run :

grass79 /path/to/my/location/mapset --exec g.list rast

I succeed.

As well as checking my GRASS_ADDON_PATH :



Maybe it should be GRASS_ADDON_BASE.


micha@RMS:~$ env | grep ADDON
GRASS_ADDON_BASE=/home/micha/.grass7/addons/


Now before initializing GRASS:


micha@RMS:~$ export GRASS_ADDON_BASE=/home/micha/.grass7/addons/
micha@RMS:~$ grass /home/micha/GIS/grass/ITM/Arava/ --exec r.stream.order
Starting GRASS GIS...
Cleaning up temporary files...
Executing  ...
Calculates Strahler's and more streams hierarchy.

Usage:
 r.stream.order [-zma] stream_rast=name direction=name [elevation=name]
   [accumulation=name] [stream_vect=name] [strahler=name] [horton=name]
   [shreve=name] [hack=name] [topo=name] [memory=value] [--overwrite]
   [--help] [--verbose] [--quiet] [--ui]

Flags:
  -z   Create zero-valued background instead of NULL
  -m   Use memory swap (operation is slow)
  -a   Use flow accumulation to trace horton and hack models

Parameters:
   stream_rast   Name of input raster map with stream network
 direction   Name of input flow direction raster map
 elevation   Name of input elevation raster map
  accumulation   Name of input accumulation raster map
   stream_vect   Name for output vector map to write stream attributes
  strahler   Name for output Strahler's stream order raster map
    horton   Name for output original Hortons's stream order raster map
    shreve   Name for output Shereve's stream magnitude raster map
  hack   Name for output Hack's streams or Gravelius stream 
hierarchy raster map
  topo   Name for output topological dimension of streams 
raster map

    memory   Max memory used in memory swap mode (MB)
 default: 300
Execution of  finished.
Cleaning up default sqlite database ...
Cleaning up temporary files...




echo $GRASS_ADDON_PATH
/usr/local/grass-addons/

But :

grass79 /path/to/my/location/mapset --exec r.my.addon

fails :

[Errno 2] No such file or directory: 'r.my.addon': 'r.my.addon'
Exiting...


Would anyone help me solve this issue ?
Have a nice sunday,

Vincent.

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


--
Micha Silver
Ben Gurion Univ.
Sde Boker, Remote Sensing Lab
cell: +972-523-665918

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


Re: [GRASS-user] Add-Ons and batch job with the --exec interface [Solved]

2020-12-20 Thread Vincent Bain
Sorry for it: I just figured out there was a mess with a wrong symlink
in my addons directory.

Now it's humming!

V.

Le dimanche 20 décembre 2020 à 12:01 +0100, Vincent Bain a écrit :
> Hi dear Grass users,
> 
> I'm wondering how/if one can run an Add-On command while invoking
> grass
> from the --exec interface.
> 
> As an example, if I run :
> 
>grass79 /path/to/my/location/mapset --exec g.list rast
> 
> I succeed.
> 
> As well as checking my GRASS_ADDON_PATH :
> 
>echo $GRASS_ADDON_PATH
>/usr/local/grass-addons/
> 
>But :
> 
>grass79 /path/to/my/location/mapset --exec r.my.addon
> 
>fails :
> 
>[Errno 2] No such file or directory: 'r.my.addon': 'r.my.addon'
>Exiting...
> 
> 
>Would anyone help me solve this issue ?
>Have a nice sunday,
> 
>Vincent.
> 
> ___
> grass-user mailing list
> grass-user@lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/grass-user

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


[GRASS-user] Add-Ons and batch job with the --exec interface

2020-12-20 Thread Vincent Bain
Hi dear Grass users,

I'm wondering how/if one can run an Add-On command while invoking grass
from the --exec interface.

As an example, if I run :

   grass79 /path/to/my/location/mapset --exec g.list rast

I succeed.

As well as checking my GRASS_ADDON_PATH :

   echo $GRASS_ADDON_PATH
   /usr/local/grass-addons/

   But :

   grass79 /path/to/my/location/mapset --exec r.my.addon

   fails :

   [Errno 2] No such file or directory: 'r.my.addon': 'r.my.addon'
   Exiting...


   Would anyone help me solve this issue ?
   Have a nice sunday,

   Vincent.

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