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

Javier Martínez-López javi.martinez.lopez at gmail.com
Thu Jun 5 01:27:54 PDT 2014


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

GRASS version:

GRASS 7.1.svn (2014)
libgis Revision: 60707
libgis Date: 2014-06-05 00:58:35 +0200 (Thu, 05 Jun 2014)

Doing it on my Ubuntu installation works fine! Any idea about what
could be the problem?

Thank you very much!

Cheers,

Javier


More information about the grass-user mailing list