pylandsat sync-database doesn't throw an error nor a warning if the user has not properly configured the access to the data base. Instead, an empty data base is downloaded. See #5.
Solution
Write some control code that:
[ ] Checks that the .laads file exists and is non-empty. Throw a warning if not.
[ ] Checks that the data base exists and is non-empty. Throw an error if not.
Background
In order to download the data base a key file is required.
The key can be obtained by:
The key is typically stored at
~/.laads
. The data base, at/home/$USER/.local/share/pylandsat
References
Problem
pylandsat sync-database
doesn't throw an error nor a warning if the user has not properly configured the access to the data base. Instead, an empty data base is downloaded. See #5.Solution
Write some control code that:
.laads
file exists and is non-empty. Throw a warning if not.