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

Veronica Andreo veroandreo at gmail.com
Tue Jul 29 14:37:11 PDT 2014


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 <module>
    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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20140729/e35329fc/attachment.html>


More information about the grass-user mailing list