Added
- For `dem_utils.get_3dep` use `seamless-3dep` package to support any resolution not
only 10, 30, and 60 meters. This Python library is more performant and caches
downloaded intermediate files to avoid downloading the same files multiple times.
This change requires adding optional `seamless-3dep` as a new dependency for the
`dem_utils` module.
- For `dem_utils.get_nasadem` use `tiny-retriever` package for a more performant and
reliable way to download the NASADEM data. Similarly, it caches downloaded
intermediate files to avoid downloading the same files multiple times. This change
requires adding `tiny-retriever` as a optional new dependency for the `dem_utils`
module.
Fixed
- In `whitebox_tools` function when `files_to_save` is not provided, before moving the
output files to `save_dir`, check if the output files already exist in the
`save_dir` and remove them before moving the new output files. This is to avoid an
issue with `shutil.move` which fails to overwrite existing files.