Skip to content

No GPU / dask+GPU test coverage for the to_geotiff(pack=True) round-trip #3114

@brendancol

Description

@brendancol

tests/write/test_pack_3064.py exercises the unpack=True read -> pack=True write round-trip on numpy and dask+numpy only. Its module docstring still says "mask_and_scale is a CPU eager + dask read feature (GPU/VRT reject it)", which #3075 made stale: unpack=True now works with gpu=True and with gpu=True, chunks=N. Nothing in the suite writes a GPU-read array back with pack=True.

The gap hides a real crash. Both GPU-backed variants raise today (#3112): the pack transform runs in to_geotiff before backend dispatch, so the GPU writer never even sees the data.

Wanted:

Test-only change; the source fix belongs to #3112.

Found by /sweep-test-coverage (category 1, backend coverage; severity HIGH).

Metadata

Metadata

Assignees

No one assigned

    Labels

    backend-coverageAdding missing dask/cupy/dask+cupy backend supportgeotiffGeoTIFF modulegpuCuPy / CUDA GPU supportseverity:highSweep finding: HIGHsweep-test-coverageFound by /sweep-test-coveragetestsTest coverage and parity

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions