Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions xrspatial/geotiff/tests/test_streaming_codecs_2026_05_11.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,10 @@
* Dask streaming write + LERC (lossless and lossy ``max_z_error``)
produces identical output to the eager writer.
* Dask streaming write + LZ4 round-trips a float32 raster.
* Dask streaming write + packbits round-trips a uint8 raster (the only
dtype packbits supports in this writer).
* Dask streaming write + packbits round-trips a uint8 raster. packbits
operates on the raw byte stream so any dtype is technically supported;
uint8 is the variant exercised here and the one packbits was designed
for (run-length encoding of byte runs).
* COG output with ``overview_resampling='cubic'`` round-trips through
scipy.ndimage.zoom (the only overview method that takes a separate
code path in ``_block_reduce_2d``).
Expand Down Expand Up @@ -139,7 +141,7 @@ def test_streaming_matches_eager(self, float_raster, dask_float_raster,


# ---------------------------------------------------------------------------
# packbits: round-trip on uint8 (the only supported dtype)
# packbits: round-trip on uint8 (the dtype packbits is designed for)
# ---------------------------------------------------------------------------

class TestStreamingPackbits:
Expand Down