Cog-worker

Latest version: v0.2.0

Safety actively analyzes 623541 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

0.2.0

Changed

- Update depencies to latest major versions.
- Update test suite to test python 3.9, 3.10, 3.11 environments.
- Depricate python 3.7, 3.8 environments.
- Update Worker to be compatible with rio_tiler 5.x.x, in particular such that
array masks are PER_BAND.
- DaskManager.chunk_execute(compute=False) returns a List of Delayeds instead of
a Generator.
- Remove automatic retries on worker.read() when rasterio raises a
CPLE_AppDefinedError.

Added

- Worker.read() takes an optional masked parameter, when set to False, ignores
dataset mask.

Fixed

- Fixed inconsistency in between the way cog_worker and rasterio.windows
rounds bounding boxes to pixels and vice-verca, which would occasionally cause
gaps in files generated by Manager.chunk_save().
- Fixed issue where Worker.lnglat_bounds() would fail inverse transforms for
chunks >10000 px.
- Fixed distributed test suite to be compatible with current behavior of
dask.distributed.

0.1.4

Changed

- Update to depend on rio_tiler v3 and morecantile v3

Added

- Add parameter `compute=False` to have DaskManager return Delayed objects
instead of computing immediately.

0.1.3

Fixed

- Fix tutorial notebooks
- Limit number of retries on CPLE_AppDefinedError failures on COG reads
- Fix inverted masks being written

0.1.2

Fixed

- Updated documentation to link to the right places.

0.1.1

Initial release

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.