Skip to content

kriging -- grass -- asciigrid

1 message · Jose Funes

#
Dear members,

I have tried to export a kriging map to arcgis as asciigrid or image.
I have used the functions write.asciigrid and writeRast6sp(grass), in
both cases any success; In the former when exporting it, I got the
following message " Asciigrid does not support grids with non-square
cells". I checked for the krige map topology characteristics using the
following code:
getGridTopology(lidekri)

Apparently cell size looks fine: see below

                         s1       s2
cellcentre.offset -363565.9 175563.0
cellsize               90.0     90.0
cells.dim             804.0   1236.0

For the writeRast6sp function from "spgrass6" library

writeRast6sp(lidekri,"lidekri",zcol="var1.pred",NODATA=-9999),

I got the following message error

 "Error in system(paste(paste("g.tempfile", .addexe(), sep = ""),
"pid=",  :  g.tempfilepid=421 not found"

I will greatly appreciate any suggestions to get around this technical problem.

Sincerely,

Jose Funes
On Fri, Feb 29, 2008 at 6:00 AM, <r-sig-geo-request at stat.math.ethz.ch> wrote: