<div dir="ltr"><div><div>Hello list, <br><br>I have accumulated a daily time series of temperatures with BEDD method by means of t.rast.accumulate, and now, I need to identify where do the cycles occur and how much do they last. However, when I run t.rast.accdetect, all goes fine until I get this error: <br></div><br>Traceback (most recent call last):<br>  File "/home/veroandreo/software/grass7_trunk/dist.x86_64-pc-linux-gnu/scripts/t.rast.accdetect", line 592, in <module><br>ERROR: Unable to execute transaction:<br>INSERT INTO raster_base ( name ,creator ,mapset     ,creation_timemain()<br><br>,temporal_type ,id   File "/home/veroandreo/software/grass7_trunk/dist.x86_64-pc-linux-gnu/scripts/t.rast.accdetect", line 437, in main<br>) VALUES ('eip2_2003_08_01' ,'veroandreo' ,'lst'<br>,'2017-04-27 18:55:42.175407' ,'absolute' ,'eip2_2003_08_01@lst') ;<br>INSERT INTO raster_absolute_time ( start_time ,id ,end_time ) VALUES<br>('2003-08-01 00:00:00' ,'eip2_2003_08_01@lst' ,'2003-08-02 00:00:00') ;<br>INSERT     register_null, empty_maps, dbif)<br>INTO  File "/home/veroandreo/software/grass7_trunk/dist.x86_64-pc-linux-gnu/scripts/t.rast.accdetect", line 479, in create_strds_register_maps<br> raster_spatial_extent ( north ,bottom ,west ,top ,proj ,east<br>,id ,south ) VALUES (2428000.000000 ,0.000000 ,4821000.000000 ,0.000000<br>,'XY' ,6309000.000000 ,'eip2_2003_08_01@lst' ,1312000.000000) ;<br>INSERT INTO raster_metadata     (map.insert(dbif)<br> max  File "/home/veroandreo/software/grass7_trunk/dist.x86_64-pc-linux-gnu/etc/python/grass/temporal/abstract_map_dataset.py", line 283, in insert<br> ,rows ,min ,datatype ,number_of_cells<br>,cols ,ewres ,nsres ,id ) VALUES (3.000000 ,1488 ,1.000000 ,'CELL' ,1660608<br>,1116     return AbstractDataset.insert(self, dbif=dbif, execute=execute)<br>,1000.000000   File "/home/veroandreo/software/grass7_trunk/dist.x86_64-pc-linux-gnu/etc/python/grass/temporal/abstract_dataset.py", line 403, in insert<br>,1000.000000 ,'eip2_2003_08_01@lst') ;<br>INSERT INTO raster_stds_register ( id ,registered_stds ) VALUES<br>('eip2_2003_08_01@lst' ,NULL) ;<br>    dbif.execute_transaction(statement)<br>  File "/home/veroandreo/software/grass7_trunk/dist.x86_64-pc-linux-gnu/etc/python/grass/temporal/core.py", line 1020, in execute_transaction<br>    return self.connections[mapset].execute_transaction(statement)<br>  File "/home/veroandreo/software/grass7_trunk/dist.x86_64-pc-linux-gnu/etc/python/grass/temporal/core.py", line 1314, in execute_transaction<br>    self.cursor.executescript(statement)<br>sqlite3.IntegrityError: UNIQUE constraint failed: <a href="http://raster_base.id">raster_base.id</a><br><br></div><div></div><div>I have no clue of what is wrong... Here are the commands I'm using (I'm following the example in t.rast.accumulate manual page)<br><br># accumulation <br>t.rast.accumulate -n input=reconstructed_lst output=daily_bedd \<br> start="2003-04-01" stop="2005-09-30" \<br> cycle="6 months" offset="6 months" granularity="1 day" \<br> basename=daily_bedd suffix=gran method=bedd limits=14,32 \<br> scale=0.02 shift=-273.15 --o<br><br></div><div># detect cycle 1: <br></div><div>t.rast.accdetect input=daily_bedd \<br>  occurrence=occurrence_eip1 start="2003-04-01" stop="2005-09-30" \<br>  cycle="6 months" offset="6 months" range=109,218 \<br>  basename=eip1 indicator=indicator_eip1<br><br></div><div>The maps are created (basename=eip1) and they contain data, the occurrence strds is also created and contains the eip1 maps, but the indicator strds is empty. And this one (the indicator strds) is the one needed to identify where do the target cycles occur.<br><br>I would really appreciate any help and advice... please :)<br><br></div><div>Thanks much<br></div><div>Vero<br></div></div>