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
{{ message }}
Repository navigation
VRT missing-source handling returns partial mosaics by default #1799
VRT source read failures are skipped by default. The reader warns and records attrs['vrt_holes'], but still returns a partial mosaic. That behavior is dangerous for production pipelines because a downstream caller can easily miss warnings and treat zero-filled or partially missing areas as valid data.
Expected behavior
The VRT reader should provide a public missing-source policy, such as missing_sources='raise'|'warn', and should strongly consider raising by default for unreadable sources.
Screenshots
Not applicable.
Desktop
Not applicable.
Smartphone
Not applicable.
Additional context
Strict mode already exists via XRSPATIAL_GEOTIFF_STRICT=1, but this behavior needs an explicit API-level contract so callers can choose safely without relying on environment variables.
Activity
Add VRT missing source policy (#1806)
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…
geotiff: chunked-VRT coverage for missing_sources policy (#1799) (#1959)
Address review nit: use pytest.warns(match=) for warn-path style pari…
Add consolidated VRT missing_sources policy matrix tests (#2367) (#2372)