<div dir="auto"><div>Hi Nikos,<div dir="auto"><br></div><div dir="auto">Have you tried with t.register? </div><div dir="auto"><br></div><div dir="auto">You would need to set the start_time="2013-04-13 10:00:09.935626" plus an increment="10 seconds". I have not tested, but it should work. </div><div dir="auto"><br></div><div dir="auto">I think it's better than r.timestamp if you want to create time series, even though it would be great to fix the bug in r.timestamp, anyway.</div><div dir="auto"><br></div><div dir="auto">Cheers,</div><div dir="auto">Vero</div><br><div class="gmail_extra"><br><div class="gmail_quote">El 23 oct. 2017 7:38 p.m., "Nikos Alexandris" <<a href="mailto:nik@nikosalexandris.net">nik@nikosalexandris.net</a>> escribió:<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Nikos:<div class="quoted-text"><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
This<br>
<br>
r.timestamp B1 date='13 apr 2013 10:00:09.935626' && r.timestamp B1<br>
WARNING: Invalid timestamp file for raster map <B1@><br>
<br>
does not work. Why?<br>
</blockquote></blockquote>
<br></div>
Markus N:<div class="elided-text"><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
GRASS 7.2.3svn (nc_spm_08_grass7):~ > r.mapcalc "B1 = 2"<br>
100%<br>
GRASS 7.2.3svn (nc_spm_08_grass7):~ >  r.timestamp B1 date='13 apr<br>
2013 10:00:09.935626' && r.timestamp B1<br>
WARNING: Invalid timestamp file for raster map <B1@><br>
<br>
The error message is in lib/gis/timestamp.c, line 301. With debug:<br>
<br>
<br>
GRASS 7.2.3svn (nc_spm_08_grass7):~ >  r.timestamp B1 date='13 apr<br>
2013 10:00:09.935626'<br>
GRASS 7.2.3svn (nc_spm_08_grass7):~ >  r.timestamp B1<br>
WARNING: Invalid timestamp file for raster map <B1@><br>
GRASS 7.2.3svn (nc_spm_08_grass7):~ > g.gisenv set=DEBUG=1<br>
D1/1: G_set_program_name(): g.gisenv<br>
GRASS 7.2.3svn (nc_spm_08_grass7):~ >  r.timestamp B1<br>
D1/1: G_set_program_name(): r.timestamp<br>
D1/1: G_find_raster(): name=B1 mapset=<br>
WARNING: Invalid timestamp file for raster map <B1@><br>
D1/1: G_set_program_name(): g.gisenv<br>
</blockquote>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
The following do work:<br>
<br>
r.timestamp B1 date='13 apr 2013 10:00:19.935626' && r.timestamp B1<br>
13 Apr 2013 10:00:19.935626<br>
</blockquote></blockquote>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
GRASS 7.2.3svn (nc_spm_08_grass7):~ >  r.timestamp B1 date='13 apr<br>
2013 10:00:19.935626' && r.timestamp B1<br>
D1/1: G_set_program_name(): r.timestamp<br>
D1/1: G_find_raster(): name=B1 mapset=user1<br>
D1/1: G_set_program_name(): r.timestamp<br>
D1/1: G_find_raster(): name=B1 mapset=<br>
13 Apr 2013 10:00:19.935626<br>
D1/1: G_set_program_name(): g.gisenv<br>
<br>
There is apparently a parsing bug in 10:00:0x  <<-- 0x (while 1x etc work).<br>
?<br>
<br>
</blockquote>
<br></div>
Obviously.<br>
<br>
Here a quick test for 0x:<br>
<br>
function seconds { printf "%02d" $1; }<br>
for SEC in `seq 0 1 59` ;do echo $(seconds $SEC) && r.timestamp B1 date="13 apr 2013 10:00:$(seconds $SEC).935626" && r.timestamp B1 ;done<br>
<br>
00<div class="quoted-text"><br>
WARNING: Invalid timestamp file for raster map <B1@><br></div>
01<div class="quoted-text"><br>
WARNING: Invalid timestamp file for raster map <B1@><br></div>
02<div class="quoted-text"><br>
WARNING: Invalid timestamp file for raster map <B1@><br></div>
03<div class="quoted-text"><br>
WARNING: Invalid timestamp file for raster map <B1@><br></div>
04<div class="quoted-text"><br>
WARNING: Invalid timestamp file for raster map <B1@><br></div>
05<div class="quoted-text"><br>
WARNING: Invalid timestamp file for raster map <B1@><br></div>
06<div class="quoted-text"><br>
WARNING: Invalid timestamp file for raster map <B1@><br></div>
07<div class="quoted-text"><br>
WARNING: Invalid timestamp file for raster map <B1@><br></div>
08<div class="quoted-text"><br>
WARNING: Invalid timestamp file for raster map <B1@><br></div>
09<div class="quoted-text"><br>
WARNING: Invalid timestamp file for raster map <B1@><br></div>
10<br>
13 Apr 2013 10:00:10.935626<br>
11<br>
13 Apr 2013 10:00:11.935626<br>
12<br>
13 Apr 2013 10:00:12.935626<br>
<br>
[..rest is fine..]<font color="#888888"><br>
<br>
Nikos<br>
</font><br>______________________________<wbr>_________________<br>
grass-dev mailing list<br>
<a href="mailto:grass-dev@lists.osgeo.org">grass-dev@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/grass-dev" rel="noreferrer" target="_blank">https://lists.osgeo.org/<wbr>mailman/listinfo/grass-dev</a><br></blockquote></div><br></div></div></div>