Re: [GRASS-user] startup with non-interactive batch jobs... failed

2011-06-21 Thread SGW00412
Dear Micha and all

> You need to 'export' each of these variables. i.e.
> home$ export GISDBASE=/home/shimada/mygis
> and so on for the others.

Thanks... Yes, I shoud read this wiki page carefully.

Best

Yasuo shimada
---
Micha Silver さん:
> On Tue, 2011-06-21 at 16:30 +0900, sgw00...@nifty.com wrote:
> > Dear grass user
> > 
> > I'm a beginner of grass and linux...
> > 
> > I tried startup with non-interactive batch jobs.
> > I don't understand why (1) succeeded and (2) failed...
> > Is the reason linux permissin ?
> > 
> > 
> > (1) starup with -text
> > ...succeeded
> > 
> > LOCATION:   newLocation_a  (enter list for a list of locations)
> > MAPSET: PERMANENT  (or mapsets within a location)
> > DATABASE: /home/shimada/mygis___
__
> > _
> >AFTER COMPLETING ALL ANSWERS, HIT  TO CONTINUE
> > (OR  TO CANCEL)
> > 
> > 
> > (2) startup with non-interactive batch jobs
> > 
> > ...failed.
> > 
> > home$ LOCATION=/home/shimada/mygis/newLocation_a/PERMANENT
> 
> This is unnecessary
> 
> 
> > home$ GISDBASE=/home/shimada/mygis
> > home$ LOCATION_NAME=newLocation_a
> > home$ MAPSET=PERMANENT
> 
> You need to 'export' each of these variables. i.e.
> home$ export GISDBASE=/home/shimada/mygis
> and so on for the others.
> 
> You probably want to look at the wiki page on running GRASS commands
> without starting it explicitly:
> http://grass.osgeo.org/wiki/Working_with_GRASS_without_starting_it_explicitly
> 
>  
>  
> > home$ grass64 -
> > Cleaning up temporary files ...
> > Starting GRASS ...
> > GISDBASE, LOCATION_NAME and MAPSET variables not set properly.
> > Interactive startup needed.
> > 
> > Yasuo shimada ( Japan weather association )
> > 
> > ___
> > grass-user mailing list
> > grass-user@lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/grass-user
> > 
> > This mail was received via Mail-SeCure System.
> > 
> > 
> 
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] startup with non-interactive batch jobs... failed

2011-06-21 Thread Micha Silver
On Tue, 2011-06-21 at 16:30 +0900, sgw00...@nifty.com wrote:
> Dear grass user
> 
> I'm a beginner of grass and linux...
> 
> I tried startup with non-interactive batch jobs.
> I don't understand why (1) succeeded and (2) failed...
> Is the reason linux permissin ?
> 
> 
> (1) starup with -text
> ...succeeded
> 
> LOCATION:   newLocation_a  (enter list for a list of locations)
> MAPSET: PERMANENT  (or mapsets within a location)
> DATABASE: /home/shimada/mygis_
> _
>AFTER COMPLETING ALL ANSWERS, HIT  TO CONTINUE
> (OR  TO CANCEL)
> 
> 
> (2) startup with non-interactive batch jobs
> 
> ...failed.
> 
> home$ LOCATION=/home/shimada/mygis/newLocation_a/PERMANENT

This is unnecessary


> home$ GISDBASE=/home/shimada/mygis
> home$ LOCATION_NAME=newLocation_a
> home$ MAPSET=PERMANENT

You need to 'export' each of these variables. i.e.
home$ export GISDBASE=/home/shimada/mygis
and so on for the others.

You probably want to look at the wiki page on running GRASS commands
without starting it explicitly:
http://grass.osgeo.org/wiki/Working_with_GRASS_without_starting_it_explicitly

 
 
> home$ grass64 -
> Cleaning up temporary files ...
> Starting GRASS ...
> GISDBASE, LOCATION_NAME and MAPSET variables not set properly.
> Interactive startup needed.
> 
> Yasuo shimada ( Japan weather association )
> 
> ___
> grass-user mailing list
> grass-user@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user
> 
> This mail was received via Mail-SeCure System.
> 
> 


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


[GRASS-user] startup with non-interactive batch jobs... failed

2011-06-21 Thread sgw00412
Dear grass user

I'm a beginner of grass and linux...

I tried startup with non-interactive batch jobs.
I don't understand why (1) succeeded and (2) failed...
Is the reason linux permissin ?


(1) starup with -text
...succeeded

LOCATION:   newLocation_a  (enter list for a list of locations)
MAPSET: PERMANENT  (or mapsets within a location)
DATABASE: /home/shimada/mygis_
_
   AFTER COMPLETING ALL ANSWERS, HIT  TO CONTINUE
(OR  TO CANCEL)


(2) startup with non-interactive batch jobs

...failed.

home$ LOCATION=/home/shimada/mygis/newLocation_a/PERMANENT
home$ GISDBASE=/home/shimada/mygis
home$ LOCATION_NAME=newLocation_a
home$ MAPSET=PERMANENT
home$ grass64 -
Cleaning up temporary files ...
Starting GRASS ...
GISDBASE, LOCATION_NAME and MAPSET variables not set properly.
Interactive startup needed.

Yasuo shimada ( Japan weather association )

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