Re: [GRASS-user] Script fails; manual entry works

2019-09-19 Thread Rich Shepard
On Thu, 19 Sep 2019, Markus Metz wrote: within a running GRASS session, you can switch the mapset (and location) with g.mapset Markus M, I regularly switch mapsets with g.mapset and have been unaware that I can switch locations, too. HTH, Yep. It does. I also discovered the issue is not

Re: [GRASS-user] Script fails; manual entry works

2019-09-19 Thread Markus Metz
On Thu, Sep 19, 2019 at 12:36 AM Rich Shepard wrote: > > On Wed, 18 Sep 2019, Moritz Lennert wrote: > > > You cannot launch GRASS GIS within the script in this way. You have to > > put the actual module calls into a script and then either > > > > - launch GRASS GIS and from the GRASS command line

Re: [GRASS-user] Script fails; manual entry works

2019-09-18 Thread Rich Shepard
On Wed, 18 Sep 2019, Moritz Lennert wrote: You cannot launch GRASS GIS within the script in this way. You have to put the actual module calls into a script and then either - launch GRASS GIS and from the GRASS command line launch the script, or - follow

Re: [GRASS-user] Script fails; manual entry works

2019-09-18 Thread Rich Shepard
On Wed, 18 Sep 2019, Moritz Lennert wrote: https://grasswiki.osgeo.org/wiki/GRASS_and_Shell#GRASS_Batch_jobs, I must be missing something when I open the wiki using the link on the grass landing page because I cannot find any page other than that initial one. I don't find a search box or a

Re: [GRASS-user] Script fails; manual entry works

2019-09-18 Thread Rich Shepard
On Wed, 18 Sep 2019, Moritz Lennert wrote: You cannot launch GRASS GIS within the script in this way. You have to put the actual module calls into a script and then either Moritz, The actual module calls are in the script, as are the commands to launch grass. - launch GRASS GIS and from

Re: [GRASS-user] Script fails; manual entry works

2019-09-18 Thread Moritz Lennert
Le Wed, 18 Sep 2019 13:22:22 -0700 (PDT), Rich Shepard a écrit : > I've a script that begins this way: > > #!/usr/bin/bash > > # Create projection and exit > # LDQ-45123G3: > grass79 -c LDQ-45123G3/2009_OLC_Hood\ to\ > Coast/Bare_Earth/be45123g3/prj.adf /data/grassdata/g3 -e > > grass79

[GRASS-user] Script fails; manual entry works

2019-09-18 Thread Rich Shepard
I've a script that begins this way: #!/usr/bin/bash # Create projection and exit # LDQ-45123G3: grass79 -c LDQ-45123G3/2009_OLC_Hood\ to\ Coast/Bare_Earth/be45123g3/prj.adf /data/grassdata/g3 -e grass79 g3/PERMANENT sleep 1s r.in.gdal in=LDQ-45123G3/2009_OLC_Hood\ to\