[STATSGRASS] gmeta6() returns empty string

Hamish hamish_nospam at yahoo.com
Tue Feb 27 23:40:48 EST 2007


Tilmann Steinmetz wrote:
> The problem seems to arise from an empty default region in GRASS:
> 
> > system("g.region -d")
> ERROR: default region is invalid
>        line 11: <top: 1>
..
> I can go back to GRASS and say g.region -p which shows me the region 
> settings alright and when I call g.region -d it returns an empty
> string. This is most peculiar since I double-checked DEFAULT_WIND is
> there and non-empty. This behaviour is the same for my own location
> irrespective of projection or whatever. (I just reinstalled
> Spearfish6 to make sure its not something with access permissions or
> such).


In grass try looking at

g.gisenv

and

eval `g.gisenv`
cat "$GISDBASE/$LOCATION_NAME"/PERMANENT/DEFAULT_WIND


anything there?


Hamish




More information about the grass-stats mailing list