compare_dates
Compare two time windows over a location to detect changes using satellite imagery. Returns matched scenes, index delta, and a side-by-side swipe map for visual analysis.
Instructions
Compare two time windows over a place: matched scenes, index delta, swipe map.
The most common Earth question is "what changed?" — this answers it in one call. Windows are RFC3339 ranges ("2026-06-01T00:00:00Z/2026-06-30T23:59:59Z"); window_after defaults to the last 14 days, window_before to roughly one month earlier. Picks Sentinel-2 scenes from the SAME MGRS tile (best AOI coverage, lowest cloud), computes the expression's stats for both dates, and writes a side-by-side swipe map. Returns scenes, means, delta, and map_path.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bbox | No | ||
| label | No | ||
| place | No | ||
| expression | No | (nir-red)/(nir+red) | |
| window_after | No | ||
| window_before | No | ||
| max_cloud_cover | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||