Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • arosics arosics
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 14
    • Issues 14
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 3
    • Merge requests 3
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Daniel Scheffler
  • arosicsarosics
  • Issues
  • #41
Closed
Open
Issue created Oct 27, 2020 by Daniel Scheffler@danschefOwner

Sporadic AssertionErrors in case the matching window crosses the image edge.

Calculating actual data corner coordinates for reference image...
Bounding box of calculated footprint for reference image:
	(299999.0, 5790240.0, 409799.0, 5900040.0)
Calculating actual data corner coordinates for image to be shifted...
/home/gfz-fe/miniconda3/envs/enpt_test/lib/python3.8/site-packages/geoarray/baseclasses.py:735: UserWarning: 
Automatic nodata value detection returned the value 65535.0 for GeoArray 'L2A_T32ULD_20201012T104909_B02_10m' but this seems to be unreliable (occurs in only 2 image corners). To avoid automatic detection, just pass the correct nodata value.
  warnings.warn("\nAutomatic nodata value detection returned the value %s for GeoArray '%s' but this "
Automatically detected nodata value for GeoArray_CoReg 'L2A_T32ULD_20201012T104909_B02_10m': 65535.0
Bounding box of calculated footprint for image to be shifted:
	(300000.0, 5790240.0, 389760.0, 5900040.0)
Matching window position (X,Y): 335901.37805200584/5850324.115408705
Initializing tie points grid...
With respect to the provided bad data mask(s) 515 points of initially 569 have been excluded.
Calculating tie point grid (54 points) on 1 CPU core...

Failure
Traceback (most recent call last):
  File "/home/gfz-fe/miniconda3/envs/enpt_test/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
    yield
  File "/home/gfz-fe/miniconda3/envs/enpt_test/lib/python3.8/unittest/case.py", line 676, in run
    self._callTestMethod(testMethod)
  File "/home/gfz-fe/miniconda3/envs/enpt_test/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
    method()
  File "/home/gfz-fe/scheffler/python/arosics/tests/test_COREG_LOCAL.py", line 140, in test_debug
    CRL.calculate_spatial_shifts()
  File "/home/gfz-fe/scheffler/python/arosics/arosics/CoReg_local.py", line 353, in calculate_spatial_shifts
    self._tiepoint_grid.get_CoRegPoints_table()
  File "/home/gfz-fe/scheffler/python/arosics/arosics/Tie_Point_Grid.py", line 398, in get_CoRegPoints_table
    results[i, :] = self._get_spatial_shifts(coreg_kwargs)
  File "/home/gfz-fe/scheffler/python/arosics/arosics/Tie_Point_Grid.py", line 268, in _get_spatial_shifts
    CR = COREG(global_shared_imref, global_shared_im2shift, CPUs=1, **coreg_kwargs)
  File "/home/gfz-fe/scheffler/python/arosics/arosics/CoReg.py", line 330, in __init__
    self._get_clip_window_properties()  # sets self.matchBox, self.otherBox and much more
  File "/home/gfz-fe/scheffler/python/arosics/arosics/CoReg.py", line 820, in _get_clip_window_properties
    assert within_equal(matchBox.mapPoly,
Exception: 
Assignee
Assign to
Time tracking