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

This is a pre-release — install with: 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: https://autofloods.readthedocs.io/en/latest/

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.0a4.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.0a4-py3-none-any.whl (57.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: autofloods-0.1.0a4.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.0a4.tar.gz
Algorithm Hash digest
SHA256 9a027b98ddcbffe695031eed274914375c07225396f0b14ba0319d23d2947fdf
MD5 2f0c6b558f8d07c127e5a02db662d8e9
BLAKE2b-256 3382ce415567169f7486399c2390683d1092fdd4fc62e9db7024a6eae149731b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: autofloods-0.1.0a4-py3-none-any.whl
  • Upload date:
  • Size: 57.9 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.0a4-py3-none-any.whl
Algorithm Hash digest
SHA256 053f3f9da7e5d816177892f0e4c8a88dbc2be2e0ae85bd977fabaacca8b64e54
MD5 9a448b7a9b7fd44974e489cfd5f9318a
BLAKE2b-256 a9b19052fdf6e3a506ec82d5c73d5b83c6413588c0ab969913c735c892fe2df9

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