{
  "id": "flood-fill",
  "name": "Sea Level Rise Inundation",
  "version": "1.0",
  "description": "Connected flood-fill from ocean. Inland depressions stay dry.",
  "inputs": {
    "elevation": { "type": "raster-dem", "encoding": "terrarium" }
  },
  "params": [
    {
      "key": "sea_level_rise",
      "label": "Sea Level Rise",
      "type": "range",
      "min": 0,
      "max": 20,
      "step": 0.1,
      "default": 1,
      "unit": "m"
    }
  ],
  "output": {
    "type": "mask",
    "values": { "0": "dry", "1": "existing_water", "2": "inundated" }
  },
  "compute": "./flood-fill.js"
}
