diff --git a/requirements.txt b/requirements.txt index 3567507..738931a 100644 --- a/requirements.txt +++ b/requirements.txt @@ -14,7 +14,7 @@ python-slugify==1.2.4 ## SECOND LEVEL DEPS -# (We could probably comment them out, but hey) +# (comment them out if you have compatibility issues) appdirs==1.4.3 click==6.7 diff --git a/web/run.py b/web/run.py index 3f4623e..0089c7b 100755 --- a/web/run.py +++ b/web/run.py @@ -331,8 +331,8 @@ def get_active_targets(): def retrieve_amda_netcdf(orbiter, what, started_at, stopped_at): """ - Handles remote querying Myriam's API, downloading, extracting and caching - the netCDF files. + Handles remote querying AMDA's API for URLs, and then downloading, + extracting and caching the netCDF files. :param orbiter: key of the source in the YAML config :param what: either 'model' or 'orbit', a key in the config of the source :param started_at: @@ -371,6 +371,8 @@ def retrieve_amda_netcdf(orbiter, what, started_at, stopped_at): finally: retries += 1 if not remote_gzip_files: + log.error("Failed to fetch gzip files list for %s at '%s' : %s" % + (orbiter, url, errors)) abort(400, "Failed to fetch gzip files list for %s at '%s' : %s" % (orbiter, url, errors)) else: -- libgit2 0.21.2