$ 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
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.
$ 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
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.
thanks for tip, anyway changing method to 'start' doesn't seem to have
any effect, I am getting the same error. Ma
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.
thanks for tip, anyway changing method to ‘start’ doesn’t seem to have
any effect, I am getting the same error. Ma
But when I try to execute the t.rast.mapcalc I got:
$ t.rast.mapcalc input=Rbeam_2000m@Rbeam_2000m,Rbeam_250m@Rbeam_250m expression=‘(Rbeam_250m - Rbeam_2000m)/Rbeam_250m’ output=Rbeam_norm_diff basename=Rbeam_norm_diff nprocs=4 method=start --o
Starting temporal sampling…
ERROR: The temporal map type of the sample dataset must be interval
No samples found for map calculation
I have to delete and register the maps with t.register -i? Now I’m going to try this!