test_aggregation_absolute

./temporal/t.rast.aggregate – test_aggregation_absolute

Test failed

Testtest_aggregation_absolute
Testsuite./temporal/t.rast.aggregate
Test file./temporal/t.rast.aggregate/testsuite/test_aggregation_absolute.py
StatusFAILED
Return code1
Number of tests5
Successful tests0
Failed tests10
Percent successful0%
Test duration0:00:11.733206

Supplementary files

Standard error output (stderr)

... (lines omitted)
FAIL: test_aggregation_3months (__main__.TestAggregationAbsolute)
Aggregation three month
----------------------------------------------------------------------
Traceback (most recent call last):
  File "temporal/t.rast.aggregate/testsuite/test_aggregation_absolute.py", line 159, in test_aggregation_3months
    suffix='num%03')
  File "etc/python/grass/gunittest/case.py", line 1164, in assertModule
    self.fail(self._formatMessage(msg, stdmsg))
AssertionError: Running <t.rast.aggregate> module ended with non-zero return code (1)
Called: t.rast_aggregate(input='A', output='B', basename='b', suffix='num%03', granularity='3 months', method='sum', offset=100, nprocs=9, file_limit=0, sampling=['contains'])
See the following errors:
Traceback (most recent call last):
  File "scripts/t.rast.aggregate", line 219, in <module>
    main()
  File "scripts/t.rast.aggregate", line 196, in main
    overwrite=gcore.overwrite(), file_limit=file_limit)
  File "etc/python/grass/temporal/aggregation.py", line 230, in aggregate_by_topology
    topo_builder.build(mapsA=granularity_list, mapsB=map_list, spatial=spatial)
  File "etc/python/grass/temporal/spatio_temporal_relationships.py", line 552, in build
    vector.RTreeSearch2(tree, rect, list_)
ctypes.ArgumentError: argument 1: <type 'exceptions.TypeError'>: expected LP_struct_RTree instance instead of LP_struct_RTree


======================================================================
FAIL: test_disaggregation (__main__.TestAggregationAbsolute)
Disaggregation with empty maps
----------------------------------------------------------------------
Traceback (most recent call last):
  File "temporal/t.rast.aggregate/testsuite/test_aggregation_absolute.py", line 61, in test_disaggregation
    nprocs=2, flags="n")
  File "etc/python/grass/gunittest/case.py", line 1164, in assertModule
    self.fail(self._formatMessage(msg, stdmsg))
AssertionError: Running <t.rast.aggregate> module ended with non-zero return code (1)
Called: t.rast_aggregate(input='A', output='B', basename='b', suffix='gran', granularity='2 days', method='average', offset=0, nprocs=2, file_limit=1000, sampling=['overlaps', 'overlapped', 'during'], flags=u'n')
See the following errors:
Traceback (most recent call last):
  File "scripts/t.rast.aggregate", line 219, in <module>
    main()
  File "scripts/t.rast.aggregate", line 196, in main
    overwrite=gcore.overwrite(), file_limit=file_limit)
  File "etc/python/grass/temporal/aggregation.py", line 230, in aggregate_by_topology
    topo_builder.build(mapsA=granularity_list, mapsB=map_list, spatial=spatial)
  File "etc/python/grass/temporal/spatio_temporal_relationships.py", line 552, in build
    vector.RTreeSearch2(tree, rect, list_)
ctypes.ArgumentError: argument 1: <type 'exceptions.TypeError'>: expected LP_struct_RTree instance instead of LP_struct_RTree


----------------------------------------------------------------------
Ran 5 tests in 10.699s
FAILED (failures=5, errors=5)