[GRASS-user] os.environ['GRASS_REGION'] Error

Markus Neteler neteler at osgeo.org
Thu Jun 5 07:46:27 PDT 2014


On Thu, Jun 5, 2014 at 10:27 AM, Javier Martínez-López
<javi.martinez.lopez at gmail.com> wrote:
> Hello all,
>
> trying to create a temporary region within a python GRASS script using:
>
> os.environ['GRASS_REGION'] = grass.region_env(res=150)
>
> I get the following errors on a CentOS server:
>
> ERROR: Syntax error in cell header
> ERROR: Field <projection> missing

What does
g.region -p

say in that location?

best,
Markus


More information about the grass-user mailing list