Geoskill: Flood Extent Mapping
Extract flood extent from SAR backscatter imagery. Use when the user wants to analyze changes, detect hazards, or generate assessment reports.
ruiduobao
@ruiduobao
Install
$ openclaw skills install @ruiduobao/geoskill-flood-extent-mappingFlood Extent Mapping
Extract flood extent from SAR backscatter imagery.
CLI Usage
# Local file mode (backward compatible)
python scripts/flood_extent_mapping.py --sar sar.tif
python scripts/flood_extent_mapping.py --sar sar.tif --threshold -16
python scripts/flood_extent_mapping.py --sar sar.tif --output-dir my_output
# Auto-download mode — fetch Sentinel-1 GRD from Microsoft Planetary Computer
# (no API key required; one scene per invocation)
python scripts/flood_extent_mapping.py \
--bbox 116,39,117,40 \
--date-range 2024-06-01,2024-06-30 \
--output-dir my_output
Data Download
When --bbox (or --aoi-file) and --date-range are provided, the skill
auto-downloads one Sentinel-1 GRD scene from the Microsoft Planetary
Computer STAC catalog (collection sentinel-1-grd). The downloaded file
is written to <output_dir>/downloaded/ and the SAR analysis runs on it
exactly as if a local file had been passed via --sar.
The output-manifest.json records data_source, collection, bbox,
date_range, and fetched_at whenever auto-download is used.
Parameters
| Argument | Required | Default | Description |
|---|---|---|---|
--sar | One-of | — | Path to local SAR backscatter raster (dB, calibrated) |
--bbox | One-of | — | W,S,E,N in WGS-84; triggers auto-download |
--date-range | w/ bbox | — | START,END ISO-8601; triggers auto-download |
--aoi-file | No | — | GeoJSON Polygon / MultiPolygon (alternative to --bbox) |
--threshold | No | -15 | Water threshold in dB |
--output-dir, -o | No | flood-output | Directory to write outputs |
--synthetic | No | off | Use synthetic demo data (no real inputs) |
Output
| File | Description |
|---|---|
flood-report.json | Machine-readable flood extent stats (water area, depth proxy) |
report.html | Human-readable HTML report |
output-manifest.json | Run metadata + result summary |
Exit Codes
| Code | Meaning |
|---|---|
| 0 | Success |
| 2 | Argument error |
| 7 | Processing failure |
Top skills in this category
PollyReach
@pollyreachPollyReach gives every AI agent a phone number and the ability to get things done over the phone — finding contacts, making calls, and completing tasks. Just...
Proactive Agent Lite
@bestrockyTransform AI agents from task-followers into proactive partners with memory architecture, reverse prompting, and self-healing patterns. Lightweight version f...
Using Superpowers
@zlc000190Use when starting any conversation - establishes how to find and use skills, requiring Skill tool invocation before ANY response including clarifying questions
Planning with files
@othmanadiManus-style persistent file-based planning for AI coding agents: keeps task_plan.md, findings.md, and progress.md on disk so work survives context loss and /clear. Use when asked to plan out, break down, or organize a multi-step project, research task, or any work requiring 5+ tool calls. Supports a
Productivity
@ivangdavilaDiagnoses and repairs personal productivity: overwhelm, procrastination, scattered priorities, collapsed habits, busywork that never finishes. Use when someone is overwhelmed or behind; when they cannot start, cannot stop, or keep replanning instead of working; when everything feels urgent and the list is no longer trusted; when goals never turn into shipped work; when meetings and messages eat the day; when a habit keeps breaking; when they want a weekly review, a shutdown routine, or one trusted home for goals, projects and commitments; and when the constraint is a situation — student, manager, executive, parent, freelancer, founder, creative, remote work, ADHD, burnout, or guilt about resting. Covers capacity math, estimation, WIP limits, delegation and saying no. Not for calendar-API automation (`calendar-planner`), running the day-to-day list (`task-list`), or the narrower tools: time blocking (`time-management`), habit streaks (`habits`), deep-work rituals (`deep-work`).