You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A continuing read returns a mosaic with holes. For integer VRTs the hole is the dtype zero, which downstream functions cannot distinguish from real data unless the band has a nodata value set.
Expected behavior
Either invert the default to strict (lenient becomes opt-in via XRSPATIAL_GEOTIFF_STRICT=0), or surface a stronger signal than a warning, for example a metadata['vrt_holes'] entry on the returned DataArray that records which sources failed and where.
Additional context
The current opt-in is XRSPATIAL_GEOTIFF_STRICT=1. Documented behavior should match what a new user will hit on a corrupt mosaic.
Activity
geotiff: surface VRT skipped sources as attrs['vrt_holes'] (#1734)
test(vrt): tighten #1734 regression to integer band and FileNotFoundE…
geotiff: surface VRT skipped sources as attrs['vrt_holes'] (#1734) (#…
geotiff: propagate vrt_holes and gate float64 promotion on chunked pa…
geotiff: read_vrt(chunks=) builds a lazy dask graph (#1822)
geotiff: chunked-VRT coverage for missing_sources policy (xarray-cont…
geotiff: chunked-VRT coverage for missing_sources policy (xarray-cont…
geotiff: chunked-VRT coverage for missing_sources policy (xarray-cont…