diff --git a/toargridding/toar_rest_client.py b/toargridding/toar_rest_client.py index 1ed3a57ff0be96a5bd30758e71cf4eacffaef3f6..7bd52a22569c3636b3c4a9857270f2676cf7b2bc 100644 --- a/toargridding/toar_rest_client.py +++ b/toargridding/toar_rest_client.py @@ -443,9 +443,12 @@ class AnalysisServiceDownload(AnalysisService): needs_fresh_download = (not self.use_downloaded) or (not filename.is_file()) if needs_fresh_download: + print("Performing request to TOAR DB") response = self.connection.get(query_options) with open(filename, "w+b") as downloaded_file: downloaded_file.write(response.content) + else: + print(f"Loading already downloaded data from {filename}") with open(filename, "r+b") as data_file: content = data_file.read()