Skip to content

Consolidation cluster 5: tile / strip decode (long-tail epic #2424) #2429

Closed

Description

@brendancol

Follow-up to epic #2424 / #2390. Cluster 5 of 16. Parallel-safe.

Likely 1 PR.

Scope

Extend read/test_tiling.py with the tile / strip decoder edge cases still at the top level.

Files to consolidate (7)

  • xrspatial/geotiff/tests/test_geotiff_planar_strip_truncation_1782.py
  • xrspatial/geotiff/tests/test_mixed_bps.py
  • xrspatial/geotiff/tests/test_mixed_sample_format.py
  • xrspatial/geotiff/tests/test_parallel_decode_default_tile_1551.py
  • xrspatial/geotiff/tests/test_parallel_strip_decode_2100.py
  • xrspatial/geotiff/tests/test_planar_multiband.py
  • xrspatial/geotiff/tests/test_unpack_bits_vectorised_1713.py

Target

Extend xrspatial/geotiff/tests/read/test_tiling.py. Parametrise by layout (tiled / stripped), planar config, bits-per-sample, sample format.

Boundary

  • test_parallel_strip_decode_sparse_2100.py belongs to the IFD-parser cluster (issue Add Dask Support to Viewshed #2). Leave alone.
  • GPU stripped paths belong to the GPU cluster issue.

Constraints

  • Tests-only.
  • Markers from _helpers/markers.py; make_minimal_tiff from _helpers/tiff_builders.py.
  • Descriptive IDs.
  • CLUSTER_AUDIT_TILE_STRIP.md deleted before merge.

Verification

pytest xrspatial/geotiff/tests/read/test_tiling.py -v
pytest xrspatial/geotiff/tests/ -x -q

File count drops by 7 (7 deleted, 0 added).

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions