Skip to content

Memory-Efficient I/O-Improved Drainage Analysis System (MIDAS)

Notifications You must be signed in to change notification settings

HuidaeCho/midas

Folders and files

NameName
Last commit message
Last commit date

Latest commit

2a3d0ed · Mar 7, 2025

History

29 Commits
May 10, 2024
Mar 7, 2025

Repository files navigation

Memory-Efficient I/O-Improved Drainage Analysis System (MIDAS)

Predefined flow direction encodings in GeoTIFF: power2 (default, r.terraflow, ArcGIS), taudem (d8flowdir), 45degree (r.watershed), degree
image image image image

Custom flow direction encoding is also possible by passing -e E,SE,S,SW,W,NW,N,NE (e.g., 1,8,7,6,5,4,3,2 for taudem).

Binaries for Windows

  • MEFA (Memory-Efficient Flow Accumulation)
  • MESHED (Memory-Efficient Watershed Delineation)
  • MELFP (Memory-Efficient Longest Flow Path)
  • MEFLEN (Memory-Efficient Flow Length)

Testing

git clone https://github.com/HuidaeCho/midas.git
cd midas\windows\test
pretest.bat
test.bat

Benchmark results

MEFA

MEFA Graphical Abstract

System specifications

  • CPU: Intel Core i9-12900 @ 2.40GHz
  • Cores: 16
  • Logical processors: 24
  • Memory: 64 GiB
  • OS: Windows 11

Citation

  • Huidae Cho, July 2023. Memory-Efficient Flow Accumulation Using a Look-Aroun d Approach and Its OpenMP Parallelization. Environmental Modelling & Software 167, 105771. doi:10.1016/j.envsoft.2023.105771.

MESHED

image

MELFP

image

MEFLEN

image

System specifications

  • CPU: Intel Core i9-12900 @ 2.40GHz
  • Cores: 16
  • Logical processors: 24
  • Memory: 64 GiB
  • OS: Windows 11
    • Downstream flow length (compute time only)
      • Texas results
        • 8.2 s (24 threads)
        • 19.6 s (1 thread)
      • CONUS results
        • 4.7 m (24 threads)
        • 7.3 m (1 thread)
  • OS: Linux 6.6.30
    • Downstream flow length (compute time only)
      • Texas results
        • 9.4 s (24 threads)
        • 20.0 s (1 thread)
      • CONUS results
        • 2.0 m (24 threads)
        • 4.0 m (1 thread)

About

Memory-Efficient I/O-Improved Drainage Analysis System (MIDAS)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published