[GRASS-user] problem with spgrass6

Hi list,
I am using spgrass6 in a grass6.4-R2.9.2 on Ubuntu 9.10 without problems
/
//x=readRAST6(c("raster.a","raster.b"))/

but when i run the same line in grass65svn it gives an error with some rasters(DCELL)... (and other are imported without problems(DCELL too))

/CPL ERROR 4: `/media/COMP/grassdb//hardtke/Bisigato/.tmp/rs7/ndvi_sum' does not exist in the file system,
and is not recognised as a supported dataset name.

Error en .local(.Object, ...) :
  `/media/COMP/grassdb//hardtke/Bisigato/.tmp/rs7/ndvi_sum' does not exist in the file system,
and is not recognised as a supported dataset name.

/Any idea? Is it a grass65 bug? or my fault?

Leo Hardtke

Hi Leo,
these type of questions are best sent to the
grass-stats@list.osgeo.org [1] list (cc'd here),
which discusses GRASS-GIS, R & spgrass6 issues.

What does sessionInfo() give?

Best Regards,
Daniel.

[1] http://www.osgeo.org/mailman/listinfo/grass-stats

Leo Hardtke wrote:

Hi list,
I am using spgrass6 in a grass6.4-R2.9.2 on Ubuntu 9.10 without problems
/
//x=readRAST6(c("raster.a","raster.b"))/

but when i run the same line in grass65svn it gives an error with some rasters(DCELL)... (and other are imported without problems(DCELL too))

/CPL ERROR 4: `/media/COMP/grassdb//hardtke/Bisigato/.tmp/rs7/ndvi_sum' does not exist in the file system,
and is not recognised as a supported dataset name.

Error en .local(.Object, ...) :
`/media/COMP/grassdb//hardtke/Bisigato/.tmp/rs7/ndvi_sum' does not exist in the file system,
and is not recognised as a supported dataset name.

/Any idea? Is it a grass65 bug? or my fault?

Leo Hardtke
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

Leo Hardtke wrote:
> I am using spgrass6 in a grass6.4-R2.9.2 on Ubuntu 9.10 without problems
> /
> //x=readRAST6(c("raster.a","raster.b"))/
>
> but when i run the same line in grass65svn it gives an
error with some rasters(DCELL)... (and other are
imported without problems(DCELL too))
>
> /CPL ERROR 4:
`/media/COMP/grassdb//hardtke/Bisigato/.tmp/rs7/ndvi_sum'
does not exist in the file system,
> and is not recognised as a supported dataset name.

the "//" in the middle of the path makes me suspect that there is a
$VARIABLE there which is supposed to be set but is empty for some reason.

?

(does that file exist?)

Hamish

Hi, thanks for the fast replay....

//
Daniel McInerney escribió:

Hi Leo,
these type of questions are best sent to the
grass-stats@list.osgeo.org [1] list (cc'd here),
which discusses GRASS-GIS, R & spgrass6 issues.

What does sessionInfo() give?

sesioninfo() gives....
/R version 2.9.2 (2009-08-24)
x86_64-pc-linux-gnu

locale:
LC_CTYPE=es_AR.UTF-8;LC_NUMERIC=C;LC_TIME=es_AR.UTF-8;LC_COLLATE=es_AR.UTF-8;LC_MONETARY=es_AR.UTF-8;LC_MESSAGES=es_AR.UTF-8;LC_PAPER=es_AR.UTF-8;LC_NAME=es_AR.UTF-8;LC_ADDRESS=es_AR.UTF-8;LC_TELEPHONE=es_AR.UTF-8;LC_MEASUREMENT=es_AR.UTF-8;LC_IDENTIFICATION=es_AR.UTF-8

attached base packages:
[1] stats graphics grDevices utils datasets methods base

other attached packages:
[1] tree_1.0-27 spgrass6_0.6-15 XML_2.6-0 rgdal_0.6-21 [5] sp_0.9-59 rkward_0.5.1

loaded via a namespace (and not attached):
[1] grid_2.9.2 lattice_0.17-25 tools_2.9.2 /

to Hamish
`/media/COMP/grassdb//hardtke/Bisigato/.tmp/rs7/ndvi_sum'

the "//" in the middle of the path makes me suspect that there is a$VARIABLE there which is supposed to be set but is empty for some reason.

    ?

    (does that file exist?)
      
The file dosn't exist...
But when I import another raster (that works), no temporary file is created at this location... so I don't understand.....

x=readRAST6(c("distancia_costa"))
/media/COMP/grassdb//hardtke/Bisigato/cellhd/distancia_costa has GDAL driver GRASS
and has 956 rows and 786 columns

> ls /media/COMP/grassdb//hardtke/Bisigato/.tmp/rs7/
> 29.0 29.1 29.2 29.3 29.4 57.0 57.1 57.2 57.3 671.0 68.0

When I work in grass6.4 , there is no problem and everyting is imported.....

Leo