Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ The Deep Terrain Routing Lab is aimed at developing ML tools for studying and pr
This component focuses on creating synthetic datasets for training and validating our terrain routing models:

- **Synthetic Digital Elevation Models (DEM)**: Generate DEMs that represent realistic topographical features.
- **Catchment Delineation**: Calculates DEM catchment boundaries (can be toggled on/off in config).
- **Synthetic Precipitation Layers**: Simulate precipitation events driving surface water response.

### 2. Terrain Routing Simulation
Expand All @@ -20,3 +21,4 @@ Simulate water flow across the synthetic DEMs to represent hydrologic response u
### 3. Deep Learning Model for Terrain Routing

Develop a neural network model to predict the distribution of water across the terrain rainfall.

3 changes: 2 additions & 1 deletion config/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,12 @@ routing:
# ----------------------------
dataset:
png_dir: "./dataset/png"
num_samples: 5 # number of synthetic scenarios
num_samples: 2 # number of synthetic scenarios
rain_snapshots: 5 # number of rainfall snapshots for ML input
snapshot_stride: 3 # time gap (timesteps) between each snapshot
use_momentum_routing: false # whether to use the ShallowWaterRouter
apply_cloud_mask: false
run_catchment_delineation: true # if true, run catchment.py after data generation

# ----------------------------
# Specifications for ML Model
Expand Down
1 change: 1 addition & 0 deletions environment/environment_cpu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,6 @@ dependencies:
- pyyaml
- pip
- pip:
- pysheds
- tensorboard
- torchviz
1 change: 1 addition & 0 deletions environment/environment_cuda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,6 @@ dependencies:
- pyyaml
- pip
- pip:
- pysheds
- tensorboard
- torchviz
1 change: 1 addition & 0 deletions environment/environment_mps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,6 @@ dependencies:
- pyyaml
- pip
- pip:
- pysheds
- tensorboard
- torchviz
3 changes: 3 additions & 0 deletions environment/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
numpy
scipy
matplotlib
plotly
pysheds
8 changes: 7 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,13 @@ authors = [
{name = "Jackson Laney", email = "jrlaney1@crimson.ua.edu"}
]
requires-python = ">=3.8"
dependencies = []
dependencies = [
"matplotlib",
"numpy",
"plotly",
"pysheds",
"scipy",
]

[tool.setuptools.packages.find]
where = ["src"]
Expand Down
Loading