conductor(plan): Mark all tasks for 'Enhanced Water Processing' as complete
This commit is contained in:
@@ -2,32 +2,32 @@
|
||||
|
||||
## Phase 1: Configuration & Integration
|
||||
- [x] Task: Update `geodata_pipeline/config.py` (62aa4ec)
|
||||
- [ ] Add `hydrolakes_dir` to `RawConfig`.
|
||||
- [ ] Define `LakeConfig` dataclass (enabled, source_path, default_depth_m, match_tolerance_m).
|
||||
- [ ] Add `lakes` field to `RiverErosionConfig`.
|
||||
- [x] Add `hydrolakes_dir` to `RawConfig`.
|
||||
- [x] Define `LakeConfig` dataclass (enabled, source_path, default_depth_m, match_tolerance_m).
|
||||
- [x] Add `lakes` field to `RiverErosionConfig`.
|
||||
|
||||
## Phase 2: Lake Depth Lookup & Verification
|
||||
- [x] Task: Create reproduction/verification test for lake rasterization in `tests/test_river_lakes.py`.
|
||||
- [x] Task: Implement `_find_lake_depths` in `geodata_pipeline/river_erosion.py`
|
||||
- [ ] Input: Manual Blue Mask blobs (as polygons or centroids).
|
||||
- [ ] Logic: Spatial query against HydroLAKES shapefile.
|
||||
- [ ] Return: Depth for each blob + metadata (ID, Distance).
|
||||
- [~] Task: Create a verification mode/log
|
||||
- [ ] Log the matching results (Tile, Blob location, Matched HydroLAKE ID, Depth, Distance).
|
||||
- [x] Input: Manual Blue Mask blobs (as polygons or centroids).
|
||||
- [x] Logic: Spatial query against HydroLAKES shapefile.
|
||||
- [x] Return: Depth for each blob + metadata (ID, Distance).
|
||||
- [x] Task: Create a verification mode/log
|
||||
- [x] Log the matching results (Tile, Blob location, Matched HydroLAKE ID, Depth, Distance).
|
||||
|
||||
## Phase 3: Manual Mask Loading
|
||||
- [~] Task: Implement `_load_manual_mask` in `geodata_pipeline/river_erosion.py`
|
||||
- [ ] Read PNG from `raw/river_masks_viz/{tile_id}.png`.
|
||||
- [ ] Return semantic mask layers: Water (Blue), Island (Green), Bridge (Red).
|
||||
- [x] Task: Implement `_load_manual_mask` in `geodata_pipeline/river_erosion.py`
|
||||
- [x] Read PNG from `raw/river_masks_viz/{tile_id}.png`.
|
||||
- [x] Return semantic mask layers: Water (Blue), Island (Green), Bridge (Red).
|
||||
|
||||
## Phase 4: Composition Logic
|
||||
- [x] Task: Update `erode_rivers` in `geodata_pipeline/river_erosion.py` (67bd538)
|
||||
- [ ] Load Manual Mask (if exists).
|
||||
- [ ] **Overlay Logic:**
|
||||
- [x] Task: Update `erode_rivers` in `geodata_pipeline/river_erosion.py` (f401a02)
|
||||
- [x] Load Manual Mask (if exists).
|
||||
- [x] **Overlay Logic:**
|
||||
- If Green: Set Depth = 0, Mask = 0.
|
||||
- If Red: Set Depth = 0, Mask = 0.
|
||||
- If Blue: Set Mask = 1.
|
||||
- Look up depth using `_find_lake_depths`.
|
||||
- Set Depth = Matched Lake Depth.
|
||||
- [ ] Combine with existing River erosion (max depth wins for intersections, but Blue overrides River shape).
|
||||
- [ ] Apply final depth map.
|
||||
- [x] Combine with existing River erosion (max depth wins for intersections, but Blue overrides River shape).
|
||||
- [x] Apply final depth map.
|
||||
Reference in New Issue
Block a user