dtarb / TauDEM

Terrain Analysis Using Digital Elevation Models (TauDEM) software for hydrologic terrain analysis and channel network extraction.
http://hydrology.usu.edu/taudem
Other
222 stars 115 forks source link

aread8 difference in GDAL versions > 3.4.3 #254

Open mluck opened 1 year ago

mluck commented 1 year ago

It looks as though something introduced in GDAL version 3.5 changes the output of aread8. I ran aread8 using the exact same code and data, with only the GDAL versions being different -- versions 3.1.2 - 3.4.3 produced one output while 3.5.3 - 3.6.3 produced a different output. In the following images of flowaccum.tif, green=1, blue=0, and white=nodata.

aread8 -p flowdir.tif -ad8 flowaccum.tif -wg headwaters.tif -nc

GDAL v3.4.3

image

GDAL 3.5.3

image
dtarb commented 1 year ago

Thanks for the heads up. It will need investigating.