[GRASS-user] Re: Unable to open gridded data
Hermann Peifer
peifer at gmx.eu
Sun Dec 13 10:20:37 EST 2009
> Illegal line in header
> ncols: 180
My guess would be that the colon is the culprit. See also http://en.wikipedia.org/wiki/ESRI_grid
Hermann
-------- Original Message --------
Subject: Unable to open gridded data
From: Muhammad Rahiz <muhammad.rahiz at ouce.ox.ac.uk>
To:
Date: 11/12/2009 10:07
> Dear GRASS-users,
>
> I'm new to GRASS although I'm not new to GIS. I can't seem to be able to
> load my gridded data into GRASS using r.in.arc.
>
> The following error message appears
>
> Illegal line in header
> ncols: 180
> "yllcorner" field missing from header
> "xllcorner" field missing from header
> "nrows" field missing from header
> "ncols" field missing from header
> "cellsize" field missing from header
> "nodata_value" field missing from header
> ERROR: Can't get cell header
>
> The following is how the format of the header of my gridded data looks
> like;
>
> ncols 180
> nrows 290
> xllcorner -200000
> yllcorner -200000
> cellsize 5000
> NODATA_value -9999
>
> Does anyone have any suggestions?
>
> Thanks.
>
> Muhammad
>
More information about the grass-user
mailing list