[GRASS-dev] Strange behavour of t.register command

Veronica Andreo veroandreo at gmail.com
Thu May 10 02:30:55 PDT 2018

Ciao Roberto,

AFAIU, the second command you used is the right one. I tested and no errors.

In general, if you have absolute time (say gregorian calendar), you set the
increment with a number and unit as you did, increment="120 minutes". If
you have relative time in which each map represents 2 hours (result of
simulations for example), you set the increment as increment=2 units=hours.
IIUC, in your first command you are mixing two different time types by
setting a start time as absolute time, a unitless increment and units
separately... But others will know best :)

Here's a wiki with examples:
and one specific for registering maps:



El jue., 10 may. 2018 a las 11:06, Roberto Marzocchi (<
roberto.marzocchi at gmail.com>) escribió:

> Dear lists,
> we are testing the command t.register
> t.register --o --q -i maps=(name of maps separated by comma)
> input=time_dataset start='2011-11-03 02:00:00' increment='120'
> unit='minutes'
> it run without error but when running g.gui.animation or g.gui.tplot using
> the time series dataset I have the following error: *Topology of Space
> time dataset time_dataset at mapset is invalid*.
> I tried the following command (reading the manual of t.register)
>  t.register --o --q -i maps=(name of maps separated by comma) input=
> time_dataset start='2011-11-03 02:00:00' increment='120 minutes'
> and
> - one PC I read the following error *ERRORE: invalid literal for int()
> with base 10: '00+00'*
> - on PC run correctly and I can run the gui commands witout any error
> I have the same GRASS package installed on both the PC (7.4.0-1~xenial1)
> R
> _______________________________________________
> grass-dev mailing list
> grass-dev at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/grass-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20180510/29f182e0/attachment.html>

More information about the grass-dev mailing list