Skip to content

geotiff: extract read_geotiff_dask into _backends/dask.py (#1813 step 8) #1886

@brendancol

Description

@brendancol

Reason

read_geotiff_dask (xrspatial/geotiff/__init__.py L2032) and its delayed helper _delayed_read_window (L2381) form a self-contained dask backend, together about 470 lines. With validators, attrs helpers, and sentinels already extracted, they make a clean lift.

Proposal

Move both to xrspatial/geotiff/_backends/dask.py. Re-export read_geotiff_dask from __init__.py. open_geotiff's dask-branch dispatch picks up the new import path. The 16+ existing dask tests plus the #1813 parity matrix backstop the move.

Refs: #1813.

Metadata

Metadata

Assignees

No one assigned

    Labels

    apiAPI design and consistencyenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions