[GRASS-user] Re: r.mapcalculator / r.mapcalc not producing raster

2011-02-18 Thread LeeDaniel
Glad it helped! The regional settings are, as far as I know, stored in the mapset. So if you change the regional settings in a mapset and then leave it and work in another mapset, you'll be working with the regional settings of the current mapset. If you come back to the old mapset, the regional

[GRASS-user] Re: r.mapcalculator / r.mapcalc not producing raster

2011-02-18 Thread jaydub
Thanks, that did the trick. Setting g.region. Question, does that function set the region globally for Grass? For instance, if I'm using grass in another python console will that region be affected if I set the region in another instance of a python session? -- View this message in context: http

[GRASS-user] Re: r.mapcalculator / r.mapcalc not producing raster

2011-02-18 Thread LeeDaniel
With g.region. With the "rast=" argument you can set it to match a raster - both the spatial extent and the resolution will be set to match. r.mapcalc uses the regional settings for its calculations, so if the region is set at a low resolution, or the spatial extent is very small, it could explai

[GRASS-user] Re: r.mapcalculator / r.mapcalc not producing raster

2011-02-18 Thread jaydub
That's not right @ all... How would I set the region? -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/r-mapcalculator-r-mapcalc-not-producing-raster-tp6041018p6041165.html Sent from the Grass - Users mailing list archive at Nabble.com.

[GRASS-user] Re: r.mapcalculator / r.mapcalc not producing raster

2011-02-18 Thread LeeDaniel
Wow, it looks like your output raster is really, really small - only 400 cells. Is that correct? It also has values (you can tell by the min/max values in the metadata). That means that GRASS is producing something. Have you tried setting the regional settings to match test_combo? If you're import