Closed stphnmrgn closed 8 months ago
UPDATE: it seems this was not an issue with projections, but rather compressions. When the input DEM used DEFLATE PREDICTOR=2|3, WBW would fail. When the input DEM used no compression or DEFLATE PREDICTOR=1, WBW seems to work fine.
@jblindsay Thank you for the great work on whitebox. While testing some tools in the new whitebox-workflows (1.2.2) it became apparent there are issues when writing and/or operating on raster datasets in projected coordinate system EPSG 5070 (NAD83/Conus Albers). Understood that raster-input-to-raster-output projections are challenging because every raster format stores projection information in different ways and that Whitebox is a one-man shop. Just wanted to put this on your radar in the hope it helps Whitebox.
tools tested:
Test for
write_raster
on DEM using EPSG 5070:Results for
write_raster
on DEM using EPSG 5070:This same result appears when performing
fill_pits
and/orbreach_depressions_least_cost
before writing the raster to disk.Test for
write_raster
on DEM using EPSG 4326:Results for
write_raster
on DEM using EPSG 4326:Environment
OS: Ubuntu 22.04.4 LTS on Windows 10 WSL Conda: 23.5.2 Python: 3.9.18 Pip: 23.2.1 Whitebox-Workflows: 1.2.2