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-mapping

Flood 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

ArgumentRequiredDefaultDescription
--sarOne-ofPath to local SAR backscatter raster (dB, calibrated)
--bboxOne-ofW,S,E,N in WGS-84; triggers auto-download
--date-rangew/ bboxSTART,END ISO-8601; triggers auto-download
--aoi-fileNoGeoJSON Polygon / MultiPolygon (alternative to --bbox)
--thresholdNo-15Water threshold in dB
--output-dir, -oNoflood-outputDirectory to write outputs
--syntheticNooffUse synthetic demo data (no real inputs)

Output

FileDescription
flood-report.jsonMachine-readable flood extent stats (water area, depth proxy)
report.htmlHuman-readable HTML report
output-manifest.jsonRun metadata + result summary

Exit Codes

CodeMeaning
0Success
2Argument error
7Processing failure

Top skills in this category

PollyReach

@pollyreach

PollyReach 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...

55101k

Proactive Agent Lite

@bestrocky

Transform AI agents from task-followers into proactive partners with memory architecture, reverse prompting, and self-healing patterns. Lightweight version f...

6241k

Using Superpowers

@zlc000190

Use when starting any conversation - establishes how to find and use skills, requiring Skill tool invocation before ANY response including clarifying questions

6336k

Planning with files

@othmanadi

Manus-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

5440k

Productivity

@ivangdavila

Diagnoses 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`).

6926k