Skip to content

Consolidation cluster 4: coords (long-tail epic #2424) #2428

Closed

Description

@brendancol

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

Likely 1 PR.

Scope

Extend read/test_coords.py (already exists from #2390) with the coord-edge-case tests still at the top level.

Files to consolidate (7)

  • xrspatial/geotiff/tests/test_coord_regularity_1720.py
  • xrspatial/geotiff/tests/test_coords_1813.py
  • xrspatial/geotiff/tests/test_coords_to_transform_3d_1643.py
  • xrspatial/geotiff/tests/test_int_coord_sentinel_2087.py
  • xrspatial/geotiff/tests/test_int_coords_round_trip_hotfix_1962.py
  • xrspatial/geotiff/tests/test_multi_tiepoint_validation_2117.py
  • xrspatial/geotiff/tests/test_rational_zero_denominator_2313.py

Target

Extend xrspatial/geotiff/tests/read/test_coords.py. Parametrise by coord shape (1D regular, 1D irregular, 3D), sentinel handling, and tiepoint mode.

Boundary

test_non_uniform_coords_alias_2215.py is also a coord-alias test; read it first and fold if it slots cleanly. Otherwise leave it for a follow-up.

Constraints

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

Verification

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

File count drops by 7 (7 deleted, 0 added since test_coords.py already exists).

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