diff --git a/conductor/tracks/enhanced_water_processing_20260203/plan.md b/conductor/tracks/enhanced_water_processing_20260203/plan.md index 7cef1c0..3a13c8b 100644 --- a/conductor/tracks/enhanced_water_processing_20260203/plan.md +++ b/conductor/tracks/enhanced_water_processing_20260203/plan.md @@ -7,20 +7,21 @@ - [ ] Add `lakes` field to `RiverErosionConfig`. ## Phase 2: Lake Depth Lookup & Verification -- [ ] Task: Implement `_find_lake_depths` in `geodata_pipeline/river_erosion.py` +- [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 +- [~] Task: Create a verification mode/log - [ ] 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` +- [~] 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). ## Phase 4: Composition Logic -- [ ] Task: Update `erode_rivers` in `geodata_pipeline/river_erosion.py` +- [x] Task: Update `erode_rivers` in `geodata_pipeline/river_erosion.py` (67bd538) - [ ] Load Manual Mask (if exists). - [ ] **Overlay Logic:** - If Green: Set Depth = 0, Mask = 0.