I'm just trying to use GRASS along with R for raster time series processing.
I'm using GRASS temporal modules (t.rast.export/t.rast.import) along with the functions available in spacetime package (read.tgrass and write.tgrass) to complete workflow... However, after finally being able of getting write.tgrass to work, t.rast.import does not do the job... So, I don't know where exactly the problem is...
The workflow I'm following is more or less like this:
File "/home/veroandreo/software/grass-7.1.svn/dist.x86_64-unknown-linux-gnu/scripts/t.rast.import", line 123, in <module>
File "/home/veroandreo/software/grass-7.1.svn/dist.x86_64-unknown-linux-gnu/scripts/t.rast.import", line 119, in main
File "/home/veroandreo/software/grass-7.1.svn/dist.x86_64-unknown-linux-gnu/etc/python/grass/temporal/stds_import.py", line 216, in import_stds
gscript.fatal(_("Unable to find init file <%s>") % init_file_name)
File "/home/veroandreo/software/grass-7.1.svn/dist.x86_64-unknown-linux-gnu/etc/python/grass/script/core.py", line 643, in fatal
grass.exceptions.ScriptError: Unable to find init file <init.txt>
When I check the .tar.bzip2 file, the init.txt file is in fact there, but also the original maps... Can anybody explain how it is supposed to work?? Or what I'm doing wrong? I attach the .tar.bzip2 file I get with t.rast.export
I was wondering if there was any chance to include support for reading/writing spatio-temporal data sets in rgrass7, and make this kind of workflows a bit smoother, besides saving time and disk space... A somehow equivalent structure for GRASS raster data sets, but in R might be STFDF from spacetime package, "A class for spatio-temporal data with full space-time grid; for n spatial locations and m times, n x m observations are available", maybe it can be recycled??
I'm using GRASS GIS 7.1 r65947 and R 3.2.1 under Fedora 21.