[GRASS-user] WARNING: Unable to open raster map...format field in header file invalid

Markus Neteler neteler at osgeo.org
Sat Sep 12 11:59:43 PDT 2015


On Fri, Sep 11, 2015 at 10:00 AM, Moritz Lennert
<mlennert at club.worldonline.be> wrote:
...
> You can also try copying the raster file to a different name with g.copy.

Since they are raster maps, you may also try to "regenerate" them with
r.mapcalc:

g.region raster=brokenmap
r.mapcalc "freshmap = brokenmap"

I suppose that r.mapcalc will create the missing files for you. Not
sure of course but worth a try.

If that works, in a simple loop all raster maps could be redone.

> Another option would be to make your location (or an extract) available
> somewhere so that we can have a look.

Yes.

Markus


More information about the grass-user mailing list