Can't read cats file

Bob Harrington bobh at
Fri Jan 27 18:07:39 EST 1995

In article <01HM733E74LUAR36JB at HCACAD.HOLYCROSS.EDU> you write:

>I recently moved to a DEC alpha, and used the modified source code for
>(64-bit int!) alphas form berkeley to make GRASS there.
>I'm repeatedly having trouble with old data sets when I restore them from
>tape.  A typical message from r.cats, for example, is 
>WARNING: category support for [piraeus.dem] in mapset [nsmith] invalid
>r.cats: piraeus.dem in nsmith - can't read category file
>But if I go in with a text editor, the cats file looks perfectly good.
>E.g., for the raster that produced the error message above, the cats
>file is
># 8618 categories
>Piraeus, digital elevation model
>0.00 0.00 0.00 0.00
>0:no data
>Has anyone else seen this?

I don't know how much help this will be, but I'm running GRASS 4.1.3 on
a DEC Alpha 3000/300L running OSF/1 3.0 and have not had any problems with
grass rasters that were originally put together on SUNs.  I compiled grass
using the source from and the patches from Berkeley.


More information about the grass-user mailing list