The original code in the main PWA repo was retained at the time where this HC tool was created. Changes have since been made which may need to be incorporated to the present repo for consistency.
Bug fixes (transfer to hc module):
- Raster resample relies on gdal rather than wbt (potential bug fix. Check final HC functionality after new features are added and migrate if necessary)
New features (check for equivalent functions in hc module and migrate if necessary):
- New feature to handle multiple lidar rasters
- CRS in inputs and outputs is not actively managed
- WBT zonal statistics doesn't seem to be accounting for pixel size, so the outputs need to be adjusted for pixel area. Previous code had a hard-coded multiplier 55
- New feature to align the depression raster with the hydrofabric raster
After these fixes, the module should be tested using a test script in the PWA-hydro-conditioning-main repo.
The original code in the main PWA repo was retained at the time where this HC tool was created. Changes have since been made which may need to be incorporated to the present repo for consistency.
Bug fixes (transfer to hc module):
New features (check for equivalent functions in hc module and migrate if necessary):
After these fixes, the module should be tested using a test script in the PWA-hydro-conditioning-main repo.