[GRASS-user] t.rast.import doesn't recognize init file from write.tgrass (R)

Hi Soeren and everybody,

Happy 31st birthday GRASS GIS!!

I’m trying to import a strds generated with the “write.tgrass” function from spacetime package in R. The function now writes the previously lacking init.txt file, but it seems t.rast.import does not recognize it… i’m using GRASS GIS 7.1.svn r61448M (just updated :))

Here’s the command and the error I get:

t.rast.import input=/home/veroandreo/bloom.tar.gz output=bloom_start_date basename=bloom_start_date extrdir=/tmp

Traceback (most recent call last):
File “/home/veroandreo/software/grass-7.0.svn/dist.x86_64-unknown-linux-gnu/scripts/t.rast.import”, line 122, in
main()
File “/home/veroandreo/software/grass-7.0.svn/dist.x86_64-unknown-linux-gnu/scripts/t.rast.import”, line 118, in main
set_current_region)
File “/home/veroandreo/software/grass-7.0.svn/dist.x86_64-unknown-linux-gnu/etc/python/grass/temporal/stds_import.py”, line 215, in import_stds
core.fatal(_(“Unable to find init file <%s>”) % init_file_name)
File “/home/veroandreo/software/grass-7.0.svn/dist.x86_64-unknown-linux-gnu/etc/python/grass/script/core.py”, line 579, in fatal
raise ScriptError(msg)
grass.exceptions.ScriptError: Unable to find init file <init.txt>

I also paste down here the content of the init file as generated by R (seems ok to me, dunno…)

stds_type=strds
format=GTiff
temporal_type=absolute
semantic_type=mean
number_of_maps=11
north=-38
south=-55
east=-55
west=-70

Thanks much in advance!

Best,
vero