Repository navigation
Whirld 0.3.0
Whirld 0.3.0 adds flood support, bounded-memory segmentation and additional RemoteCLIP models.
- Add Prithvi EO 2.0 flood segmentation with an explicit Sentinel-2 L1C
contract, pinned official checkpoint/config and documented metadata/padding
policy. Predicted water/flood is class 1; valid background is 0, nodata is 255. - Add
segment_to_disk()andsegment --streamfor native-tile bounded-memory
mask GeoTIFF output, retaining source validity and exact target grid/extent. - Add pinned RemoteCLIP RN50 and ViT-L/14 registry entries alongside existing
ViT-B/32, with actual preprocessing/checkpoint and eager/stream validation. - Require explicit L1C selection or unambiguous processing-level metadata for
flood detection; shared Sentinel-2 band names cannot distinguish L1C from L2A. - Clear inherited GDAL header files using a readable empty source, eliminating
spurious empty-filename warnings during remote example/raster reads while
preserving credential isolation and caller configuration restoration.
Validation: 800 passed / 12 skipped, 91.95% package/example
coverage, plus three opt-in actual-model checks. All three default real-world
examples, the alternate Clay reference and the classification-streaming snippet
execute with actual pinned weights/public imagery and independently validated
outputs/previews. Existing arrays/masks match prior output; model/geometry/version
contracts hold. Independent fresh source/wheel base-only installs pass existing
and new HTTP streaming workflows. Recorded details are in the example guides and
development log. Public IO/cache conditions affect timings.
Installation and limits
Use Python 3.13.7 or newer (verified with 3.13.7). Install the wheel or source archive from this release; model extras and checkpoint downloads are separate. No PyPI publication is included. Inputs still require north-up metric grids; REST/local raster streaming, overlap blending and reprojection remain deferred. CPU execution checks do not establish model accuracy or GPU performance.
Checksums
Verify downloaded files with shasum -a 256 -c SHA256SUMS (macOS) or sha256sum -c SHA256SUMS (Linux).
a1e380626f3a66c58b0fa8eac95eeecfa86215765fe89ac6fd84f5b65410aaf2 whirld-0.3.0-py3-none-any.whl
c082ca2a53929b4ae0e6b2e39265784ab01d1410353b6862f8651860f29d6ac9 whirld-0.3.0.tar.gz
Release source: 58b972701a2f9155fd3cc0bc523d693e84aa74fd, manually merged PR #29. Merged-main CI passed. Assets match the reviewed merged source and exclude subsequent feature-branch work.