<div dir="ltr"><div><div><div>Thank you Soeren,<br><br></div>If I want to register an irregular set of daily maps (missing days), will the end date need to be the next day (say 5 days after this image, 2 days after in the next image)?<br>
<br></div>Cheers,<br></div>Yann<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 5 March 2014 12:14, Sören Gebbert <span dir="ltr"><<a href="mailto:soerengebbert@googlemail.com" target="_blank">soerengebbert@googlemail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Yann,<br>
if you need support for time zones you have to use postgresql as<br>
backend. Unfortunately sqlite does not support time zones. A work<br>
around would be to ignore the time zone and use t.shift to temporally<br>
shift the created STRDS by 5h and 30 min to UTC time after registering<br>
the maps. I should notice this in the help page, i don't know why i<br>
missed that ..???!!!<br>
<br>
The next thing is that TGRASS uses time intervals in which the end<br>
time is not part of the time interval, but the start time of a<br>
successor. That means that you do not need to know how many days in a<br>
month are;  Interval of one day: start="2004-05-10" end="2004-05-11"<br>
<br>
Best regards<br>
Soeren<br>
<br>
2014-03-05 6:36 GMT+01:00 Yann Chemin <<a href="mailto:ychemin@gmail.com">ychemin@gmail.com</a>>:<br>
<div class="HOEnZb"><div class="h5">> Hi,<br>
><br>
> input line is:<br>
> t.register input=ta maps=ta_2004131 start="2004-05-10 00:00:00 +0530"<br>
> end="2004<br>
> -05-10 23:59:59 +0530"<br>
><br>
> temporal says:<br>
>   File "/usr/lib/python2.7/sqlite3/dbapi2.py", line 69, in convert_timestamp<br>
>     hours, minutes, seconds = map(int, timepart_full[0].split(":"))<br>
> ValueError: invalid literal for int() with base 10: '00+05'<br>
><br>
> Manual says following format accepted:<br>
> start=string<br>
> Valid start date and time of the first map. Format absolute time:<br>
> "yyyy-mm-dd HH:MM:SS +HHMM", relative time is of type integer).<br>
> end=string<br>
> Valid end date and time of all map. Format absolute time: "yyyy-mm-dd<br>
> HH:MM:SS +HHMM", relative time is of type integer).<br>
><br>
> yann<br>
> --<br>
> ----<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>----
</div>