Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions docs/source/reference/release_gate_geotiff.rst
Original file line number Diff line number Diff line change
Expand Up @@ -504,6 +504,15 @@ These gates are not tier rows but they back the rest of the checklist.
* ``test_release_gate_2321.py`` -- meta-gate that asserts every promised
VRT behaviour in this checklist resolves to a real test file and a real
``SUPPORTED_FEATURES`` entry.
* ``xrspatial/geotiff/tests/test_release_gate_negative_2341.py`` --
negative cross-cutting gate from epic #2341 PR 5. Pins that
ambiguous metadata fails closed at every promised read entry point:
conflicting CRS between header and ``.aux.xml`` PAM sidecar
(xfail until PAM sidecar support lands), integer nodata sentinel
that cannot be honoured on a float-promoted raster (xfail against
``#1774`` follow-up), rotated transform without ``allow_rotated=True``
uniformly across eager / dask / windowed paths, and mixed-tier VRT
children when stable-only is requested (xfail against epic ``#2342``).

Placeholder PR cross-references
===============================
Expand Down
6 changes: 5 additions & 1 deletion xrspatial/geotiff/_geotags.py
Original file line number Diff line number Diff line change
Expand Up @@ -683,7 +683,11 @@ def _extract_transform(ifd: IFD,
f"M[6]={m[6] if len(m) > 6 else 0.0!r}). "
"Only axis-aligned affine transforms are supported. "
"Pass ``allow_rotated=True`` to read the pixel grid "
"without the geospatial assumption (issue #2115)."
"without the geospatial assumption "
"(``reader.allow_rotated`` is the experimental tier "
"opt-in; see "
"``docs/source/reference/release_gate_geotiff.rst`` "
"for the release-contract row; issue #2115)."
)
# Opt-in: drop georef, stash the rotated matrix on the
# GeoTransform so the validator + attrs-roundtrip code
Expand Down
5 changes: 3 additions & 2 deletions xrspatial/geotiff/_validation.py
Original file line number Diff line number Diff line change
Expand Up @@ -1117,8 +1117,9 @@ def _check_read_rotated_transform(context: Mapping[str, Any]) -> None:
f"zonal) assume axis-aligned rasters and would silently produce "
f"wrong results on a rotated grid. Pass ``allow_rotated=True`` "
f"to read the pixel grid without the geospatial assumption "
f"(useful when you only want the array, not the geo-aware "
f"downstream ops). See issue #1987."
f"(``reader.allow_rotated`` is the experimental tier opt-in; "
f"see ``docs/source/reference/release_gate_geotiff.rst`` for "
f"the release-contract row; issue #1987)."
)


Expand Down
Loading
Loading