Florian-Katerndahl / callusgs

callusgs Aims To Be A Complete Implementation Of USGS's machine-to-machine API (v1.5.0)
https://callusgs.readthedocs.io/en/latest/
GNU General Public License v2.0
0 stars 0 forks source link

Store information about requested downloads in a SQL database #1

Open Florian-Katerndahl opened 1 month ago

Florian-Katerndahl commented 1 month ago

Storing information about requested/failed/successful scene requests would allow the program to be used similarly to landsatlinks/FORCE's download suite.

Additionally, it may be possible to implement a background task which checks for availability while other threads already query the database for downloadable products.

Florian-Katerndahl commented 1 month ago

Using the sqlite3 module from the standard library should suffice and not introduce additional dependencies

Florian-Katerndahl commented 1 month ago
Florian-Katerndahl commented 1 month ago

Different satellites have different metadata, so if all is to be stored, there would need to be a case distinction. The easier and probably better approach would be to select a subset of attributes