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

2015-09-13 Thread Raphael.Viscarra-Rossel
I ended up reloading the rasters. It took some time and processing but well, it's done. Thanks for the suggestions. Raphael. _ Sent from my mobile device > On 13 Sep 2015, at 5:00 am, Markus Neteler wrote: > > On Fri, Sep 11, 2015 at 10:00 AM,

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

2015-09-12 Thread Markus Neteler
On Fri, Sep 11, 2015 at 10:00 AM, Moritz Lennert 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 =

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

2015-09-11 Thread Markus Neteler
On Sep 11, 2015 5:58 AM, wrote: > > Hello, > > Recently, some grass files that were on my computer were accidentally > deleted - I recovered them from backup but it seems that maybe not all. > When I open grass and load up a raster with d.rast the map does not

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

2015-09-11 Thread Kozlova Maria
Hi, Rafael, The first point: Typing the comnand: d.rast map= you don't load the file. You just display the already imported map from existing mapset So be sure you files are imported to the current mapset You may check this by the command: d.list rast (maybe some differences in syntax

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

2015-09-11 Thread Raphael.Viscarra-Rossel
o:nete...@osgeo.org>> Date: Friday, 11 September 2015 4:58 pm To: Raphael Rossel <raphael.viscarra-ros...@csiro.au<mailto:raphael.viscarra-ros...@csiro.au>> Cc: GRASS user list <grass-user@lists.osgeo.org<mailto:grass-user@lists.osgeo.org>> Subject: Re: [GRASS-user

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

2015-09-11 Thread Raphael.Viscarra-Rossel
Hi Maria, thank you. Yes, the rasters are there - they are listed with g.listŠ. Projection is all ok too. MmmmŠ. On 11/09/2015 4:27 pm, "Kozlova Maria" wrote: >Hi, Rafael, > >The first point: >Typing the comnand: >d.rast map= >you don't load the file. You just display the

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

2015-09-11 Thread Moritz Lennert
On 11/09/15 09:27, raphael.viscarra-ros...@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:

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

2015-09-11 Thread Raphael.Viscarra-Rossel
Hello Moritz, Thank you for the suggestions. r.info returns the following WARNING: can't read range file for [toc10 in toc] ERROR: Unable to read range file The frange file I found seems to be there but it is not readable. I am beginning to thing that whatever I deleted was not recovered and

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

2015-09-10 Thread Raphael.Viscarra-Rossel
Hello, Recently, some grass files that were on my computer were accidentally deleted - I recovered them from backup but it seems that maybe not all. When I open grass and load up a raster with d.rast the map does not appear and I get the following error message: WARNING: Raster map