Closed j08lue closed 5 years ago
As for the SRTM download, there is a SRTM download plugin for QGIS, but it seems not to be easily scriptable. We could install it with the toolbox though and advise the users to use it. Only downside: This plugin requires a NASA Earthdata account, while SRTM can also be retrieved from anonymous sources.
Alternatives: we could use this code https://svn.openstreetmap.org/applications/utils/import/srtm2wayinfo/python/srtm.py and build our own downloader. Or we build on our own Earthdata downloader.
But the most important part is actually the preprocessing with GDAL and GRASS.
Steps 2-5 are implemented in merge_and_warp script.
The steps are:
OBS: Before running TauDEM algorithms, ensure that your no data value is a float (e.g. -32768) and not “nan” or similar. TauDEM does read the GDAL no-data tag (or similar) in the tiff metadata, but is unable to deal with non-float values in general. This can yield ridiculous results (particularly if you have ocean cells in your DEM).