[GRASSLIST:2578] Re: s.surf.rst generating seemingly empty rasters

Matthew Tennant Matthew.Tennant at MobileInnovation.co.uk
Thu Feb 12 12:26:47 EST 2004


Glynn Clements wrote:-

>Try adding the -f switch, i.e.
>
>                mount -f -b c:\cygwin /

mount -f -b c:\cygwin / resulted in the error "mount: /: Invalid Argument"
I tried typing mount -f -b c:/cygwin / and this returned no error message 
and also changed the output of mount so that a line was changed

"c:\cygwin on / type system" (textmode) became "c:\cygwin on / type system 
(binmode)."

However, after a rerun, s.surf.rst results again in the output. 

d.rast map=hg1
> Warning: Fail of initial read of compressed file [hg1 in PERMANENT]
> Warning: unable to open raster map [hg1 in PERMANENT]
> Error: Not able to open cellfile for [hg1]

I had saved the sites file "hg1" as UNIX , ANSI file. The created hg1 
raster file in fcell is 392kb big. I wonder if anything else can be wrong?
All the other rasters in my location display fine.

Any more suggestions would be appreciated - thanks for your help so far.

----------------------

Matthew Tennant 

PS I have located through Google someone who had the same problem as me:-

"I have recently installed the wingrass sytem (grass5.0.0pre3) on my =
machine which is running win2000. I have tried to follow all the =
installation instuctions bt not being familiar with the whole unix like =
setup I might have made some mistakes.
Basically grass is working. I can create my own location and tcltkgrass =
is working. My problem comes when trying to create and display raster =
images. I had a 3 column ascii file that I managed to import into a =
sites list using s.in.ascii (I can disply the site data). I then tried =
to convert that into a raster image using s.to.rast and s.surf.rst. Both =
programs appear to work as they output a file. I then open a display =
window and try to display the raster file with d.rast. I get the =
following error:
  WARNING: Fail of initial read of compressed file [cape.img in user1]
  mail: not found
  WARNING: unable to open raster map [cape.img in user1]
  mail: not found
  ERROR: Not able to open cellfile for [cape.img]
  mail: not found
I thought it might be a binary read problem that I have read about in =
the mail archive but I can display raster images from the spearfish data =
set. It is only raster data sets that I create that I cannot display. I =
have also tried to import a tiff image and to display it but I get the =
same problem.=20
Is anyone able to help?
Ross"


 




More information about the grass-user mailing list