Build coastal flood models with a guided workflow.
AutoCF Desktop helps you prepare, run, evaluate, and interpret SFINCS compound-flood models without assembling a scientific software environment by hand.
AutoCFDocumentation
AutoCF Desktop helps you prepare, run, evaluate, and interpret SFINCS compound-flood models without assembling a scientific software environment by hand.
Managed WSL2 is the recommended route. AutoCF installs and verifies the bundled scientific runtime from its Settings page.
AutoCF-Desktop.exe.Uses a validated GPU only when compatible hardware and a separately validated payload exist; otherwise uses CPU.
Bundled dependable default. Control threads from Settings.
Windows only and requires the separately supplied validated SFINCS GPU payload.
Double-click the bundled installer; if it enables WSL2, restart and run it again.
Install-AutoCF.cmd
Run AutoCF on a desktop workstation or a shared HPC cluster. Choose a target to see its deployment commands.
# a folder for your projects and finished runs
mkdir -p ~/AutoCF-Projects
docker run -d --platform linux/amd64 -p 8601:8601 \
-v ~/AutoCF-Projects:/work \
-v ~/.autocf:/root/.autocf \
autocf/autocf:1.0
# then open http://localhost:8601# once only: install WSL2, then reopen the terminal
wsl --install
# a folder for your projects and finished runs
mkdir "$env:USERPROFILE\AutoCF-Projects"
docker run -d -p 8601:8601 `
-v "$env:USERPROFILE\AutoCF-Projects:/work" `
autocf/autocf:1.0
# then open http://localhost:8601# once only: pull the image onto shared storage
apptainer pull autocf_1.0.sif docker://autocf/autocf:1.0
# the simulation, on one A100
sbatch --job-name=autocf-run --partition=gpu \
--gres=gpu:a100:1 --cpus-per-task=8 --mem=64G --time=04:00:00 \
--wrap "apptainer exec --nv autocf_1.0.sif autocf run config.yaml"
# --nv passes the GPU through to the container# build, evaluation, attribution and report need no GPU
sbatch --job-name=autocf-build --partition=cpu \
--cpus-per-task=16 --mem=32G --time=01:00:00 \
--wrap "apptainer exec autocf_1.0.sif autocf build config.yaml"
# or interactively, once the run has finished
apptainer exec autocf_1.0.sif autocf evaluate config.yaml
apptainer exec autocf_1.0.sif autocf attribute config.yaml
apptainer exec autocf_1.0.sif autocf report config.yamlAutoCF lets you save an incomplete draft. Full scientific validation is enforced before Build & Run.
A portable project folder holds its YAML recipe, study-area GeoJSON, runs, and cache.
Event-first guided setup; workspace is created when you apply the event.
Loads the YAML where it lives and reports only missing or incompatible settings.
<working directory>/
Ida_2021/
Ida_2021.yml
Ida_2021_study_area.geojson
runs/
cache/
Relative paths such as ./runs and ./cache resolve beside the YAML, making projects movable. Imported projects are not automatically migrated or renamed.
Choose the event and simulation window before defining a new domain.
You can enter the event name and UTC dates manually. Include appropriate pre-event spin-up; the correct duration is site dependent.
Define one valid polygon domain, its grid, forcing locations, and optional evaluation observations.
Use an existing polygon and validate bounds.
Double-click, right-click, or Enter to close.
Search/pick HUCs; adjacent polygons dissolve.
Options are 30, 50, 100, 200, 500, and 1000 m. 200 m is a starting point, not a universal value. Smaller cells rapidly increase memory and runtime.
Source 1 is authoritative and defines the model target datum. Source 2 may fill gaps and require conversion.
| Built-in source | Native / assumed datum | Typical role |
|---|---|---|
| NOAA CUDEM | NAVD88 | U.S. coastal topobathy |
| USGS 3DEP | NAVD88 | U.S. land elevation |
| GEDTM30 / Copernicus GLO-30 | EGM2008 | Global land elevation |
| GEBCO | Assumed MSL | Global bathymetry / gaps |
Try isolated Transformez/NOAA HTDP, then explicitly recorded local alignment if needed.
Require rigorous conversion and stop if unavailable.
Explicitly use approximate overlap-derived alignment.
Review vertical_datum_provenance.json for engine, fallback, offset, samples, and spread. Terrain also writes topobathy_source_provenance.json. Enter acquisition dates when known; a product edition year is not necessarily an acquisition date.
Translate land cover into resistance, optionally represent infiltration, and define adaptation polygons.
Prepare the atmospheric, coastal, and river conditions that drive the event.
| Driver | Handling | Notes |
|---|---|---|
| Rainfall | AORC or selected file | Prepared in mm/h |
| Wind | AORC or selected file | 10 m u/v wind in m/s |
| Pressure | Selected source or none | Validated in Pa; map shows hPa |
| Ocean | NOAA CO-OPS | Check datum and distance |
| River | USGS automatic/configured | Review proximity and coverage |
Select Prepare atmosphere forcing. Rainfall, wind, and pressure previews appear automatically when available. Remote acquisition needs internet.
Choose the hydraulic representation and review common/advanced SFINCS controls before building.
Properties represented at computational-cell scale.
Fine terrain inside the same regular computational grid.
| Control | Purpose |
|---|---|
dtout, dthisout | Map and history output intervals |
dtmaxout | Maximum timestep-output control |
huthresh | Wet/flow depth threshold |
advection | Advection option |
storevelmax, storefluxmax | Optional maximum/output fields |
Build prepares inputs and creates the SFINCS project. Run executes it through the selected validated backend.
Prepare data and construct the engine workspace.
Prepare required inputs, then execute SFINCS.
Follow progress in Jobs and Logs. The response control appears only when needed. Cancel terminates the full Windows process tree, including WSL children.
Generate maximum flood-depth products and compare modeled water levels with gauges or high-water marks.
Separate coastal, precipitation, and river contributions with eight factorial scenarios, then connect hazard to exposure, duration, and equity.
100 × [impact Shapley share − flooded-area Shapley share]. Positive means consequence-heavy.Use Analyze the parent run only for one completed flood map without driver attribution. Overture provides buildings/roads; WorldPop provides population.
The Results page shows viewable products; the run folder preserves the full technical record.
Results lists PNG/JPG, CSV, and JSON below results/, grouping matching products into Figure, Table, and Overview tabs. NetCDF, GeoTIFF, GeoParquet, caches, logs, and scenario workspaces stay on disk.
<run>/
data/
model/main/ # SFINCS workspace
forcing/{netcdf,tables}/
terrain/rasters/
surface/{rasters,tables}/
geospatial/vectors/
validation/water_level/
attribution/{scenarios,exposure}/
previews/{terrain,surface,forcing}/
results/
simulation/{figures,tables,reports}/
evaluation/{figures,tables,reports,rasters}/
attribution/{figures,tables,reports,rasters}/
exposure/{figures,tables,reports,vectors}/
metadata/{run_state.json,artifact_catalog.json}
logs/{build,simulation,analysis}/
work/hydromt/
The desktop is recommended; YAML and CLI support reproducibility and advanced workflows.
AutoCF.cmd examples\sfincs_agent_subgrid_config.yml build
AutoCF.cmd examples\sfincs_agent_subgrid_config.yml run
AutoCF.cmd examples\sfincs_agent_subgrid_config.yml evaluate
AutoCF.cmd examples\sfincs_agent_subgrid_config.yml impact
| Operation | Meaning |
|---|---|
build | Prepare data/build project |
run | Run built project |
full | Build and run |
evaluate | Create maps, plots, metrics |
impact | Analyze buildings, roads, population |
project:
layout_version: 2
name: ida_2021
output_dir: ./runs
cache_dir: ./cache
overwrite: false
impact:
enabled: false
flood_depth_thresholds_m: [0.15, 0.3, 0.6, 1.0, 2.0]
analysis_resolution_m: 30.0
buildings: {enabled: true, source: overture_maps}
roads: {enabled: true, source: overture_maps}
population:
enabled: true
source: worldpop_api_v2
year: simulation
resolution: 100m
Riva answers workflow questions, searches installed documentation, and interprets saved results without asking a language model to calculate scientific values.

Curated answers and deterministic result interpretation work without Qwen. Optional Install local AI downloads Qwen3.5-0.8B Q4_0 (563 MB) and llama.cpp locally. It needs no API key, is used only to synthesize selected documentation, and unloads during scientific jobs. Riva does not edit YAML or launch simulations.
Start with the visible status and Jobs and Logs. Preserve the exact error and stage when requesting help.
Verify the backend. For WSL2, run Install / repair runtime, restart only if requested, repeat installation, then check status. For Docker, ensure Docker Desktop is running.
Open Validation in Jobs and Logs. AutoCF directs you to the owning page. Check domain, dates, sources, paths, and dependencies. Drafts may be saved but not run.
Inspect terrain_resolution_safety.json. Consider a coarser grid, smaller domain/buffer, or reduced sampling after assessing scientific needs.
Inspect vertical_datum_provenance.json. If rigorous conversion is mandatory, choose transformez and resolve the reported coverage/resource problem.
Confirm preparation completed, inspect logs, and use layer controls. AORC needs internet; generated NetCDF files need not be selected manually.
The first request needs internet. File-based domains still work. The catalog is cached after success.
Only viewable PNG/JPG, CSV, and JSON appear. Open the folder for NetCDF, GeoTIFF, GeoParquet, logs, and technical files.