[STATSGRASS] sp_0.9-16 source on CRAN

Rainer M. Krug Rainer+grass at krugs.de
Tue Oct 16 05:16:55 EDT 2007


Hi

I just upgraded to the new version, and I get an error message when 
importing an existing raster. The output is below.


 > readRAST6("Hakea_seeds_2007")
Creating BIL support files ...
Header File = ld
World File = 
/home/rkrug/Documents/Projects/AlienSpread/R/../grass/simulation/.tmp/rkrug-linux/Hakea_seeds_2007.wld
Exporting Raster as double values(bytes=8)
Using the Current Region settings ...
north=6247000.000000
south=6195000.000000
east=270200.000000
west=251000.000000
r=520
c=192

Percent complete:
r.out.bin complete.
Error in readBinGrid(rtmpfl11, colname = vname[i], proj4string = p4, 
integer = to_int) :
   no such file: 
/home/rkrug/Documents/Projects/AlienSpread/R/../grass/simulation/.tmp/rkrug-linux/Hakea_seeds_2007.hdr
 >

The contents of the folder are as follow:

(grass):~/Documents/Projects/AlienSpread/grass/simulation/.tmp/rkrug-linux 
 > ll Hakea*
-rw-r--r-- 1 rkrug users 798720 2007-10-16 11:10 Hakea_seeds_2007
-rw-r--r-- 1 rkrug users     60 2007-10-16 11:10 Hakea_seeds_2007.wld
-rw-r--r-- 1 rkrug users 798720 2007-10-16 10:52 Hakea_seedsDispersed_2007
-rw-r--r-- 1 rkrug users     60 2007-10-16 10:52 
Hakea_seedsDispersed_2007.wld
[Raster MASK present]
GRASS 6.2.2 
(grass):~/Documents/Projects/AlienSpread/grass/simulation/.tmp/rkrug-linux 
 >

Is there something wrong in my paths or os there a bug?

Thanks a lot,


Rainer


Roger Bivand wrote:
> A new version of the foundation sp package is reaching CRAN mirrors, and 
> Windows and OSX binaries should follow within a day or so. There is a 
> significant change in how SpatialGrid objects are created, which we hope 
> will not affect users negatively, and which is giving a two orders of 
> magnitude speedup for reading larger rasters (single band 900 by 3600 
> down from 12 minutes to 6 seconds on an older 1.5GHz machine).
> 
> If anyone sees any negative impacts, please contact the authors 
> immediately directly.
> 
> Roger
> 




More information about the grass-stats mailing list