Test Report

Summary

49
47 passed 2 skipped

Warnings

Warnings 57

  • Pandas4Warning Setting an item of incompatible dtype is deprecated and will raise an error in a future version of pandas. The existing dtype str cannot hold the value being set, so the result has dtype object. Cast the object to object before this operation to retain the current behavior.
    /builds/danschef/arosics/.pixi/envs/dev/lib/python3.13/site-packages/geoarray/metadata.py:84
  • Pandas4Warning Setting an item of incompatible dtype is deprecated and will raise an error in a future version of pandas. The existing dtype str cannot hold the value being set, so the result has dtype object. Cast the object to object before this operation to retain the current behavior.
    /builds/danschef/arosics/.pixi/envs/dev/lib/python3.13/site-packages/geoarray/metadata.py:84
  • PendingDeprecationWarning The set_bad function will be deprecated in a future version. Use cmap.with_extremes(bad=...) or Colormap(bad=...) instead.
    /builds/danschef/arosics/.pixi/envs/dev/lib/python3.13/site-packages/geoarray/baseclasses.py:1271
  • PendingDeprecationWarning The set_over function will be deprecated in a future version. Use cmap.with_extremes(over=...) or Colormap(over=...) instead.
    /builds/danschef/arosics/.pixi/envs/dev/lib/python3.13/site-packages/geoarray/baseclasses.py:1280
  • PendingDeprecationWarning The set_under function will be deprecated in a future version. Use cmap.with_extremes(under=...) or Colormap(under=...) instead.
    /builds/danschef/arosics/.pixi/envs/dev/lib/python3.13/site-packages/geoarray/baseclasses.py:1281
  • PendingDeprecationWarning The set_bad function will be deprecated in a future version. Use cmap.with_extremes(bad=...) or Colormap(bad=...) instead.
    /builds/danschef/arosics/.pixi/envs/dev/lib/python3.13/site-packages/geoarray/baseclasses.py:1271
  • PendingDeprecationWarning The set_over function will be deprecated in a future version. Use cmap.with_extremes(over=...) or Colormap(over=...) instead.
    /builds/danschef/arosics/.pixi/envs/dev/lib/python3.13/site-packages/geoarray/baseclasses.py:1280
  • PendingDeprecationWarning The set_under function will be deprecated in a future version. Use cmap.with_extremes(under=...) or Colormap(under=...) instead.
    /builds/danschef/arosics/.pixi/envs/dev/lib/python3.13/site-packages/geoarray/baseclasses.py:1281
  • PendingDeprecationWarning The set_bad function will be deprecated in a future version. Use cmap.with_extremes(bad=...) or Colormap(bad=...) instead.
    /builds/danschef/arosics/.pixi/envs/dev/lib/python3.13/site-packages/geoarray/baseclasses.py:1271
  • PendingDeprecationWarning The set_over function will be deprecated in a future version. Use cmap.with_extremes(over=...) or Colormap(over=...) instead.
    /builds/danschef/arosics/.pixi/envs/dev/lib/python3.13/site-packages/geoarray/baseclasses.py:1280
  • PendingDeprecationWarning The set_under function will be deprecated in a future version. Use cmap.with_extremes(under=...) or Colormap(under=...) instead.
    /builds/danschef/arosics/.pixi/envs/dev/lib/python3.13/site-packages/geoarray/baseclasses.py:1281
  • PendingDeprecationWarning The set_bad function will be deprecated in a future version. Use cmap.with_extremes(bad=...) or Colormap(bad=...) instead.
    /builds/danschef/arosics/.pixi/envs/dev/lib/python3.13/site-packages/geoarray/baseclasses.py:1271
  • PendingDeprecationWarning The set_over function will be deprecated in a future version. Use cmap.with_extremes(over=...) or Colormap(over=...) instead.
    /builds/danschef/arosics/.pixi/envs/dev/lib/python3.13/site-packages/geoarray/baseclasses.py:1280
  • PendingDeprecationWarning The set_under function will be deprecated in a future version. Use cmap.with_extremes(under=...) or Colormap(under=...) instead.
    /builds/danschef/arosics/.pixi/envs/dev/lib/python3.13/site-packages/geoarray/baseclasses.py:1281
  • PendingDeprecationWarning The set_bad function will be deprecated in a future version. Use cmap.with_extremes(bad=...) or Colormap(bad=...) instead.
    /builds/danschef/arosics/.pixi/envs/dev/lib/python3.13/site-packages/geoarray/baseclasses.py:1271
  • PendingDeprecationWarning The set_over function will be deprecated in a future version. Use cmap.with_extremes(over=...) or Colormap(over=...) instead.
    /builds/danschef/arosics/.pixi/envs/dev/lib/python3.13/site-packages/geoarray/baseclasses.py:1280
  • PendingDeprecationWarning The set_under function will be deprecated in a future version. Use cmap.with_extremes(under=...) or Colormap(under=...) instead.
    /builds/danschef/arosics/.pixi/envs/dev/lib/python3.13/site-packages/geoarray/baseclasses.py:1281
  • PendingDeprecationWarning The set_bad function will be deprecated in a future version. Use cmap.with_extremes(bad=...) or Colormap(bad=...) instead.
    /builds/danschef/arosics/.pixi/envs/dev/lib/python3.13/site-packages/geoarray/baseclasses.py:1271
  • PendingDeprecationWarning The set_over function will be deprecated in a future version. Use cmap.with_extremes(over=...) or Colormap(over=...) instead.
    /builds/danschef/arosics/.pixi/envs/dev/lib/python3.13/site-packages/geoarray/baseclasses.py:1280
  • PendingDeprecationWarning The set_under function will be deprecated in a future version. Use cmap.with_extremes(under=...) or Colormap(under=...) instead.
    /builds/danschef/arosics/.pixi/envs/dev/lib/python3.13/site-packages/geoarray/baseclasses.py:1281
  • DeprecationWarning The 'shapely.ops.transform()' function is deprecated. Use 'shapely.transform()' or 'shapely.transform_coordseq()' instead. See https://shapely.readthedocs.io/en/latest/manual.html#shapely.ops.transform for more details.
    /builds/danschef/arosics/.pixi/envs/dev/lib/python3.13/site-packages/py_tools_ds/geo/coord_trafo.py:326
  • DeprecationWarning The 'shapely.ops.transform()' function is deprecated. Use 'shapely.transform()' or 'shapely.transform_coordseq()' instead. See https://shapely.readthedocs.io/en/latest/manual.html#shapely.ops.transform for more details.
    /builds/danschef/arosics/.pixi/envs/dev/lib/python3.13/site-packages/py_tools_ds/geo/coord_trafo.py:326
  • DeprecationWarning The 'shapely.ops.transform()' function is deprecated. Use 'shapely.transform()' or 'shapely.transform_coordseq()' instead. See https://shapely.readthedocs.io/en/latest/manual.html#shapely.ops.transform for more details.
    /builds/danschef/arosics/.pixi/envs/dev/lib/python3.13/site-packages/py_tools_ds/geo/coord_trafo.py:326
  • DeprecationWarning The 'shapely.ops.transform()' function is deprecated. Use 'shapely.transform()' or 'shapely.transform_coordseq()' instead. See https://shapely.readthedocs.io/en/latest/manual.html#shapely.ops.transform for more details.
    /builds/danschef/arosics/.pixi/envs/dev/lib/python3.13/site-packages/py_tools_ds/geo/coord_trafo.py:326
  • PendingDeprecationWarning The set_bad function will be deprecated in a future version. Use cmap.with_extremes(bad=...) or Colormap(bad=...) instead.
    /builds/danschef/arosics/.pixi/envs/dev/lib/python3.13/site-packages/geoarray/baseclasses.py:1271
  • PendingDeprecationWarning The set_over function will be deprecated in a future version. Use cmap.with_extremes(over=...) or Colormap(over=...) instead.
    /builds/danschef/arosics/.pixi/envs/dev/lib/python3.13/site-packages/geoarray/baseclasses.py:1280
  • PendingDeprecationWarning The set_under function will be deprecated in a future version. Use cmap.with_extremes(under=...) or Colormap(under=...) instead.
    /builds/danschef/arosics/.pixi/envs/dev/lib/python3.13/site-packages/geoarray/baseclasses.py:1281
  • PendingDeprecationWarning The set_bad function will be deprecated in a future version. Use cmap.with_extremes(bad=...) or Colormap(bad=...) instead.
    /builds/danschef/arosics/.pixi/envs/dev/lib/python3.13/site-packages/geoarray/baseclasses.py:1271
  • PendingDeprecationWarning The set_over function will be deprecated in a future version. Use cmap.with_extremes(over=...) or Colormap(over=...) instead.
    /builds/danschef/arosics/.pixi/envs/dev/lib/python3.13/site-packages/geoarray/baseclasses.py:1280
  • PendingDeprecationWarning The set_under function will be deprecated in a future version. Use cmap.with_extremes(under=...) or Colormap(under=...) instead.
    /builds/danschef/arosics/.pixi/envs/dev/lib/python3.13/site-packages/geoarray/baseclasses.py:1281
  • PendingDeprecationWarning The set_bad function will be deprecated in a future version. Use cmap.with_extremes(bad=...) or Colormap(bad=...) instead.
    /builds/danschef/arosics/.pixi/envs/dev/lib/python3.13/site-packages/geoarray/baseclasses.py:1271
  • PendingDeprecationWarning The set_over function will be deprecated in a future version. Use cmap.with_extremes(over=...) or Colormap(over=...) instead.
    /builds/danschef/arosics/.pixi/envs/dev/lib/python3.13/site-packages/geoarray/baseclasses.py:1280
  • PendingDeprecationWarning The set_under function will be deprecated in a future version. Use cmap.with_extremes(under=...) or Colormap(under=...) instead.
    /builds/danschef/arosics/.pixi/envs/dev/lib/python3.13/site-packages/geoarray/baseclasses.py:1281
  • PendingDeprecationWarning The set_bad function will be deprecated in a future version. Use cmap.with_extremes(bad=...) or Colormap(bad=...) instead.
    /builds/danschef/arosics/.pixi/envs/dev/lib/python3.13/site-packages/geoarray/baseclasses.py:1271
  • PendingDeprecationWarning The set_over function will be deprecated in a future version. Use cmap.with_extremes(over=...) or Colormap(over=...) instead.
    /builds/danschef/arosics/.pixi/envs/dev/lib/python3.13/site-packages/geoarray/baseclasses.py:1280
  • PendingDeprecationWarning The set_under function will be deprecated in a future version. Use cmap.with_extremes(under=...) or Colormap(under=...) instead.
    /builds/danschef/arosics/.pixi/envs/dev/lib/python3.13/site-packages/geoarray/baseclasses.py:1281
  • PendingDeprecationWarning The set_bad function will be deprecated in a future version. Use cmap.with_extremes(bad=...) or Colormap(bad=...) instead.
    /builds/danschef/arosics/.pixi/envs/dev/lib/python3.13/site-packages/geoarray/baseclasses.py:1271
  • PendingDeprecationWarning The set_over function will be deprecated in a future version. Use cmap.with_extremes(over=...) or Colormap(over=...) instead.
    /builds/danschef/arosics/.pixi/envs/dev/lib/python3.13/site-packages/geoarray/baseclasses.py:1280
  • PendingDeprecationWarning The set_under function will be deprecated in a future version. Use cmap.with_extremes(under=...) or Colormap(under=...) instead.
    /builds/danschef/arosics/.pixi/envs/dev/lib/python3.13/site-packages/geoarray/baseclasses.py:1281
  • PendingDeprecationWarning The set_bad function will be deprecated in a future version. Use cmap.with_extremes(bad=...) or Colormap(bad=...) instead.
    /builds/danschef/arosics/.pixi/envs/dev/lib/python3.13/site-packages/geoarray/baseclasses.py:1271
  • PendingDeprecationWarning The set_over function will be deprecated in a future version. Use cmap.with_extremes(over=...) or Colormap(over=...) instead.
    /builds/danschef/arosics/.pixi/envs/dev/lib/python3.13/site-packages/geoarray/baseclasses.py:1280
  • PendingDeprecationWarning The set_under function will be deprecated in a future version. Use cmap.with_extremes(under=...) or Colormap(under=...) instead.
    /builds/danschef/arosics/.pixi/envs/dev/lib/python3.13/site-packages/geoarray/baseclasses.py:1281
  • PendingDeprecationWarning The set_bad function will be deprecated in a future version. Use cmap.with_extremes(bad=...) or Colormap(bad=...) instead.
    /builds/danschef/arosics/.pixi/envs/dev/lib/python3.13/site-packages/geoarray/baseclasses.py:1271
  • PendingDeprecationWarning The set_over function will be deprecated in a future version. Use cmap.with_extremes(over=...) or Colormap(over=...) instead.
    /builds/danschef/arosics/.pixi/envs/dev/lib/python3.13/site-packages/geoarray/baseclasses.py:1280
  • PendingDeprecationWarning The set_under function will be deprecated in a future version. Use cmap.with_extremes(under=...) or Colormap(under=...) instead.
    /builds/danschef/arosics/.pixi/envs/dev/lib/python3.13/site-packages/geoarray/baseclasses.py:1281
  • DeprecationWarning The 'shapely.ops.transform()' function is deprecated. Use 'shapely.transform()' or 'shapely.transform_coordseq()' instead. See https://shapely.readthedocs.io/en/latest/manual.html#shapely.ops.transform for more details.
    /builds/danschef/arosics/.pixi/envs/dev/lib/python3.13/site-packages/py_tools_ds/geo/coord_trafo.py:326
  • DeprecationWarning The 'shapely.ops.transform()' function is deprecated. Use 'shapely.transform()' or 'shapely.transform_coordseq()' instead. See https://shapely.readthedocs.io/en/latest/manual.html#shapely.ops.transform for more details.
    /builds/danschef/arosics/.pixi/envs/dev/lib/python3.13/site-packages/py_tools_ds/geo/coord_trafo.py:326
  • DeprecationWarning The 'shapely.ops.transform()' function is deprecated. Use 'shapely.transform()' or 'shapely.transform_coordseq()' instead. See https://shapely.readthedocs.io/en/latest/manual.html#shapely.ops.transform for more details.
    /builds/danschef/arosics/.pixi/envs/dev/lib/python3.13/site-packages/py_tools_ds/geo/coord_trafo.py:326
  • DeprecationWarning The 'shapely.ops.transform()' function is deprecated. Use 'shapely.transform()' or 'shapely.transform_coordseq()' instead. See https://shapely.readthedocs.io/en/latest/manual.html#shapely.ops.transform for more details.
    /builds/danschef/arosics/.pixi/envs/dev/lib/python3.13/site-packages/py_tools_ds/geo/coord_trafo.py:326
  • PendingDeprecationWarning The set_bad function will be deprecated in a future version. Use cmap.with_extremes(bad=...) or Colormap(bad=...) instead.
    /builds/danschef/arosics/.pixi/envs/dev/lib/python3.13/site-packages/geoarray/baseclasses.py:1271
  • PendingDeprecationWarning The set_over function will be deprecated in a future version. Use cmap.with_extremes(over=...) or Colormap(over=...) instead.
    /builds/danschef/arosics/.pixi/envs/dev/lib/python3.13/site-packages/geoarray/baseclasses.py:1280
  • PendingDeprecationWarning The set_under function will be deprecated in a future version. Use cmap.with_extremes(under=...) or Colormap(under=...) instead.
    /builds/danschef/arosics/.pixi/envs/dev/lib/python3.13/site-packages/geoarray/baseclasses.py:1281
  • DeprecationWarning The 'shapely.ops.transform()' function is deprecated. Use 'shapely.transform()' or 'shapely.transform_coordseq()' instead. See https://shapely.readthedocs.io/en/latest/manual.html#shapely.ops.transform for more details.
    /builds/danschef/arosics/.pixi/envs/dev/lib/python3.13/site-packages/py_tools_ds/geo/coord_trafo.py:326
  • Pandas4Warning 'future.no_silent_downcasting' is deprecated, please refrain from using it.
    /builds/danschef/arosics/arosics/Tie_Point_Grid.py:860
  • Pandas4Warning 'future.no_silent_downcasting' is deprecated, please refrain from using it.
    /builds/danschef/arosics/arosics/Tie_Point_Grid.py:860
  • Pandas4Warning 'future.no_silent_downcasting' is deprecated, please refrain from using it.
    /builds/danschef/arosics/arosics/Tie_Point_Grid.py:860
  • Pandas4Warning 'future.no_silent_downcasting' is deprecated, please refrain from using it.
    /builds/danschef/arosics/arosics/Tie_Point_Grid.py:860

Tests

tests/test_COREG.py 222 0:00:20.536499

PASSED COREG_GLOBAL_init::test_coreg_init_from_disk 0:00:00.242669

Setup

Call

Captured stdout call
Bounding box of calculated footprint for reference image:
	(331320.0, 5830000.0, 354000.0, 5862000.0)
Bounding box of calculated footprint for image to be shifted:
	(335440.0, 5834970.0, 356180.0, 5866490.0)
Matching window position (X,Y): 344720/5848485

Teardown

PASSED COREG_GLOBAL_init::test_coreg_init_from_inMem_GeoArray 0:00:00.207959

Setup

Call

Captured stdout call
Bounding box of calculated footprint for reference image:
	(331320.0, 5830000.0, 354000.0, 5862000.0)
Bounding box of calculated footprint for image to be shifted:
	(335440.0, 5834970.0, 356180.0, 5866490.0)
Matching window position (X,Y): 344720/5848485

Teardown

PASSED COREG_GLOBAL_init::test_empty_image 0:00:00.179094

Setup

Call

Teardown

PASSED COREG_GLOBAL_init::test_init_warnings 0:00:00.211589

Setup

Call

Captured stdout call
Bounding box of calculated footprint for reference image:
	(331320.0, 5830000.0, 354000.0, 5862000.0)
Bounding box of calculated footprint for image to be shifted:
	(335440.0, 5834970.0, 356180.0, 5866490.0)
Matching window position (X,Y): 344720/5848485

Teardown

PASSED CompleteWorkflow_INTER1_S2A_S2A::test_correct_shifts_gdal_creation_options 0:00:02.425309

Test if the out_crea_options parameter works.

Setup

Call

Captured stdout call
Bounding box of calculated footprint for reference image:
	(331320.0, 5830000.0, 354000.0, 5862000.0)
Bounding box of calculated footprint for image to be shifted:
	(335440.0, 5834970.0, 356180.0, 5866490.0)
Matching window position (X,Y): 344720/5848485
Detected integer shifts (X/Y):                            -1/2
Detected subpixel shifts (X/Y):                           0.40457239747047424/-0.23333793878555298
Calculated total shifts in fft pixel units (X/Y):         -0.5954276025295258/1.766662061214447
Calculated total shifts in reference pixel units (X/Y):   -0.5954276025295258/1.766662061214447
Calculated total shifts in target pixel units (X/Y):      -0.5954276025295258/1.766662061214447
Calculated map shifts (X,Y):                              -5.954276025295258/-17.66662061214447
Calculated absolute shift vector length in map units:     18.643038562392498
Calculated angle of shift vector in degrees from North:   18.62563633837978
Original map info: ['UTM', 1.0, 1.0, 335440.0, 5866490.0, 10.0, 10.0, 33, 'North', 'WGS-84']
Updated map info:  ['UTM', 1.0, 1.0, '335434.0457239747', '5866472.333379388', 10.0, 10.0, 33, 'North', 'WGS-84']
Image similarity within the matching window (SSIM before/after correction): 0.4548 => 0.6928
Estimated reliability of the calculated shifts:  84.1%
Correcting geometric shifts...
NOTE: The detected shift is corrected by updating the map info of the target image only, i.e., without any resampling. Set the 'align_grids' parameter to True if you need the target and the reference coordinate grids to be aligned.
Writing GeoArray of size (3152, 2074) to /builds/danschef/arosics/tests/output/testcase_inter1_S2A_S2A/tgt_S2A_20160529T153631_T33UUU_sub_CR_global.bsq.
Bounding box of calculated footprint for reference image:
	(331320.0, 5830000.0, 354000.0, 5862000.0)
Bounding box of calculated footprint for image to be shifted:
	(335440.0, 5834970.0, 356180.0, 5866490.0)
Matching window position (X,Y): 344720/5848485
Detected integer shifts (X/Y):                            -1/2
Detected subpixel shifts (X/Y):                           0.40457239747047424/-0.23333793878555298
Calculated total shifts in fft pixel units (X/Y):         -0.5954276025295258/1.766662061214447
Calculated total shifts in reference pixel units (X/Y):   -0.5954276025295258/1.766662061214447
Calculated total shifts in target pixel units (X/Y):      -0.5954276025295258/1.766662061214447
Calculated map shifts (X,Y):                              -5.954276025295258/-17.66662061214447
Calculated absolute shift vector length in map units:     18.643038562392498
Calculated angle of shift vector in degrees from North:   18.62563633837978
Original map info: ['UTM', 1.0, 1.0, 335440.0, 5866490.0, 10.0, 10.0, 33, 'North', 'WGS-84']
Updated map info:  ['UTM', 1.0, 1.0, '335434.0457239747', '5866472.333379388', 10.0, 10.0, 33, 'North', 'WGS-84']
Image similarity within the matching window (SSIM before/after correction): 0.4548 => 0.6928
Estimated reliability of the calculated shifts:  84.1%
Correcting geometric shifts...
Writing GeoArray of size (3152, 2074) to /builds/danschef/arosics/tests/output/testcase_inter1_S2A_S2A/tgt_S2A_20160529T153631_T33UUU_sub_CR_global.bsq.
Captured stderr call
Warning 5: tgt_S2A_20160529T153631_T33UUU_sub_CR_global.bsq: BLOCKXSIZE can only be used with TILED=YES
Warning 5: tgt_S2A_20160529T153631_T33UUU_sub_CR_global.bsq: BLOCKXSIZE can only be used with TILED=YES

Teardown

PASSED CompleteWorkflow_INTER1_S2A_S2A::test_correct_shifts_with_resampling 0:00:00.480900

Setup

Call

Captured stdout call
Bounding box of calculated footprint for reference image:
	(331320.0, 5830000.0, 354000.0, 5862000.0)
Bounding box of calculated footprint for image to be shifted:
	(335440.0, 5834970.0, 356180.0, 5866490.0)
Matching window position (X,Y): 344720/5848485
Detected integer shifts (X/Y):                            -1/2
Detected subpixel shifts (X/Y):                           0.40457239747047424/-0.23333793878555298
Calculated total shifts in fft pixel units (X/Y):         -0.5954276025295258/1.766662061214447
Calculated total shifts in reference pixel units (X/Y):   -0.5954276025295258/1.766662061214447
Calculated total shifts in target pixel units (X/Y):      -0.5954276025295258/1.766662061214447
Calculated map shifts (X,Y):                              -5.954276025295258/-17.66662061214447
Calculated absolute shift vector length in map units:     18.643038562392498
Calculated angle of shift vector in degrees from North:   18.62563633837978
Original map info: ['UTM', 1.0, 1.0, 335440.0, 5866490.0, 10.0, 10.0, 33, 'North', 'WGS-84']
Updated map info:  ['UTM', 1.0, 1.0, '335434.0457239747', '5866472.333379388', 10.0, 10.0, 33, 'North', 'WGS-84']
Image similarity within the matching window (SSIM before/after correction): 0.4548 => 0.6928
Estimated reliability of the calculated shifts:  84.1%
Correcting geometric shifts...
Writing GeoArray of size (3152, 2074) to /builds/danschef/arosics/tests/output/testcase_inter1_S2A_S2A/tgt_S2A_20160529T153631_T33UUU_sub_CR_global.bsq.
Captured stderr call

Warping progress     |--------------------------------------------------| 0.0% Complete  => 0:00:00
Warping progress     |--------------------------------------------------| 0.0% Complete  => 0:00:00
Warping progress     |==================--------------------------------| 36.4% Complete  => 0:00:00
Warping progress     |===================-------------------------------| 37.0% Complete  => 0:00:00
Warping progress     |===================-------------------------------| 38.0% Complete  => 0:00:00
Warping progress     |=========================-------------------------| 49.9% Complete  => 0:00:00
Warping progress     |=========================-------------------------| 50.0% Complete  => 0:00:00
Warping progress     |==========================------------------------| 51.0% Complete  => 0:00:00
Warping progress     |==========================------------------------| 52.0% Complete  => 0:00:00
Warping progress     |===========================-----------------------| 53.0% Complete  => 0:00:00
Warping progress     |===========================-----------------------| 54.0% Complete  => 0:00:00
Warping progress     |============================----------------------| 55.0% Complete  => 0:00:00
Warping progress     |============================----------------------| 56.0% Complete  => 0:00:00
Warping progress     |=============================---------------------| 57.0% Complete  => 0:00:00
Warping progress     |=============================---------------------| 58.0% Complete  => 0:00:00
Warping progress     |==============================--------------------| 59.0% Complete  => 0:00:00
Warping progress     |==============================--------------------| 60.0% Complete  => 0:00:00
Warping progress     |===============================-------------------| 61.0% Complete  => 0:00:00
Warping progress     |===============================-------------------| 62.1% Complete  => 0:00:00
Warping progress     |================================------------------| 63.0% Complete  => 0:00:00
Warping progress     |================================------------------| 64.0% Complete  => 0:00:00
Warping progress     |=================================-----------------| 65.0% Complete  => 0:00:00
Warping progress     |=================================-----------------| 66.0% Complete  => 0:00:00
Warping progress     |==================================----------------| 67.0% Complete  => 0:00:00
Warping progress     |==================================----------------| 68.0% Complete  => 0:00:00
Warping progress     |===================================---------------| 69.0% Complete  => 0:00:00
Warping progress     |===================================---------------| 70.1% Complete  => 0:00:00
Warping progress     |====================================--------------| 71.0% Complete  => 0:00:00
Warping progress     |====================================--------------| 72.0% Complete  => 0:00:00
Warping progress     |=====================================-------------| 73.0% Complete  => 0:00:00
Warping progress     |=====================================-------------| 74.0% Complete  => 0:00:00
Warping progress     |======================================------------| 75.0% Complete  => 0:00:00
Warping progress     |======================================------------| 76.0% Complete  => 0:00:00
Warping progress     |=======================================-----------| 77.0% Complete  => 0:00:00
Warping progress     |=======================================-----------| 78.0% Complete  => 0:00:00
Warping progress     |========================================----------| 79.0% Complete  => 0:00:00
Warping progress     |========================================----------| 80.0% Complete  => 0:00:00
Warping progress     |=========================================---------| 81.1% Complete  => 0:00:00
Warping progress     |=========================================---------| 82.0% Complete  => 0:00:00
Warping progress     |==========================================--------| 83.0% Complete  => 0:00:00
Warping progress     |==========================================--------| 84.0% Complete  => 0:00:00
Warping progress     |===========================================-------| 85.0% Complete  => 0:00:00
Warping progress     |===========================================-------| 86.0% Complete  => 0:00:00
Warping progress     |============================================------| 87.0% Complete  => 0:00:00
Warping progress     |============================================------| 88.0% Complete  => 0:00:00
Warping progress     |=============================================-----| 89.0% Complete  => 0:00:00
Warping progress     |=============================================-----| 90.0% Complete  => 0:00:00
Warping progress     |==============================================----| 91.0% Complete  => 0:00:00
Warping progress     |==============================================----| 92.0% Complete  => 0:00:00
Warping progress     |===============================================---| 93.0% Complete  => 0:00:00
Warping progress     |===============================================---| 94.0% Complete  => 0:00:00
Warping progress     |================================================--| 95.0% Complete  => 0:00:00
Warping progress     |================================================--| 96.0% Complete  => 0:00:00
Warping progress     |=================================================-| 97.0% Complete  => 0:00:00
Warping progress     |=================================================-| 98.0% Complete  => 0:00:00
Warping progress     |==================================================| 99.0% Complete  => 0:00:00
Warping progress     |==================================================| 100.0% Complete  => 0:00:00

Teardown

PASSED CompleteWorkflow_INTER1_S2A_S2A::test_correct_shifts_without_resampling 0:00:00.316822

Setup

Call

Captured stdout call
Bounding box of calculated footprint for reference image:
	(331320.0, 5830000.0, 354000.0, 5862000.0)
Bounding box of calculated footprint for image to be shifted:
	(335440.0, 5834970.0, 356180.0, 5866490.0)
Matching window position (X,Y): 344720/5848485
Detected integer shifts (X/Y):                            -1/2
Detected subpixel shifts (X/Y):                           0.40457239747047424/-0.23333793878555298
Calculated total shifts in fft pixel units (X/Y):         -0.5954276025295258/1.766662061214447
Calculated total shifts in reference pixel units (X/Y):   -0.5954276025295258/1.766662061214447
Calculated total shifts in target pixel units (X/Y):      -0.5954276025295258/1.766662061214447
Calculated map shifts (X,Y):                              -5.954276025295258/-17.66662061214447
Calculated absolute shift vector length in map units:     18.643038562392498
Calculated angle of shift vector in degrees from North:   18.62563633837978
Original map info: ['UTM', 1.0, 1.0, 335440.0, 5866490.0, 10.0, 10.0, 33, 'North', 'WGS-84']
Updated map info:  ['UTM', 1.0, 1.0, '335434.0457239747', '5866472.333379388', 10.0, 10.0, 33, 'North', 'WGS-84']
Image similarity within the matching window (SSIM before/after correction): 0.4548 => 0.6928
Estimated reliability of the calculated shifts:  84.1%
Correcting geometric shifts...
NOTE: The detected shift is corrected by updating the map info of the target image only, i.e., without any resampling. Set the 'align_grids' parameter to True if you need the target and the reference coordinate grids to be aligned.
Writing GeoArray of size (3152, 2074) to /builds/danschef/arosics/tests/output/testcase_inter1_S2A_S2A/tgt_S2A_20160529T153631_T33UUU_sub_CR_global.bsq.

Teardown

PASSED CompleteWorkflow_INTER1_S2A_S2A::test_plotting_after_shift_calculation 0:00:01.581576

Test plotting functionality.

Setup

Call

Captured stdout call
Bounding box of calculated footprint for reference image:
	(331320.0, 5830000.0, 354000.0, 5862000.0)
Bounding box of calculated footprint for image to be shifted:
	(335440.0, 5834970.0, 356180.0, 5866490.0)
Matching window position (X,Y): 344720/5848485
Detected integer shifts (X/Y):                            -1/2
Detected subpixel shifts (X/Y):                           0.40457239747047424/-0.23333793878555298
Calculated total shifts in fft pixel units (X/Y):         -0.5954276025295258/1.766662061214447
Calculated total shifts in reference pixel units (X/Y):   -0.5954276025295258/1.766662061214447
Calculated total shifts in target pixel units (X/Y):      -0.5954276025295258/1.766662061214447
Calculated map shifts (X,Y):                              -5.954276025295258/-17.66662061214447
Calculated absolute shift vector length in map units:     18.643038562392498
Calculated angle of shift vector in degrees from North:   18.62563633837978
Original map info: ['UTM', 1.0, 1.0, 335440.0, 5866490.0, 10.0, 10.0, 33, 'North', 'WGS-84']
Updated map info:  ['UTM', 1.0, 1.0, '335434.0457239747', '5866472.333379388', 10.0, 10.0, 33, 'North', 'WGS-84']
Image similarity within the matching window (SSIM before/after correction): 0.4548 => 0.6928
Estimated reliability of the calculated shifts:  84.1%
Correcting geometric shifts...
NOTE: The detected shift is corrected by updating the map info of the target image only, i.e., without any resampling. Set the 'align_grids' parameter to True if you need the target and the reference coordinate grids to be aligned.
Writing GeoArray of size (3152, 2074) to /builds/danschef/arosics/tests/output/testcase_inter1_S2A_S2A/tgt_S2A_20160529T153631_T33UUU_sub_CR_global.bsq.

Teardown

SKIPPED CompleteWorkflow_INTER1_S2A_S2A::test_shift_calculation_SSIMdecreases 0:00:00.001308

Skipped: Not yet implemented.

Setup

Call

('/builds/danschef/arosics/tests/test_COREG.py', 333, 'Skipped: Not yet implemented.')

Teardown

SKIPPED CompleteWorkflow_INTER1_S2A_S2A::test_shift_calculation_differentInputGrids 0:00:00.000950

Skipped: Not yet implemented.

Setup

Call

('/builds/danschef/arosics/tests/test_COREG.py', 329, 'Skipped: Not yet implemented.')

Teardown

PASSED CompleteWorkflow_INTER1_S2A_S2A::test_shift_calculation_different_geographic_datum 0:00:00.237592

Test if a RunTimeError is raised in case of a different geographic datum.

Setup

Call

Captured stdout call
Bounding box of calculated footprint for reference image:
	(331320.0, 5830000.0, 354000.0, 5862000.0)
Bounding box of calculated footprint for image to be shifted:
	(335440.0, 5834970.0, 356180.0, 5866490.0)

Teardown

PASSED CompleteWorkflow_INTER1_S2A_S2A::test_shift_calculation_inmem_gAs_path_out_auto 0:00:00.025756

Test input parameter path_out='auto' in case input reference/ target image are in-memory GeoArrays.

Setup

Call

Captured stdout call
Bounding box of calculated footprint for reference image:
	(331320.0, 5830000.0, 354000.0, 5862000.0)
Bounding box of calculated footprint for image to be shifted:
	(335440.0, 5834970.0, 356180.0, 5866490.0)

Teardown

PASSED CompleteWorkflow_INTER1_S2A_S2A::test_shift_calculation_noWGS84 0:00:00.692925

Test if a RunTimeError is raised in case the input projection datum is not WGS84.

Setup

Call

Captured stdout call
Bounding box of calculated footprint for reference image:
	(331320.0, 5830000.0, 354000.0, 5862000.0)
Bounding box of calculated footprint for image to be shifted:
	(335440.0, 5834970.0, 356180.0, 5866490.0)
Matching window position (X,Y): 344720/5848485
Detected integer shifts (X/Y):                            -1/2
Detected subpixel shifts (X/Y):                           0.40457239747047424/-0.23333793878555298
Calculated total shifts in fft pixel units (X/Y):         -0.5954276025295258/1.766662061214447
Calculated total shifts in reference pixel units (X/Y):   -0.5954276025295258/1.766662061214447
Calculated total shifts in target pixel units (X/Y):      -0.5954276025295258/1.766662061214447
Calculated map shifts (X,Y):                              -5.954276025295258/-17.66662061214447
Calculated absolute shift vector length in map units:     18.643038562392498
Calculated angle of shift vector in degrees from North:   18.62563633837978
Original map info: ['Lambert Azimuthal Equal Area', 1.0, 1.0, 335440.0, 5866490.0, 10.0, 10.0]
Updated map info:  ['Lambert Azimuthal Equal Area', 1.0, 1.0, '335434.0457239747', '5866472.333379388', 10.0, 10.0]
Image similarity within the matching window (SSIM before/after correction): 0.4548 => 0.6928
Estimated reliability of the calculated shifts:  84.1%
Correcting geometric shifts...
NOTE: The detected shift is corrected by updating the map info of the target image only, i.e., without any resampling. Set the 'align_grids' parameter to True if you need the target and the reference coordinate grids to be aligned.
Writing GeoArray of size (3152, 2074) to /builds/danschef/arosics/tests/output/testcase_inter1_S2A_S2A/tgt_S2A_20160529T153631_T33UUU_sub_CR_global.bsq.

Teardown

PASSED CompleteWorkflow_INTER1_S2A_S2A::test_shift_calculation_nonquadratic_pixels 0:00:01.333220

Test with default parameters - should compute X/Y shifts properly and write the de-shifted target image.

Setup

Call

Captured stdout call
Calculating footprint polygon and actual data corner coordinates for reference image...
Bounding box of calculated footprint for reference image:
	(330777.90240001003, 5829680.0000001, 344143.68000001, 5862000.0000001)
Calculating footprint polygon and actual data corner coordinates for image to be shifted...
Bounding box of calculated footprint for image to be shifted:
	(335440.0000001, 5834654.800000099, 347662.7042001, 5866490.0000001)
Matching window position (X,Y): 341500.0/5861440.0
Target window size (256, 256) not possible due to too small overlap area or window position too close to an image edge. New matching window size: (254, 181).
Detected integer shifts (X/Y):                            -2/0
Detected subpixel shifts (X/Y):                           0.2792433202266693/-0.34883368015289307
Calculated total shifts in fft pixel units (X/Y):         -1.7207566797733307/-0.34883368015289307
Calculated total shifts in reference pixel units (X/Y):   -1.7207566797733307/-0.34883368015289307
Calculated total shifts in target pixel units (X/Y):      -1.7207566797733307/-0.34883368015289307
Calculated map shifts (X,Y):                              -10.140935340896249/3.5232201693579555
Calculated absolute shift vector length in map units:     10.735532122350024
Calculated angle of shift vector in degrees from North:   101.45976461074144
Original map info: ['UTM', 1.0, 1.0, 335440.0000001, 5866490.0000001, 5.8933, 10.1, 33, 'North', 'WGS-84']
Updated map info:  ['UTM', 1.0, 1.0, '335429.8590647591', '5866493.523220269', 5.8933, 10.1, 33, 'North', 'WGS-84']
Image similarity within the matching window (SSIM before/after correction): 0.2487 => 0.2489
Estimated reliability of the calculated shifts:  38.0%
Correcting geometric shifts...
Writing GeoArray of size (3151, 2073) to /builds/danschef/arosics/tests/output/testcase_inter1_S2A_S2A/tgt_S2A_20160529T153631_T33UUU_sub_CR_global.bsq.

Teardown

PASSED CompleteWorkflow_INTER1_S2A_S2A::test_shift_calculation_verboseMode 0:00:02.874223

Test the verbose mode - runs the functions of the plotting submodule.

Setup

Call

Captured stdout call
Bounding box of calculated footprint for reference image:
	(331320.0, 5830000.0, 354000.0, 5862000.0)
Bounding box of calculated footprint for image to be shifted:
	(335440.0, 5834970.0, 356180.0, 5866490.0)
resolutions:  10.0 10.0
77.35 percent of the image to be shifted is covered by the reference image.
Writing /tmp/tmps1ro4_pg/poly_imref.shp ...
Writing /tmp/tmps1ro4_pg/poly_im2shift.shp ...
Writing /tmp/tmps1ro4_pg/overlap_poly.shp ...
Matching window position (X,Y): 344720/5848485
Writing /tmp/tmps1ro4_pg/poly_matchWin.shp ...
Original matching windows:
Matching windows with equalized spatial resolution:
xgsd_factor 1.0
ygsd_factor 1.0
imfft_xgsd_mapvalues 10.0
imfft_ygsd_mapvalues 10.0
final window size: 256/256 (X/Y)
forward FFT: 0.17s
backward FFT: 0.17s
final window size: 128/128 (X/Y)
forward FFT: 0.18s
backward FFT: 0.18s
Horizontal side maximum found right. Value: 0.2407110333442688
Vertical side maximum found above. Value: 0.10782267898321152
Detected integer shifts (X/Y):                            -1/2
Detected subpixel shifts (X/Y):                           0.40457239747047424/-0.23333793878555298
Calculated total shifts in fft pixel units (X/Y):         -0.5954276025295258/1.766662061214447
Calculated total shifts in reference pixel units (X/Y):   -0.5954276025295258/1.766662061214447
Calculated total shifts in target pixel units (X/Y):      -0.5954276025295258/1.766662061214447
Calculated map shifts (X,Y):                              -5.954276025295258/-17.66662061214447
Calculated absolute shift vector length in map units:     18.643038562392498
Calculated angle of shift vector in degrees from North:   18.62563633837978
Original map info: ['UTM', 1.0, 1.0, 335440.0, 5866490.0, 10.0, 10.0, 33, 'North', 'WGS-84']
Updated map info:  ['UTM', 1.0, 1.0, '335434.0457239747', '5866472.333379388', 10.0, 10.0, 33, 'North', 'WGS-84']
Image similarity within the matching window (SSIM before/after correction): 0.4548 => 0.6928
Estimated reliability of the calculated shifts:  84.1%
Correcting geometric shifts...
NOTE: The detected shift is corrected by updating the map info of the target image only, i.e., without any resampling. Set the 'align_grids' parameter to True if you need the target and the reference coordinate grids to be aligned.
Writing GeoArray of size (3152, 2074) to /builds/danschef/arosics/tests/output/testcase_inter1_S2A_S2A/tgt_S2A_20160529T153631_T33UUU_sub_CR_global.bsq.
Time for shift correction: 0.04s

Teardown

PASSED CompleteWorkflow_INTER1_S2A_S2A::test_shift_calculation_windowAtClouds 0:00:00.207976

Test if shift computation raises a RunTimeError if the matching window is centered at a cloudy position.

Setup

Call

Captured stdout call
Bounding box of calculated footprint for reference image:
	(331320.0, 5830000.0, 354000.0, 5862000.0)
Bounding box of calculated footprint for image to be shifted:
	(335440.0, 5834970.0, 356180.0, 5866490.0)
Matching window position (X,Y): 353308/5859404
Target window size (256, 256) not possible due to too small overlap area or window position too close to an image edge. New matching window size: (198, 256).

Teardown

PASSED CompleteWorkflow_INTER1_S2A_S2A::test_shift_calculation_windowAtImageEdge 0:00:00.306488

Test shift detection if the matching window is close to an image edge without covering nodata pixels.

Detected subpixel shifts (X/Y): 0.34361492307/-0.320197995758 Calculated map shifts (X,Y): -6.56385076931/-16.7980200425

Setup

Call

Captured stdout call
Bounding box of calculated footprint for reference image:
	(331320.0, 5830000.0, 354000.0, 5862000.0)
Bounding box of calculated footprint for image to be shifted:
	(335440.0, 5834970.0, 356180.0, 5866490.0)
Matching window position (X,Y): 353810/5840516
Target window size (256, 256) not possible due to too small overlap area or window position too close to an image edge. New matching window size: (147, 256).
Detected integer shifts (X/Y):                            -1/2
Detected subpixel shifts (X/Y):                           0.3436148464679718/-0.3201979398727417
Calculated total shifts in fft pixel units (X/Y):         -0.6563851535320282/1.6798020601272583
Calculated total shifts in reference pixel units (X/Y):   -0.6563851535320282/1.6798020601272583
Calculated total shifts in target pixel units (X/Y):      -0.6563851535320282/1.6798020601272583
Calculated map shifts (X,Y):                              -6.563851535320282/-16.798020601272583
Calculated absolute shift vector length in map units:     18.03490069555429
Calculated angle of shift vector in degrees from North:   21.3431467806318
Original map info: ['UTM', 1.0, 1.0, 335440.0, 5866490.0, 10.0, 10.0, 33, 'North', 'WGS-84']
Updated map info:  ['UTM', 1.0, 1.0, '335433.4361484647', '5866473.201979399', 10.0, 10.0, 33, 'North', 'WGS-84']
Image similarity within the matching window (SSIM before/after correction): 0.4827 => 0.7533
Estimated reliability of the calculated shifts:  86.2%
Correcting geometric shifts...
NOTE: The detected shift is corrected by updating the map info of the target image only, i.e., without any resampling. Set the 'align_grids' parameter to True if you need the target and the reference coordinate grids to be aligned.
Writing GeoArray of size (3152, 2074) to /builds/danschef/arosics/tests/output/testcase_inter1_S2A_S2A/tgt_S2A_20160529T153631_T33UUU_sub_CR_global.bsq.

Teardown

PASSED CompleteWorkflow_INTER1_S2A_S2A::test_shift_calculation_windowCoveringNodata 0:00:00.292211

Test shift detection if the matching window (defined by 'wp' and 'ws') covers the nodata area.

Detected subpixel shifts (X/Y): 0.280572488796/-0.11016529071 Calculated map shifts (X,Y): -7.19427511207/-18.8983470928

Setup

Call

Captured stdout call
Bounding box of calculated footprint for reference image:
	(331320.0, 5830000.0, 354000.0, 5862000.0)
Bounding box of calculated footprint for image to be shifted:
	(335440.0, 5834970.0, 356180.0, 5866490.0)
Matching window position (X,Y): 339611/5856426
Target window size (256, 256) not possible due to too small overlap area or window position too close to an image edge. New matching window size: (60, 60).
Detected integer shifts (X/Y):                            -1/2
Detected subpixel shifts (X/Y):                           0.2805725038051605/-0.11016529053449631
Calculated total shifts in fft pixel units (X/Y):         -0.7194274961948395/1.8898347094655037
Calculated total shifts in reference pixel units (X/Y):   -0.7194274961948395/1.8898347094655037
Calculated total shifts in target pixel units (X/Y):      -0.7194274961948395/1.8898347094655037
Calculated map shifts (X,Y):                              -7.194274961948395/-18.898347094655037
Calculated absolute shift vector length in map units:     20.221402402854608
Calculated angle of shift vector in degrees from North:   20.84096655227676
Original map info: ['UTM', 1.0, 1.0, 335440.0, 5866490.0, 10.0, 10.0, 33, 'North', 'WGS-84']
Updated map info:  ['UTM', 1.0, 1.0, '335432.80572503805', '5866471.101652905', 10.0, 10.0, 33, 'North', 'WGS-84']
Image similarity within the matching window (SSIM before/after correction): 0.2781 => 0.6127
Estimated reliability of the calculated shifts:  46.2%
Correcting geometric shifts...
NOTE: The detected shift is corrected by updating the map info of the target image only, i.e., without any resampling. Set the 'align_grids' parameter to True if you need the target and the reference coordinate grids to be aligned.
Writing GeoArray of size (3152, 2074) to /builds/danschef/arosics/tests/output/testcase_inter1_S2A_S2A/tgt_S2A_20160529T153631_T33UUU_sub_CR_global.bsq.

Teardown

PASSED CompleteWorkflow_INTER1_S2A_S2A::test_shift_calculation_windowOutside 0:00:00.200793

Test if shift computation raises a ValueError if the given window position is outside the image overlap.

Setup

Call

Captured stdout call
Bounding box of calculated footprint for reference image:
	(331320.0, 5830000.0, 354000.0, 5862000.0)
Bounding box of calculated footprint for image to be shifted:
	(335440.0, 5834970.0, 356180.0, 5866490.0)

Teardown

PASSED CompleteWorkflow_INTER1_S2A_S2A::test_shift_calculation_with_default_params 0:00:01.224162

Test with default parameters - should compute X/Y shifts properly and write the de-shifted target image.

Setup

Call

Captured stdout call
Calculating footprint polygon and actual data corner coordinates for reference image...
Bounding box of calculated footprint for reference image:
	(331320.0, 5830000.0, 354000.0, 5862000.0)
Calculating footprint polygon and actual data corner coordinates for image to be shifted...
Bounding box of calculated footprint for image to be shifted:
	(335440.0, 5834970.0, 356180.0, 5866490.0)
Matching window position (X,Y): 344720/5848485
Detected integer shifts (X/Y):                            -1/2
Detected subpixel shifts (X/Y):                           0.40457239747047424/-0.23333793878555298
Calculated total shifts in fft pixel units (X/Y):         -0.5954276025295258/1.766662061214447
Calculated total shifts in reference pixel units (X/Y):   -0.5954276025295258/1.766662061214447
Calculated total shifts in target pixel units (X/Y):      -0.5954276025295258/1.766662061214447
Calculated map shifts (X,Y):                              -5.954276025295258/-17.66662061214447
Calculated absolute shift vector length in map units:     18.643038562392498
Calculated angle of shift vector in degrees from North:   18.62563633837978
Original map info: ['UTM', 1.0, 1.0, 335440.0, 5866490.0, 10.0, 10.0, 33, 'North', 'WGS-84']
Updated map info:  ['UTM', 1.0, 1.0, '335434.0457239747', '5866472.333379388', 10.0, 10.0, 33, 'North', 'WGS-84']
Image similarity within the matching window (SSIM before/after correction): 0.4548 => 0.6928
Estimated reliability of the calculated shifts:  84.1%
Correcting geometric shifts...
NOTE: The detected shift is corrected by updating the map info of the target image only, i.e., without any resampling. Set the 'align_grids' parameter to True if you need the target and the reference coordinate grids to be aligned.
Writing GeoArray of size (3152, 2074) to /builds/danschef/arosics/tests/output/testcase_inter1_S2A_S2A/tgt_S2A_20160529T153631_T33UUU_sub_CR_global.bsq.

Teardown

PASSED CompleteWorkflow_INTER1_S2A_S2A::test_shift_calculation_with_float_coords 0:00:02.360626

Test with default parameters - should compute X/Y shifts properly and write the de-shifted target image.

Setup

Call

Captured stdout call
Calculating footprint polygon and actual data corner coordinates for reference image...
Bounding box of calculated footprint for reference image:
	(331333.20000001, 5829680.0000001, 354240.00000001, 5862000.0000001)
Calculating footprint polygon and actual data corner coordinates for image to be shifted...
Bounding box of calculated footprint for image to be shifted:
	(335440.0000001, 5834654.800000099, 356387.4000001, 5866490.0000001)
Matching window position (X,Y): 341500.0/5861440.0
Target window size (256, 256) not possible due to too small overlap area or window position too close to an image edge. New matching window size: (102, 104).
Detected integer shifts (X/Y):                            4/-2
Detected subpixel shifts (X/Y):                           0.41538771986961365/-0.3069099485874176
Calculated total shifts in fft pixel units (X/Y):         4.415387719869614/-2.3069099485874176
Calculated total shifts in reference pixel units (X/Y):   4.415387719869614/-2.3069099485874176
Calculated total shifts in target pixel units (X/Y):      4.415387719869614/-2.3069099485874176
Calculated map shifts (X,Y):                              44.595415970659815/23.299790481105447
Calculated absolute shift vector length in map units:     50.315319357623004
Calculated angle of shift vector in degrees from North:   242.41425887152621
Original map info: ['UTM', 1.0, 1.0, 335440.0000001, 5866490.0000001, 10.1, 10.1, 33, 'North', 'WGS-84']
Updated map info:  ['UTM', 1.0, 1.0, '335484.59541607066', '5866513.299790581', 10.1, 10.1, 33, 'North', 'WGS-84']
Image similarity within the matching window (SSIM before/after correction): 0.2290 => 0.7789
Estimated reliability of the calculated shifts:  82.9%
Correcting geometric shifts...
Writing GeoArray of size (3151, 2073) to /builds/danschef/arosics/tests/output/testcase_inter1_S2A_S2A/tgt_S2A_20160529T153631_T33UUU_sub_CR_global.bsq.

Teardown

PASSED CompleteWorkflow_INTER1_S2A_S2A::test_shift_calculation_with_image_coords_only 0:00:02.502204

Test with default parameters - should compute X/Y shifts properly and write the de-shifted target image.

Setup

Call

Captured stdout call
Calculating footprint polygon and actual data corner coordinates for reference image...
Bounding box of calculated footprint for reference image:
	(132.0, -3200.0, 2400.0, 0.0)
Calculating footprint polygon and actual data corner coordinates for image to be shifted...
Bounding box of calculated footprint for image to be shifted:
	(0.0, -3152.0, 2074.0, 0.0)
Matching window position (X,Y): 1200/-1600
No clear match found yet. Jumping to iteration 2...
input shifts:  0 -11
No clear match found yet. Jumping to iteration 3...
input shifts:  0 35
No clear match found yet. Jumping to iteration 4...
input shifts:  0 34
Detected integer shifts (X/Y):                            0/0
Detected subpixel shifts (X/Y):                           -0.18604852259159088/0.12260753661394119
Calculated total shifts in fft pixel units (X/Y):         -0.18604852259159088/0.12260753661394119
Calculated total shifts in reference pixel units (X/Y):   -0.18604852259159088/0.12260753661394119
Calculated total shifts in target pixel units (X/Y):      -0.18604852259159088/0.12260753661394119
Calculated map shifts (X,Y):                              -0.18604852259159088/-0.12260753661394119
Calculated absolute shift vector length in map units:     0.22281530499458313
Calculated angle of shift vector in degrees from North:   56.614784240722656
Original map info: ['Arbitrary', 1.0, 1.0, 0.0, 0.0, 1.0, 1.0, 0, 'North']
Updated map info:  ['Arbitrary', 1.0, 1.0, '-0.18604852', '-0.12260754', 1.0, 1.0, 0, 'North']
Image similarity within the matching window (SSIM before/after correction): 0.1975 => 0.1960
Estimated reliability of the calculated shifts:  0.0%
Correcting geometric shifts...
NOTE: The detected shift is corrected by updating the map info of the target image only, i.e., without any resampling. Set the 'align_grids' parameter to True if you need the target and the reference coordinate grids to be aligned.
Writing GeoArray of size (3152, 2074) to /builds/danschef/arosics/tests/output/testcase_inter1_S2A_S2A/tgt_S2A_20160529T153631_T33UUU_sub_CR_global.bsq.

Teardown

PASSED CompleteWorkflow_INTER1_S2A_S2A::test_shift_calculation_with_mask 0:00:00.431310

Test COREG if bad data mask is given.

Setup

Call

Captured stdout call
Bounding box of calculated footprint for reference image:
	(331320.0, 5830000.0, 354000.0, 5862000.0)
Bounding box of calculated footprint for image to be shifted:
	(335440.0, 5834970.0, 356180.0, 5866490.0)
Matching window position (X,Y): 344720/5848485
Detected integer shifts (X/Y):                            -1/2
Detected subpixel shifts (X/Y):                           0.40457239747047424/-0.23333793878555298
Calculated total shifts in fft pixel units (X/Y):         -0.5954276025295258/1.766662061214447
Calculated total shifts in reference pixel units (X/Y):   -0.5954276025295258/1.766662061214447
Calculated total shifts in target pixel units (X/Y):      -0.5954276025295258/1.766662061214447
Calculated map shifts (X,Y):                              -5.954276025295258/-17.66662061214447
Calculated absolute shift vector length in map units:     18.643038562392498
Calculated angle of shift vector in degrees from North:   18.62563633837978
Original map info: ['UTM', 1.0, 1.0, 335440.0, 5866490.0, 10.0, 10.0, 33, 'North', 'WGS-84']
Updated map info:  ['UTM', 1.0, 1.0, '335434.0457239747', '5866472.333379388', 10.0, 10.0, 33, 'North', 'WGS-84']
Image similarity within the matching window (SSIM before/after correction): 0.4548 => 0.6928
Estimated reliability of the calculated shifts:  84.1%
Correcting geometric shifts...
NOTE: The detected shift is corrected by updating the map info of the target image only, i.e., without any resampling. Set the 'align_grids' parameter to True if you need the target and the reference coordinate grids to be aligned.
Writing GeoArray of size (3152, 2074) to /builds/danschef/arosics/tests/output/testcase_inter1_S2A_S2A/tgt_S2A_20160529T153631_T33UUU_sub_CR_global.bsq.

Teardown

PASSED CompleteWorkflow_INTER1_S2A_S2A::test_shift_calculation_with_metaRotation 0:00:02.198833

Test with default parameters - should compute X/Y shifts properly and write the de-shifted target image.

Setup

Call

Captured stdout call
Calculating footprint polygon and actual data corner coordinates for reference image...
Bounding box of calculated footprint for reference image:
	(331320.0, 5830000.0, 354000.0, 5862000.0)
Calculating footprint polygon and actual data corner coordinates for image to be shifted...
Bounding box of calculated footprint for image to be shifted:
	(335440.0, 5834970.020739984, 356180.00000001054, 5866490.02074)
Matching window position (X,Y): 341500.0/5861440.0
Target window size (256, 256) not possible due to too small overlap area or window position too close to an image edge. New matching window size: (110, 108).
Detected integer shifts (X/Y):                            -1/2
Detected subpixel shifts (X/Y):                           0.27296364307403564/-0.12190894782543182
Calculated total shifts in fft pixel units (X/Y):         -0.7270363569259644/1.8780910521745682
Calculated total shifts in reference pixel units (X/Y):   -0.7270363569259644/1.8780910521745682
Calculated total shifts in target pixel units (X/Y):      -0.7270363569259644/1.8780910521745682
Calculated map shifts (X,Y):                              -7.2703635692596436/-18.78091052174568
Calculated absolute shift vector length in map units:     20.139036383477624
Calculated angle of shift vector in degrees from North:   21.16214515161511
Original map info: ['UTM', 1.0, 1.0, 335440.0, 5866490.02074, 10.000000000005091, 10.000000000005091, 33, 'North', 'WGS-84']
Updated map info:  ['UTM', 1.0, 1.0, '335432.72963643074', '5866471.239829478', 10.000000000005091, 10.000000000005091, 33, 'North', 'WGS-84']
Image similarity within the matching window (SSIM before/after correction): 0.4715 => 0.8049
Estimated reliability of the calculated shifts:  80.3%
Correcting geometric shifts...
Writing GeoArray of size (3151, 2073) to /builds/danschef/arosics/tests/output/testcase_inter1_S2A_S2A/tgt_S2A_20160529T153631_T33UUU_sub_CR_global.bsq.
Captured stderr call

Warping progress     |--------------------------------------------------| 0.0% Complete  => 0:00:00
Warping progress     |--------------------------------------------------| 0.0% Complete  => 0:00:00
Warping progress     |=-------------------------------------------------| 1.0% Complete  => 0:00:00
Warping progress     |=-------------------------------------------------| 2.0% Complete  => 0:00:00
Warping progress     |==------------------------------------------------| 3.0% Complete  => 0:00:00
Warping progress     |==------------------------------------------------| 4.0% Complete  => 0:00:00
Warping progress     |===-----------------------------------------------| 5.0% Complete  => 0:00:00
Warping progress     |===-----------------------------------------------| 6.0% Complete  => 0:00:00
Warping progress     |====----------------------------------------------| 7.0% Complete  => 0:00:00
Warping progress     |====----------------------------------------------| 8.0% Complete  => 0:00:00
Warping progress     |=====---------------------------------------------| 9.0% Complete  => 0:00:00
Warping progress     |=====---------------------------------------------| 10.0% Complete  => 0:00:00
Warping progress     |======--------------------------------------------| 11.0% Complete  => 0:00:00
Warping progress     |======--------------------------------------------| 12.0% Complete  => 0:00:00
Warping progress     |=======-------------------------------------------| 13.0% Complete  => 0:00:00
Warping progress     |=======-------------------------------------------| 14.0% Complete  => 0:00:00
Warping progress     |========------------------------------------------| 15.0% Complete  => 0:00:00
Warping progress     |========------------------------------------------| 16.0% Complete  => 0:00:00
Warping progress     |=========-----------------------------------------| 17.0% Complete  => 0:00:00
Warping progress     |=========-----------------------------------------| 18.0% Complete  => 0:00:00
Warping progress     |==========----------------------------------------| 19.0% Complete  => 0:00:00
Warping progress     |==========----------------------------------------| 20.0% Complete  => 0:00:00
Warping progress     |===========---------------------------------------| 21.0% Complete  => 0:00:00
Warping progress     |===========---------------------------------------| 22.0% Complete  => 0:00:00
Warping progress     |============--------------------------------------| 23.0% Complete  => 0:00:00
Warping progress     |============--------------------------------------| 24.0% Complete  => 0:00:00
Warping progress     |============--------------------------------------| 25.0% Complete  => 0:00:00
Warping progress     |=============-------------------------------------| 26.0% Complete  => 0:00:00
Warping progress     |==============------------------------------------| 27.0% Complete  => 0:00:00
Warping progress     |==============------------------------------------| 28.0% Complete  => 0:00:00
Warping progress     |===============-----------------------------------| 29.0% Complete  => 0:00:00
Warping progress     |===============-----------------------------------| 30.0% Complete  => 0:00:00
Warping progress     |================----------------------------------| 31.0% Complete  => 0:00:00
Warping progress     |================----------------------------------| 32.0% Complete  => 0:00:00
Warping progress     |=================---------------------------------| 33.0% Complete  => 0:00:00
Warping progress     |=================---------------------------------| 34.0% Complete  => 0:00:00
Warping progress     |==================--------------------------------| 35.0% Complete  => 0:00:00
Warping progress     |==================--------------------------------| 36.0% Complete  => 0:00:00
Warping progress     |===================-------------------------------| 37.0% Complete  => 0:00:00
Warping progress     |===================-------------------------------| 38.0% Complete  => 0:00:00
Warping progress     |====================------------------------------| 39.0% Complete  => 0:00:00
Warping progress     |====================------------------------------| 40.0% Complete  => 0:00:00
Warping progress     |=====================-----------------------------| 41.0% Complete  => 0:00:00
Warping progress     |=====================-----------------------------| 42.0% Complete  => 0:00:00
Warping progress     |======================----------------------------| 43.0% Complete  => 0:00:00
Warping progress     |======================----------------------------| 44.0% Complete  => 0:00:00
Warping progress     |=======================---------------------------| 45.0% Complete  => 0:00:00
Warping progress     |=======================---------------------------| 46.0% Complete  => 0:00:00
Warping progress     |========================--------------------------| 47.0% Complete  => 0:00:00
Warping progress     |========================--------------------------| 48.0% Complete  => 0:00:00
Warping progress     |=========================-------------------------| 49.0% Complete  => 0:00:00
Warping progress     |=========================-------------------------| 50.0% Complete  => 0:00:00
Warping progress     |==========================------------------------| 51.0% Complete  => 0:00:00
Warping progress     |==========================------------------------| 52.0% Complete  => 0:00:00
Warping progress     |===========================-----------------------| 53.0% Complete  => 0:00:00
Warping progress     |===========================-----------------------| 54.0% Complete  => 0:00:00
Warping progress     |============================----------------------| 55.0% Complete  => 0:00:00
Warping progress     |============================----------------------| 56.0% Complete  => 0:00:00
Warping progress     |=============================---------------------| 57.0% Complete  => 0:00:00
Warping progress     |=============================---------------------| 58.0% Complete  => 0:00:00
Warping progress     |==============================--------------------| 59.0% Complete  => 0:00:00
Warping progress     |==============================--------------------| 60.0% Complete  => 0:00:00
Warping progress     |===============================-------------------| 61.0% Complete  => 0:00:00
Warping progress     |===============================-------------------| 62.0% Complete  => 0:00:00
Warping progress     |================================------------------| 63.0% Complete  => 0:00:00
Warping progress     |================================------------------| 64.0% Complete  => 0:00:00
Warping progress     |=================================-----------------| 65.0% Complete  => 0:00:00
Warping progress     |=================================-----------------| 66.0% Complete  => 0:00:00
Warping progress     |==================================----------------| 67.0% Complete  => 0:00:00
Warping progress     |==================================----------------| 68.0% Complete  => 0:00:00
Warping progress     |===================================---------------| 69.0% Complete  => 0:00:00
Warping progress     |===================================---------------| 70.0% Complete  => 0:00:00
Warping progress     |====================================--------------| 71.0% Complete  => 0:00:00
Warping progress     |====================================--------------| 72.0% Complete  => 0:00:00
Warping progress     |=====================================-------------| 73.0% Complete  => 0:00:00
Warping progress     |=====================================-------------| 74.0% Complete  => 0:00:00
Warping progress     |======================================------------| 75.0% Complete  => 0:00:00
Warping progress     |======================================------------| 76.0% Complete  => 0:00:00
Warping progress     |=======================================-----------| 77.0% Complete  => 0:00:00
Warping progress     |=======================================-----------| 78.0% Complete  => 0:00:00
Warping progress     |========================================----------| 79.0% Complete  => 0:00:00
Warping progress     |========================================----------| 80.0% Complete  => 0:00:00
Warping progress     |=========================================---------| 81.0% Complete  => 0:00:00
Warping progress     |=========================================---------| 82.0% Complete  => 0:00:00
Warping progress     |==========================================--------| 83.0% Complete  => 0:00:00
Warping progress     |==========================================--------| 84.0% Complete  => 0:00:00
Warping progress     |===========================================-------| 85.0% Complete  => 0:00:00
Warping progress     |===========================================-------| 86.0% Complete  => 0:00:00
Warping progress     |============================================------| 87.0% Complete  => 0:00:00
Warping progress     |============================================------| 88.0% Complete  => 0:00:00
Warping progress     |=============================================-----| 89.0% Complete  => 0:00:00
Warping progress     |=============================================-----| 90.0% Complete  => 0:00:00
Warping progress     |==============================================----| 91.0% Complete  => 0:00:00
Warping progress     |==============================================----| 92.0% Complete  => 0:00:00
Warping progress     |===============================================---| 93.0% Complete  => 0:00:00
Warping progress     |===============================================---| 94.0% Complete  => 0:00:00
Warping progress     |================================================--| 95.0% Complete  => 0:00:00
Warping progress     |================================================--| 96.0% Complete  => 0:00:00
Warping progress     |=================================================-| 97.0% Complete  => 0:00:00
Warping progress     |=================================================-| 98.0% Complete  => 0:00:00
Warping progress     |==================================================| 99.0% Complete  => 0:00:00
Warping progress     |==================================================| 100.0% Complete  => 0:00:00

Teardown

tests/test_COREG_LOCAL.py 10 0:01:16.631546

PASSED COREG_LOCAL_init::test_coreg_init_from_disk 0:00:00.960819

Setup

Call

Captured stdout call
Calculating footprint polygon and actual data corner coordinates for reference image...
Bounding box of calculated footprint for reference image:
	(331320.0, 5830000.0, 354000.0, 5862000.0)
Calculating footprint polygon and actual data corner coordinates for image to be shifted...
Bounding box of calculated footprint for image to be shifted:
	(335440.0, 5834970.0, 356180.0, 5866490.0)
Matching window position (X,Y): 345539.693646785/5847665.646781689

Teardown

PASSED COREG_LOCAL_init::test_coreg_init_from_inMem_GeoArray 0:00:00.973295

Setup

Call

Captured stdout call
Calculating footprint polygon and actual data corner coordinates for reference image...
Bounding box of calculated footprint for reference image:
	(331320.0, 5830000.0, 354000.0, 5862000.0)
Calculating footprint polygon and actual data corner coordinates for image to be shifted...
Bounding box of calculated footprint for image to be shifted:
	(335440.0, 5834970.0, 356180.0, 5866490.0)
Matching window position (X,Y): 345539.693646785/5847665.646781689

Teardown

PASSED COREG_LOCAL_init::test_init_warnings 0:00:00.955366

Setup

Call

Captured stdout call
Calculating footprint polygon and actual data corner coordinates for reference image...
Bounding box of calculated footprint for reference image:
	(331320.0, 5830000.0, 354000.0, 5862000.0)
Calculating footprint polygon and actual data corner coordinates for image to be shifted...
Bounding box of calculated footprint for image to be shifted:
	(335440.0, 5834970.0, 356180.0, 5866490.0)
Matching window position (X,Y): 345539.693646785/5847665.646781689

Teardown

PASSED CompleteWorkflow_INTER1_S2A_S2A::test_calculation_of_tie_point_grid 0:00:16.383772

Setup

Call

Captured stdout call
Calculating footprint polygon and actual data corner coordinates for reference image...
Bounding box of calculated footprint for reference image:
	(331320.0, 5830000.0, 354000.0, 5862000.0)
Calculating footprint polygon and actual data corner coordinates for image to be shifted...
Bounding box of calculated footprint for image to be shifted:
	(335440.0, 5834970.0, 356180.0, 5866490.0)
Matching window position (X,Y): 345539.693646785/5847665.646781689
Initializing tie points grid...
Calculating tie point grid (454 points) using 24 CPU cores...
Found 413 matches.
Performing validity checks...
59 tie points flagged by level 1 filtering (reliability).
7 tie points flagged by level 2 filtering (SSIM).
26 tie points flagged by level 3 filtering (RANSAC)
328 valid tie points remain after filtering.
Note: array has been downsampled to 657 x 1000 for faster visualization.
Note: array has been downsampled to 657 x 1000 for faster visualization.
Note: array has been downsampled to 657 x 1000 for faster visualization.
Correcting geometric shifts...
Writing GeoArray of size (3152, 2074) to /builds/danschef/arosics/tests/output/testcase_inter1_S2A_S2A/tgt_S2A_20160529T153631_T33UUU_sub_CR_local.bsq.

Teardown

PASSED CompleteWorkflow_INTER1_S2A_S2A::test_calculation_of_tie_point_grid_float_coords 0:00:10.573277

Setup

Call

Captured stdout call
Calculating footprint polygon and actual data corner coordinates for reference image...
Bounding box of calculated footprint for reference image:
	(331320.200001285, 5830000.799967763, 354000.20002396504, 5862000.799999763)
Calculating footprint polygon and actual data corner coordinates for image to be shifted...
Bounding box of calculated footprint for image to be shifted:
	(335440.199999965, 5834970.799968244, 356180.200020705, 5866490.799999763)
Matching window position (X,Y): 345539.89366105554/5847666.446763894
Initializing tie points grid...
Equalizing pixel grids and projections of reference and target image...
Calculating tie point grid (453 points) using 24 CPU cores...
Found 389 matches.
Performing validity checks...
49 tie points flagged by level 1 filtering (reliability).
14 tie points flagged by level 2 filtering (SSIM).
22 tie points flagged by level 3 filtering (RANSAC)
314 valid tie points remain after filtering.

Teardown

PASSED CompleteWorkflow_INTER1_S2A_S2A::test_calculation_of_tie_point_grid_noepsg 0:00:07.567595

Test local coregistration with a proj. other than LonLat and UTM and a WKT which has no EPSG code (FORCE).

Setup

Call

Captured stdout call
Calculating footprint polygon and actual data corner coordinates for reference image...
Bounding box of calculated footprint for reference image:
	(331320.0, 5830000.0, 354000.0, 5862000.0)
Calculating footprint polygon and actual data corner coordinates for image to be shifted...
Bounding box of calculated footprint for image to be shifted:
	(335440.0, 5834970.0, 356180.0, 5866490.0)
Matching window position (X,Y): 345539.693646785/5847665.646781689
Initializing tie points grid...
Calculating tie point grid (454 points) using 24 CPU cores...
Found 413 matches.
Performing validity checks...
59 tie points flagged by level 1 filtering (reliability).
7 tie points flagged by level 2 filtering (SSIM).
26 tie points flagged by level 3 filtering (RANSAC)
328 valid tie points remain after filtering.

Teardown

PASSED CompleteWorkflow_INTER1_S2A_S2A::test_calculation_of_tie_point_grid_with_mask 0:00:09.990735

Test COREG_LOCAL if bad data mask is given.

Setup

Call

Captured stdout call
Calculating footprint polygon and actual data corner coordinates for reference image...
Bounding box of calculated footprint for reference image:
	(331320.0, 5830000.0, 354000.0, 5862000.0)
Calculating footprint polygon and actual data corner coordinates for image to be shifted...
Bounding box of calculated footprint for image to be shifted:
	(335440.0, 5834970.0, 356180.0, 5866490.0)
Matching window position (X,Y): 345539.693646785/5847665.646781689
Initializing tie points grid...
With respect to the provided bad data mask(s) 90 points of initially 454 have been excluded.
Calculating tie point grid (364 points) using 24 CPU cores...
Found 335 matches.
Performing validity checks...
44 tie points flagged by level 1 filtering (reliability).
7 tie points flagged by level 2 filtering (SSIM).
26 tie points flagged by level 3 filtering (RANSAC)
265 valid tie points remain after filtering.
Note: array has been downsampled to 657 x 1000 for faster visualization.

Teardown

PASSED CompleteWorkflow_INTER1_S2A_S2A::test_calculation_of_tie_point_grid_with_metaRotation 0:00:11.566386

Test with default parameters - should compute X/Y shifts properly and write the de-shifted target image.

Setup

Call

Captured stdout call
Adapting the target image pixel grid to the one of the reference image for shift detection.
Calculating footprint polygon and actual data corner coordinates for reference image...
Bounding box of calculated footprint for reference image:
	(331320.00000000064, 5830000.023999984, 354000.0000000119, 5862000.024)
Calculating footprint polygon and actual data corner coordinates for image to be shifted...
Bounding box of calculated footprint for image to be shifted:
	(335440.0, 5834970.024, 356180.0, 5866490.024)
Matching window position (X,Y): 345539.6936467927/5847665.670781689
Initializing tie points grid...
Calculating tie point grid (453 points) using 24 CPU cores...
Found 408 matches.
Performing validity checks...
54 tie points flagged by level 1 filtering (reliability).
5 tie points flagged by level 2 filtering (SSIM).
30 tie points flagged by level 3 filtering (RANSAC)
323 valid tie points remain after filtering.
Captured stderr call

Warping progress     |--------------------------------------------------| 0.0% Complete  => 0:00:00
Warping progress     |--------------------------------------------------| 0.0% Complete  => 0:00:00
Warping progress     |--------------------------------------------------| 1.0% Complete  => 0:00:00
Warping progress     |=-------------------------------------------------| 2.0% Complete  => 0:00:00
Warping progress     |==------------------------------------------------| 3.0% Complete  => 0:00:00
Warping progress     |==------------------------------------------------| 4.0% Complete  => 0:00:00
Warping progress     |==------------------------------------------------| 5.0% Complete  => 0:00:00
Warping progress     |===-----------------------------------------------| 6.0% Complete  => 0:00:00
Warping progress     |====----------------------------------------------| 7.0% Complete  => 0:00:00
Warping progress     |====----------------------------------------------| 8.0% Complete  => 0:00:00
Warping progress     |====----------------------------------------------| 9.0% Complete  => 0:00:00
Warping progress     |=====---------------------------------------------| 10.0% Complete  => 0:00:00
Warping progress     |======--------------------------------------------| 11.0% Complete  => 0:00:00
Warping progress     |======--------------------------------------------| 12.0% Complete  => 0:00:00
Warping progress     |======--------------------------------------------| 13.0% Complete  => 0:00:00
Warping progress     |=======-------------------------------------------| 14.0% Complete  => 0:00:00
Warping progress     |========------------------------------------------| 15.0% Complete  => 0:00:00
Warping progress     |========------------------------------------------| 16.0% Complete  => 0:00:00
Warping progress     |========------------------------------------------| 17.0% Complete  => 0:00:00
Warping progress     |=========-----------------------------------------| 18.0% Complete  => 0:00:00
Warping progress     |==========----------------------------------------| 19.0% Complete  => 0:00:00
Warping progress     |==========----------------------------------------| 20.0% Complete  => 0:00:00
Warping progress     |==========----------------------------------------| 21.0% Complete  => 0:00:00
Warping progress     |===========---------------------------------------| 22.0% Complete  => 0:00:00
Warping progress     |============--------------------------------------| 23.0% Complete  => 0:00:00
Warping progress     |============--------------------------------------| 24.0% Complete  => 0:00:00
Warping progress     |============--------------------------------------| 25.0% Complete  => 0:00:00
Warping progress     |=============-------------------------------------| 26.0% Complete  => 0:00:00
Warping progress     |==============------------------------------------| 27.0% Complete  => 0:00:00
Warping progress     |==============------------------------------------| 28.0% Complete  => 0:00:00
Warping progress     |===============-----------------------------------| 29.0% Complete  => 0:00:00
Warping progress     |===============-----------------------------------| 30.0% Complete  => 0:00:00
Warping progress     |================----------------------------------| 31.0% Complete  => 0:00:00
Warping progress     |================----------------------------------| 32.0% Complete  => 0:00:00
Warping progress     |================----------------------------------| 33.0% Complete  => 0:00:00
Warping progress     |=================---------------------------------| 34.0% Complete  => 0:00:00
Warping progress     |==================--------------------------------| 35.0% Complete  => 0:00:00
Warping progress     |==================--------------------------------| 36.0% Complete  => 0:00:00
Warping progress     |==================--------------------------------| 37.0% Complete  => 0:00:00
Warping progress     |===================-------------------------------| 38.0% Complete  => 0:00:00
Warping progress     |====================------------------------------| 39.0% Complete  => 0:00:00
Warping progress     |====================------------------------------| 40.0% Complete  => 0:00:00
Warping progress     |====================------------------------------| 41.0% Complete  => 0:00:00
Warping progress     |=====================-----------------------------| 42.0% Complete  => 0:00:00
Warping progress     |======================----------------------------| 43.0% Complete  => 0:00:00
Warping progress     |======================----------------------------| 44.0% Complete  => 0:00:00
Warping progress     |======================----------------------------| 45.0% Complete  => 0:00:00
Warping progress     |=======================---------------------------| 46.0% Complete  => 0:00:00
Warping progress     |========================--------------------------| 47.0% Complete  => 0:00:00
Warping progress     |========================--------------------------| 48.0% Complete  => 0:00:00
Warping progress     |========================--------------------------| 49.0% Complete  => 0:00:00
Warping progress     |=========================-------------------------| 50.0% Complete  => 0:00:00
Warping progress     |==========================------------------------| 51.0% Complete  => 0:00:00
Warping progress     |==========================------------------------| 52.0% Complete  => 0:00:00
Warping progress     |==========================------------------------| 53.0% Complete  => 0:00:00
Warping progress     |===========================-----------------------| 54.0% Complete  => 0:00:00
Warping progress     |============================----------------------| 55.0% Complete  => 0:00:00
Warping progress     |============================----------------------| 56.0% Complete  => 0:00:00
Warping progress     |=============================---------------------| 57.0% Complete  => 0:00:00
Warping progress     |=============================---------------------| 58.0% Complete  => 0:00:00
Warping progress     |==============================--------------------| 59.0% Complete  => 0:00:00
Warping progress     |==============================--------------------| 60.0% Complete  => 0:00:00
Warping progress     |==============================--------------------| 61.0% Complete  => 0:00:00
Warping progress     |===============================-------------------| 62.0% Complete  => 0:00:00
Warping progress     |================================------------------| 63.0% Complete  => 0:00:00
Warping progress     |================================------------------| 64.0% Complete  => 0:00:00
Warping progress     |================================------------------| 65.0% Complete  => 0:00:00
Warping progress     |=================================-----------------| 66.0% Complete  => 0:00:00
Warping progress     |==================================----------------| 67.0% Complete  => 0:00:00
Warping progress     |==================================----------------| 68.0% Complete  => 0:00:00
Warping progress     |==================================----------------| 69.0% Complete  => 0:00:00
Warping progress     |===================================---------------| 70.0% Complete  => 0:00:00
Warping progress     |====================================--------------| 71.0% Complete  => 0:00:00
Warping progress     |====================================--------------| 72.0% Complete  => 0:00:00
Warping progress     |====================================--------------| 73.0% Complete  => 0:00:00
Warping progress     |=====================================-------------| 74.0% Complete  => 0:00:00
Warping progress     |======================================------------| 75.0% Complete  => 0:00:00
Warping progress     |======================================------------| 76.0% Complete  => 0:00:00
Warping progress     |======================================------------| 77.0% Complete  => 0:00:00
Warping progress     |=======================================-----------| 78.0% Complete  => 0:00:00
Warping progress     |========================================----------| 79.0% Complete  => 0:00:00
Warping progress     |========================================----------| 80.0% Complete  => 0:00:00
Warping progress     |========================================----------| 81.0% Complete  => 0:00:00
Warping progress     |=========================================---------| 82.0% Complete  => 0:00:00
Warping progress     |==========================================--------| 83.0% Complete  => 0:00:00
Warping progress     |==========================================--------| 84.0% Complete  => 0:00:00
Warping progress     |==========================================--------| 85.0% Complete  => 0:00:00
Warping progress     |===========================================-------| 86.0% Complete  => 0:00:00
Warping progress     |============================================------| 87.0% Complete  => 0:00:00
Warping progress     |============================================------| 88.0% Complete  => 0:00:00
Warping progress     |============================================------| 89.0% Complete  => 0:00:00
Warping progress     |=============================================-----| 90.0% Complete  => 0:00:00
Warping progress     |==============================================----| 91.0% Complete  => 0:00:00
Warping progress     |==============================================----| 92.0% Complete  => 0:00:00
Warping progress     |==============================================----| 93.0% Complete  => 0:00:00
Warping progress     |===============================================---| 94.0% Complete  => 0:00:00
Warping progress     |================================================--| 95.0% Complete  => 0:00:00
Warping progress     |================================================--| 96.0% Complete  => 0:00:00
Warping progress     |================================================--| 97.0% Complete  => 0:00:00
Warping progress     |=================================================-| 98.0% Complete  => 0:00:00
Warping progress     |==================================================| 99.0% Complete  => 0:00:00
Warping progress     |==================================================| 100.0% Complete  => 0:00:00

Teardown

PASSED CompleteWorkflow_INTER1_S2A_S2A::test_no_warning_if_no_CI_TEST 0:00:09.035930

Test if really no Test Warning is raised if AROSICS_CI_TEST==False.

Setup

Call

Captured stdout call
Calculating footprint polygon and actual data corner coordinates for reference image...
Bounding box of calculated footprint for reference image:
	(331320.0, 5830000.0, 354000.0, 5862000.0)
Calculating footprint polygon and actual data corner coordinates for image to be shifted...
Bounding box of calculated footprint for image to be shifted:
	(335440.0, 5834970.0, 356180.0, 5866490.0)
Matching window position (X,Y): 345539.693646785/5847665.646781689
Initializing tie points grid...
Calculating tie point grid (454 points) using 24 CPU cores...
Found 413 matches.
Performing validity checks...
59 tie points flagged by level 1 filtering (reliability).
7 tie points flagged by level 2 filtering (SSIM).
26 tie points flagged by level 3 filtering (RANSAC)
328 valid tie points remain after filtering.

Teardown

PASSED CompleteWorkflow_INTER1_S2A_S2A::test_warnings_summary 0:00:08.624373

Test if the warnings summary is properly displayed.

Setup

Call

Captured stdout call
Calculating footprint polygon and actual data corner coordinates for reference image...
Bounding box of calculated footprint for reference image:
	(331320.0, 5830000.0, 354000.0, 5862000.0)
Calculating footprint polygon and actual data corner coordinates for image to be shifted...
Bounding box of calculated footprint for image to be shifted:
	(335440.0, 5834970.0, 356180.0, 5866490.0)
Matching window position (X,Y): 345539.693646785/5847665.646781689
Initializing tie points grid...
Calculating tie point grid (454 points) using 24 CPU cores...
Found 413 matches.
Performing validity checks...
59 tie points flagged by level 1 filtering (reliability).
7 tie points flagged by level 2 filtering (SSIM).
26 tie points flagged by level 3 filtering (RANSAC)
328 valid tie points remain after filtering.

Teardown

tests/test_tie_point_grid.py 15 0:01:20.996267

PASSED Test_Tie_Point_Grid::test_calc_overall_ssim 0:00:03.610583

Setup

Call

Captured stdout call
Calculating footprint polygon and actual data corner coordinates for reference image...
Bounding box of calculated footprint for reference image:
	(331320.0, 5830000.0, 354000.0, 5862000.0)
Calculating footprint polygon and actual data corner coordinates for image to be shifted...
Bounding box of calculated footprint for image to be shifted:
	(335440.0, 5834970.0, 356180.0, 5866490.0)
Matching window position (X,Y): 345539.693646785/5847665.646781689
Initializing tie points grid...
Calculating tie point grid (100 points) using 24 CPU cores...
Found 90 matches.
Performing validity checks...
20 tie points flagged by level 1 filtering (reliability).
3 tie points flagged by level 2 filtering (SSIM).
4 tie points flagged by level 3 filtering (RANSAC)
68 valid tie points remain after filtering.

Teardown

PASSED Test_Tie_Point_Grid::test_calc_overall_stats 0:00:03.858340

Setup

Call

Captured stdout call
Calculating footprint polygon and actual data corner coordinates for reference image...
Bounding box of calculated footprint for reference image:
	(331320.0, 5830000.0, 354000.0, 5862000.0)
Calculating footprint polygon and actual data corner coordinates for image to be shifted...
Bounding box of calculated footprint for image to be shifted:
	(335440.0, 5834970.0, 356180.0, 5866490.0)
Matching window position (X,Y): 345539.693646785/5847665.646781689
Initializing tie points grid...
Calculating tie point grid (100 points) using 24 CPU cores...
Found 90 matches.
Performing validity checks...
20 tie points flagged by level 1 filtering (reliability).
3 tie points flagged by level 2 filtering (SSIM).
4 tie points flagged by level 3 filtering (RANSAC)
68 valid tie points remain after filtering.

Teardown

PASSED Test_Tie_Point_Grid::test_calc_rmse 0:00:03.533367

Setup

Call

Captured stdout call
Calculating footprint polygon and actual data corner coordinates for reference image...
Bounding box of calculated footprint for reference image:
	(331320.0, 5830000.0, 354000.0, 5862000.0)
Calculating footprint polygon and actual data corner coordinates for image to be shifted...
Bounding box of calculated footprint for image to be shifted:
	(335440.0, 5834970.0, 356180.0, 5866490.0)
Matching window position (X,Y): 345539.693646785/5847665.646781689
Initializing tie points grid...
Calculating tie point grid (100 points) using 24 CPU cores...
Found 90 matches.
Performing validity checks...
20 tie points flagged by level 1 filtering (reliability).
3 tie points flagged by level 2 filtering (SSIM).
4 tie points flagged by level 3 filtering (RANSAC)
68 valid tie points remain after filtering.

Teardown

PASSED Test_Tie_Point_Grid::test_dump_CoRegPoints_table 0:00:03.615876

Setup

Call

Captured stdout call
Calculating footprint polygon and actual data corner coordinates for reference image...
Bounding box of calculated footprint for reference image:
	(331320.0, 5830000.0, 354000.0, 5862000.0)
Calculating footprint polygon and actual data corner coordinates for image to be shifted...
Bounding box of calculated footprint for image to be shifted:
	(335440.0, 5834970.0, 356180.0, 5866490.0)
Matching window position (X,Y): 345539.693646785/5847665.646781689
Initializing tie points grid...
Calculating tie point grid (100 points) using 24 CPU cores...
Found 90 matches.
Performing validity checks...
20 tie points flagged by level 1 filtering (reliability).
3 tie points flagged by level 2 filtering (SSIM).
4 tie points flagged by level 3 filtering (RANSAC)
68 valid tie points remain after filtering.
Writing /tmp/tmps27u6gt4/CoRegPoints_table.pkl ...

Teardown

PASSED Test_Tie_Point_Grid::test_get_CoRegPoints_table 0:00:03.073412

Setup

Call

Captured stdout call
Calculating footprint polygon and actual data corner coordinates for reference image...
Bounding box of calculated footprint for reference image:
	(331320.0, 5830000.0, 354000.0, 5862000.0)
Calculating footprint polygon and actual data corner coordinates for image to be shifted...
Bounding box of calculated footprint for image to be shifted:
	(335440.0, 5834970.0, 356180.0, 5866490.0)
Matching window position (X,Y): 345539.693646785/5847665.646781689
Initializing tie points grid...
Calculating tie point grid (100 points) using 24 CPU cores...
Found 90 matches.
Performing validity checks...
20 tie points flagged by level 1 filtering (reliability).
3 tie points flagged by level 2 filtering (SSIM).
4 tie points flagged by level 3 filtering (RANSAC)
68 valid tie points remain after filtering.

Teardown

PASSED Test_Tie_Point_Grid::test_if_singleprocessing_equals_multiprocessing_result 0:00:11.055068

Setup

Call

Captured stdout call
Calculating footprint polygon and actual data corner coordinates for reference image...
Bounding box of calculated footprint for reference image:
	(331320.0, 5830000.0, 354000.0, 5862000.0)
Calculating footprint polygon and actual data corner coordinates for image to be shifted...
Bounding box of calculated footprint for image to be shifted:
	(335440.0, 5834970.0, 356180.0, 5866490.0)
Matching window position (X,Y): 345539.693646785/5847665.646781689
Initializing tie points grid...
Calculating tie point grid (100 points) using 24 CPU cores...
Found 90 matches.
Performing validity checks...
20 tie points flagged by level 1 filtering (reliability).
3 tie points flagged by level 2 filtering (SSIM).
4 tie points flagged by level 3 filtering (RANSAC)
68 valid tie points remain after filtering.
Calculating tie point grid (100 points) using 1 CPU cores...
Found 90 matches.
Performing validity checks...
20 tie points flagged by level 1 filtering (reliability).
3 tie points flagged by level 2 filtering (SSIM).
4 tie points flagged by level 3 filtering (RANSAC)
68 valid tie points remain after filtering.

Teardown

PASSED Test_Tie_Point_Grid::test_interpolate_to_raster_gpr 0:00:06.337756

Setup

Call

Captured stdout call
Calculating footprint polygon and actual data corner coordinates for reference image...
Bounding box of calculated footprint for reference image:
	(331320.0, 5830000.0, 354000.0, 5862000.0)
Calculating footprint polygon and actual data corner coordinates for image to be shifted...
Bounding box of calculated footprint for image to be shifted:
	(335440.0, 5834970.0, 356180.0, 5866490.0)
Matching window position (X,Y): 345539.693646785/5847665.646781689
Initializing tie points grid...
Calculating tie point grid (100 points) using 24 CPU cores...
Found 90 matches.
Performing validity checks...
20 tie points flagged by level 1 filtering (reliability).
3 tie points flagged by level 2 filtering (SSIM).
4 tie points flagged by level 3 filtering (RANSAC)
68 valid tie points remain after filtering.

Teardown

PASSED Test_Tie_Point_Grid::test_interpolate_to_raster_kriging 0:00:07.219928

Setup

Call

Captured stdout call
Calculating footprint polygon and actual data corner coordinates for reference image...
Bounding box of calculated footprint for reference image:
	(331320.0, 5830000.0, 354000.0, 5862000.0)
Calculating footprint polygon and actual data corner coordinates for image to be shifted...
Bounding box of calculated footprint for image to be shifted:
	(335440.0, 5834970.0, 356180.0, 5866490.0)
Matching window position (X,Y): 345539.693646785/5847665.646781689
Initializing tie points grid...
Calculating tie point grid (100 points) using 24 CPU cores...
Found 90 matches.
Performing validity checks...
20 tie points flagged by level 1 filtering (reliability).
3 tie points flagged by level 2 filtering (SSIM).
4 tie points flagged by level 3 filtering (RANSAC)
68 valid tie points remain after filtering.

Teardown

PASSED Test_Tie_Point_Grid::test_interpolate_to_raster_rbf 0:00:05.809162

Setup

Call

Captured stdout call
Calculating footprint polygon and actual data corner coordinates for reference image...
Bounding box of calculated footprint for reference image:
	(331320.0, 5830000.0, 354000.0, 5862000.0)
Calculating footprint polygon and actual data corner coordinates for image to be shifted...
Bounding box of calculated footprint for image to be shifted:
	(335440.0, 5834970.0, 356180.0, 5866490.0)
Matching window position (X,Y): 345539.693646785/5847665.646781689
Initializing tie points grid...
Calculating tie point grid (100 points) using 24 CPU cores...
Found 90 matches.
Performing validity checks...
20 tie points flagged by level 1 filtering (reliability).
3 tie points flagged by level 2 filtering (SSIM).
4 tie points flagged by level 3 filtering (RANSAC)
68 valid tie points remain after filtering.

Teardown

PASSED Test_Tie_Point_Grid::test_mean_shifts 0:00:04.934737

Setup

Call

Captured stdout call
Calculating footprint polygon and actual data corner coordinates for reference image...
Bounding box of calculated footprint for reference image:
	(331320.0, 5830000.0, 354000.0, 5862000.0)
Calculating footprint polygon and actual data corner coordinates for image to be shifted...
Bounding box of calculated footprint for image to be shifted:
	(335440.0, 5834970.0, 356180.0, 5866490.0)
Matching window position (X,Y): 345539.693646785/5847665.646781689
Initializing tie points grid...
Calculating tie point grid (100 points) using 24 CPU cores...
Found 90 matches.
Performing validity checks...
20 tie points flagged by level 1 filtering (reliability).
3 tie points flagged by level 2 filtering (SSIM).
4 tie points flagged by level 3 filtering (RANSAC)
68 valid tie points remain after filtering.

Teardown

PASSED Test_Tie_Point_Grid::test_plot_shift_distribution 0:00:04.371692

Setup

Call

Captured stdout call
Calculating footprint polygon and actual data corner coordinates for reference image...
Bounding box of calculated footprint for reference image:
	(331320.0, 5830000.0, 354000.0, 5862000.0)
Calculating footprint polygon and actual data corner coordinates for image to be shifted...
Bounding box of calculated footprint for image to be shifted:
	(335440.0, 5834970.0, 356180.0, 5866490.0)
Matching window position (X,Y): 345539.693646785/5847665.646781689
Initializing tie points grid...
Calculating tie point grid (100 points) using 24 CPU cores...
Found 90 matches.
Performing validity checks...
20 tie points flagged by level 1 filtering (reliability).
3 tie points flagged by level 2 filtering (SSIM).
4 tie points flagged by level 3 filtering (RANSAC)
68 valid tie points remain after filtering.

Teardown

PASSED Test_Tie_Point_Grid::test_random_state 0:00:13.503814

Setup

Call

Captured stdout call
Calculating footprint polygon and actual data corner coordinates for reference image...
Bounding box of calculated footprint for reference image:
	(331320.0, 5830000.0, 354000.0, 5862000.0)
Calculating footprint polygon and actual data corner coordinates for image to be shifted...
Bounding box of calculated footprint for image to be shifted:
	(335440.0, 5834970.0, 356180.0, 5866490.0)
Matching window position (X,Y): 345539.693646785/5847665.646781689
Initializing tie points grid...
Calculating tie point grid (100 points) using 24 CPU cores...
Found 89 matches.
Performing validity checks...
13 tie points flagged by level 1 filtering (reliability).
2 tie points flagged by level 2 filtering (SSIM).
6 tie points flagged by level 3 filtering (RANSAC)
71 valid tie points remain after filtering.
Calculating tie point grid (100 points) using 24 CPU cores...
Found 89 matches.
Performing validity checks...
13 tie points flagged by level 1 filtering (reliability).
0 tie points flagged by level 2 filtering (SSIM).
6 tie points flagged by level 3 filtering (RANSAC)
70 valid tie points remain after filtering.
Calculating tie point grid (100 points) using 24 CPU cores...
Found 90 matches.
Performing validity checks...
20 tie points flagged by level 1 filtering (reliability).
3 tie points flagged by level 2 filtering (SSIM).
4 tie points flagged by level 3 filtering (RANSAC)
68 valid tie points remain after filtering.
Calculating tie point grid (100 points) using 24 CPU cores...
Found 90 matches.
Performing validity checks...
20 tie points flagged by level 1 filtering (reliability).
3 tie points flagged by level 2 filtering (SSIM).
4 tie points flagged by level 3 filtering (RANSAC)
68 valid tie points remain after filtering.

Teardown

PASSED Test_Tie_Point_Grid::test_to_GCPList 0:00:03.465762

Setup

Call

Captured stdout call
Calculating footprint polygon and actual data corner coordinates for reference image...
Bounding box of calculated footprint for reference image:
	(331320.0, 5830000.0, 354000.0, 5862000.0)
Calculating footprint polygon and actual data corner coordinates for image to be shifted...
Bounding box of calculated footprint for image to be shifted:
	(335440.0, 5834970.0, 356180.0, 5866490.0)
Matching window position (X,Y): 345539.693646785/5847665.646781689
Initializing tie points grid...
Calculating tie point grid (100 points) using 24 CPU cores...
Found 90 matches.
Performing validity checks...
20 tie points flagged by level 1 filtering (reliability).
3 tie points flagged by level 2 filtering (SSIM).
4 tie points flagged by level 3 filtering (RANSAC)
68 valid tie points remain after filtering.

Teardown

PASSED Test_Tie_Point_Grid::test_to_PointShapefile 0:00:03.371740

Setup

Call

Captured stdout call
Calculating footprint polygon and actual data corner coordinates for reference image...
Bounding box of calculated footprint for reference image:
	(331320.0, 5830000.0, 354000.0, 5862000.0)
Calculating footprint polygon and actual data corner coordinates for image to be shifted...
Bounding box of calculated footprint for image to be shifted:
	(335440.0, 5834970.0, 356180.0, 5866490.0)
Matching window position (X,Y): 345539.693646785/5847665.646781689
Initializing tie points grid...
Calculating tie point grid (100 points) using 24 CPU cores...
Found 90 matches.
Performing validity checks...
20 tie points flagged by level 1 filtering (reliability).
3 tie points flagged by level 2 filtering (SSIM).
4 tie points flagged by level 3 filtering (RANSAC)
68 valid tie points remain after filtering.
Writing /tmp/tmp9mshi5xa/test_out_shapefile_excl_nodata.shp ...
Writing /tmp/tmpswhukn78/test_out_shapefile_incl_nodata.shp ...
Writing /tmp/tmpc0v7kcpt/test_out_shapefile_excl_outliers.shp ...
Writing /tmp/tmpolgsuts5/test_out_shapefile_excl_nodata_outliers.shp ...

Teardown

PASSED Test_Tie_Point_Grid::test_to_vectorfield 0:00:03.235029

Setup

Call

Captured stdout call
Calculating footprint polygon and actual data corner coordinates for reference image...
Bounding box of calculated footprint for reference image:
	(331320.0, 5830000.0, 354000.0, 5862000.0)
Calculating footprint polygon and actual data corner coordinates for image to be shifted...
Bounding box of calculated footprint for image to be shifted:
	(335440.0, 5834970.0, 356180.0, 5866490.0)
Matching window position (X,Y): 345539.693646785/5847665.646781689
Initializing tie points grid...
Calculating tie point grid (100 points) using 24 CPU cores...
Found 90 matches.
Performing validity checks...
20 tie points flagged by level 1 filtering (reliability).
3 tie points flagged by level 2 filtering (SSIM).
4 tie points flagged by level 3 filtering (RANSAC)
68 valid tie points remain after filtering.
Writing GeoArray of size (26, 18, 2) to /tmp/tmpgxbd_bhy/test_vectorfield.bsq.
Writing GeoArray of size (26, 18, 2) to /tmp/tmpgxbd_bhy/test_vectorfield.bsq.

Teardown