Conversation
There was a problem hiding this comment.
High level comment -- did you double check to see if this works for decline clusters?
Other high level comment -- do you think a README section on change detection (or CHANGE_DETECTION.md) with an example screenshot output would be helpful? If so, we can definitely push this to later too.
There was a problem hiding this comment.
Pull Request Overview
This PR adds a new Python script to compute change detection clusters (growth or decline) between two temporal prediction rasters. The script calculates volumetric change (density × height) between two timestamps, applies a percentile-based threshold, vectorizes regions exceeding that threshold into polygons, and outputs results to a GeoPackage file.
Key changes:
- New script for computing growth/decline clusters between two timestamps
- Supports Azure Blob Storage access via SAS tokens for prediction tiles
- Implements percentile-based thresholding for identifying significant changes
- Vectorizes change clusters using 8-connected component labeling
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
6061690 to
31205b8
Compare
Yes confirmed, and double checked that it works for "decline clusters" |
|
@calebrob6 Requesting a re-review. I added updates to the README with an example, and tested on the pre-processed COGs for Bamako. Ready to merge |
Adding a script to calculate volumentric change detection for a given threshold between two timestamps (e.g., 2020 -> 2025).