On 23 February 2016 at 17:59, Sören Gebbert <soerengebb...@googlemail.com> wrote: > Hi,
Hi, > > I would like to suggest that we do not use a flag for suffix > specification, but instead an option for this purpose. Like "suffix"? > I started with t.rast.accdetect, mostly working but > The suffix option will specify which type should be created: > * time with full format (time) 2001-01-01T00:00:00 this is not working, it is returning this problem t.rast.accdetect input=precip_sum@climate_2000_2012 occurrence=B start='2001-01-01' stop='2008-12-31' cycle='12 months' basename=b range=1,10 suffix=time 12 Processing cycle 2001-01-01 00:00:00 - 2002-01-01 00:00:00 Traceback (most recent call last): File "/home/lucadelu/compilati/grass_trunk/dist.x86_64-pc-linux-gnu/scripts/t.rast.accdetect", line 589, in <module> main() File "/home/lucadelu/compilati/grass_trunk/dist.x86_64-pc-linux-gnu/scripts/t.rast.accdetect", line 317, in main maximum_strds, dbif) File "/home/lucadelu/compilati/grass_trunk/dist.x86_64-pc-linux-gnu/scripts/t.rast.accdetect", line 531, in compute_occurrence occurrence_map_id = map.build_id(occurrence_map_name, mapset) File "/home/lucadelu/compilati/grass_trunk/dist.x86_64-pc-linux-gnu/etc/python/grass/temporal/abstract_map_dataset.py", line 174, in build_id name, layer = name.split(":") ValueError: too many values to unpack maybe should be enouh to change time format using 2001-01-01T00.00.00 or something similar? -- ciao Luca http://gis.cri.fmach.it/delucchi/ www.lucadelu.org _______________________________________________ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev