<div dir="ltr"><p dir="ltr">Hi Soeren and everybody,</p><p>Happy 31st birthday GRASS GIS!!</p>
<p dir="ltr">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 :))</p>
<p dir="ltr">Here's the command and the error I get:</p><p dir="ltr">t.rast.import input=/home/veroandreo/bloom.tar.gz output=bloom_start_date basename=bloom_start_date extrdir=/tmp</p>Traceback (most recent call last):<br>
File "/home/veroandreo/software/grass-7.0.svn/dist.x86_64-unknown-linux-gnu/scripts/t.rast.import", line 122, in <module><br> main()<br> File "/home/veroandreo/software/grass-7.0.svn/dist.x86_64-unknown-linux-gnu/scripts/t.rast.import", line 118, in main<br>
set_current_region)<br> 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<br> core.fatal(_("Unable to find init file <%s>") % init_file_name)<br>
File "/home/veroandreo/software/grass-7.0.svn/dist.x86_64-unknown-linux-gnu/etc/python/grass/script/core.py", line 579, in fatal<br> raise ScriptError(msg)<br>grass.exceptions.ScriptError: Unable to find init file <init.txt>
<p dir="ltr">I also paste down here the content of the init file as generated by R (seems ok to me, dunno...)<br></p>stds_type=strds<br>format=GTiff<br>temporal_type=absolute<br>semantic_type=mean<br>number_of_maps=11<br>
north=-38<br>south=-55<br>east=-55<br>west=-70
<p dir="ltr">Thanks much in advance! </p>
<p dir="ltr">Best,<br>
vero</p>
</div>