Hi list

I'm using R to run some processing over a spatio-temporal raster dataset
coming from GRASS. The workflow is as follows:

1. Export all my images from GRASS with t.rast.export
2. Import them as a raster stack in R with read.tgrass
3. do the processing... which implies converting the rasterstack into a
matrix, transposing and running dineof
4. create the rasterstack again, add the time with setZ
5. export with write.tgrass (which only seems to work for RasterStack and
not for STFDF, i tried both ways)
6. and import to grass again...

here is where I get the error since an init.txt file with the following
information is needed but it's not created by write.tgrass...

stds_type=strds
format=GTiff
temporal_type=absolute
semantic_type=mean
number_of_maps=
north=
south=
east=
west=

There are of course some workarounds but it would be nice -and much more
straightforward- that the function which is intended to provide interface
between R and T-GRASS, already does the job itself :)

Thanks much!

Best,
Vero

	[[alternative HTML version deleted]]

