Skip to content

Consolidation cluster 11: georef and rotation (long-tail epic #2424) #2435

@brendancol

Description

@brendancol

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

Likely 1 PR.

Scope

Georef status, no-georef variants, rotated-affine attrs, degenerate-georef cases. The read/test_crs.py file from #2390 PR 3 owns the rotated-CRS surface; this issue owns the georef-status / no-georef / drop-rotation surface, which is a related but separate concern.

Files to consolidate (12)

  • test_degenerate_georef_1945.py
  • test_georef_edges.py
  • test_georef_resolver_parity_2211.py
  • test_georef_status_2136.py
  • test_no_georef_attr_migration_2133.py
  • test_no_georef_marker_2120.py
  • test_no_georef_windowed_coords_1710.py
  • test_no_georef_writer_round_trip_1949.py
  • test_rotated_affine_attr_2129.py
  • test_rotated_transform_attr_1764.py
  • test_rotated_typed_error_2267.py
  • test_to_geotiff_drop_rotation_2216.py

Target

New file: xrspatial/geotiff/tests/read/test_georef.py. Write-side cases (test_to_geotiff_drop_rotation_2216.py, test_no_georef_writer_round_trip_1949.py) can either fold here with a # write side: section, or split into write/test_georef.py. Pick whichever keeps related tests together; do not split for the sake of splitting.

Boundary

  • read/test_crs.py owns rotated-CRS read; this issue does NOT touch it.
  • test_user_defined_crs_wkt_1632.py, test_wkt_only_crs_warning_1768.py, and other CRS-write files belong to the CRS-write tail (cluster 15).

Constraints

  • Tests-only.
  • Markers from _helpers/markers.py; make_minimal_tiff from _helpers/tiff_builders.py.
  • Descriptive IDs (e.g. id="no_georef[float32-strict]", id="rotated_affine[shear=0.1]").
  • CLUSTER_AUDIT_GEOREF.md deleted before merge.

Verification

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

File count drops by 11 (12 deleted, 1 added).

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions