Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

AutoFloods

AutoFloods is a Python package for automated flood mapping at scale from Sentinel-1 SAR imagery, with pluggable data sources and detection methods.

Quickstart

Install:

pip install --pre autofloods

Basic usage:

from autofloods import flood_mapper
from autofloods.sources import OPERASource

fm = flood_mapper(
    grid_shapefile='path/to/grid.gpkg',
    grid_id_list=[321],
    dry_years=[2024, 2024],
    slope_dir='resources/slope/',
    wet_duration=['2024/07', '2024/10'],
    source=OPERASource(),
    output_dir='output/my_run',
)

fm.get_dry_dates()
fm.generate_dry_date_ranges()
fm.get_s1_items(dry_wet='dry')
fm.read_scenes(dry_wet='dry')
fm.generate_mean_std_by_aoi()
fm.prepare_slope()
fm.prepare_wet_scenes()
fm.map_floods()
fm.merge_floods_by_date(export_raster=True)

See the documentation for full usage, API reference, and citation details: [link — TBD, Read the Docs not live yet]

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

autofloods-0.1.0a3.tar.gz (57.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

autofloods-0.1.0a3-py3-none-any.whl (58.0 kB view details)

Uploaded Python 3

File details

Details for the file autofloods-0.1.0a3.tar.gz.

File metadata

  • Download URL: autofloods-0.1.0a3.tar.gz
  • Upload date:
  • Size: 57.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.11.15

File hashes

Hashes for autofloods-0.1.0a3.tar.gz
Algorithm Hash digest
SHA256 00eb800ec219c205e7a56786e7aab24c9b62a9332e4040e839cac43d5116f29d
MD5 f1bb02c84dce4a56f50298bb2dfd7c83
BLAKE2b-256 00344fc11f0b6399903586e003f886eb40bc4f46564ae2c4f116b3af565b88a2

See more details on using hashes here.

File details

Details for the file autofloods-0.1.0a3-py3-none-any.whl.

File metadata

  • Download URL: autofloods-0.1.0a3-py3-none-any.whl
  • Upload date:
  • Size: 58.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.11.15

File hashes

Hashes for autofloods-0.1.0a3-py3-none-any.whl
Algorithm Hash digest
SHA256 c446b8db334d7564e8145cbdd09dd4031fbdc00f4eb487901727355b3219a7f8
MD5 257e1253f376d80f70583d58da08b94e
BLAKE2b-256 e1e68b865d50ef628aad01bc172e8897db2d6c7f1f00b5420dc3a7ed09275d4f

See more details on using hashes here.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page