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

Moritz Lennert mlennert at club.worldonline.be
Fri Sep 11 01:00:54 PDT 2015

On 11/09/15 09:27, Raphael.Viscarra-Rossel at csiro.au wrote:
> Hi Markus,
> Yes…not sure where the double @ comes from – it just displays this in
> the error message…
> I looked at the  files in the cellhd folder (which I assume are the
> header files) and they seem fine:
> proj:       3
> zone:       0
> north:      9:59:50.99856S
> south:      43:38:32.993713S
> east:       153:38:23.977878E
> west:       112:54:41.983744E
> cols:       48874
> rows:       40374
> e-w resol:  0:00:03
> n-s resol:  0:00:03
> format:     -1
> compressed: 1

This looks fine.

The error message you cited was:

 >> WARNING: Raster map <toc10 at toc@toc>: format field in header file invalid

but the format field in the header looks ok (-1 => FP map).

What does r.info tell you on the file ?

What about launching 'd.mon wx0' + 'd.rast toc10' from the command line ?

You can also try copying the raster file to a different name with g.copy.

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


More information about the grass-user mailing list