[GRASS-dev] t.rast.mapcalc: The temporal map type of the sample dataset must be interval

Veronica Andreo veroandreo at gmail.com
Wed Nov 30 14:05:00 PST 2016


Hi Martin,

(very wild guess)

Maybe the method=equal, which is the default method for t.rast.mapcalc, is
not defined for time instance data (?).

Have you tried changing it? For example, setting method=start? Perhaps in
that way, only start time is evaluated to perform the operation between
time series.

Also, t.select should show the topological relations between maps of the
time series within an expression. So that might be a hint if it is in fact
a temporal topology issue.

Vero

El 30 nov. 2016 9:30 p. m., "Martin Landa" <landa.martin at gmail.com>
escribió:

> Hi,
>
> I have two spatial-temporal dataset which are equal (time POV):
>
> $ t.rast.list tp5
> clip_LT51910261987057XXX02_B5|pisek_tabor|1987-02-26 09:12:36|None
> clip_LT51910262004152KIS00_B5|pisek_tabor|2004-05-31 09:32:23|None
> clip_LT51910262004200KIS00_B5|pisek_tabor|2004-07-18 09:33:46|None
> ...
>
> $ t.rast.list tp2
> ...
> clip_LT51910261987057XXX02_B2|pisek_tabor|1987-02-26 09:12:36|None
> clip_LT51910262004152KIS00_B2|pisek_tabor|2004-05-31 09:32:23|None
> clip_LT51910262004200KIS00_B2|pisek_tabor|2004-07-18 09:33:46|None
>
> $ t.rast.mapcalc in=tp2,tp5 exp="tp5 < 40 || tp2 < 40" out=water
> basename=water --o
> ERROR: The temporal map type of the sample dataset must be interval
> No samples found for map calculation
>
> Why the dataset must be interval? I mean start time and end time
> (which is None) are equal. Thanks for explanation, Martin
>
> --
> Martin Landa
> http://geo.fsv.cvut.cz/gwiki/Landa
> http://gismentors.cz/mentors/landa
> _______________________________________________
> grass-dev mailing list
> grass-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20161130/c6f13c0c/attachment.html>


More information about the grass-dev mailing list