Describe the bug
read_vrt(chunks=...) returns a dask-backed DataArray, but it first eagerly assembles the full VRT into memory and only then chunks the result. This makes the API look lazy while still carrying full eager memory risk for large mosaics.
Expected behavior
Either read_vrt(chunks=...) should be truly lazy, building dask tasks over VRT windows, or the public contract should be changed to make the eager materialization explicit.
Screenshots
Not applicable.
Desktop
Not applicable.
Smartphone
Not applicable.
Additional context
This affects large VRT mosaics and can produce out-of-memory failures before dask has a chance to help.
Describe the bug
read_vrt(chunks=...)returns a dask-backed DataArray, but it first eagerly assembles the full VRT into memory and only then chunks the result. This makes the API look lazy while still carrying full eager memory risk for large mosaics.Expected behavior
Either
read_vrt(chunks=...)should be truly lazy, building dask tasks over VRT windows, or the public contract should be changed to make the eager materialization explicit.Screenshots
Not applicable.
Desktop
Not applicable.
Smartphone
Not applicable.
Additional context
This affects large VRT mosaics and can produce out-of-memory failures before dask has a chance to help.