datacube-core
datacube-core copied to clipboard
Clean up usage of DeprecationWarning/FutureWarning
The Python warnings documentation says that we should be using FutureWarning for application user facing changes (Like configuration files). And DeprecationWarning for code/API changes.
There are several cases where we dump raw python warnings onto a CLI user's screen, which is a really ugly UX. The CLI tools should probably be handling warnings and errors in a friendlier way.
Originally posted by @omad in https://github.com/opendatacube/datacube-core/pull/1733#pullrequestreview-2724050429