From 363e56993b8ad1a22855735392631c920bbe3731 Mon Sep 17 00:00:00 2001 From: NickSwainston Date: Thu, 9 Jan 2020 15:49:47 +0800 Subject: [PATCH] Updated the webservice url --- scripts/voltdownload.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/voltdownload.py b/scripts/voltdownload.py index 4baa912..2ffd4d4 100755 --- a/scripts/voltdownload.py +++ b/scripts/voltdownload.py @@ -266,7 +266,7 @@ def download_worker(url, filename, size, out, bufsize, prestage): file_size_dl += len(buff) if file_size_dl != file_size: - raise Exception('size mismatch %s %s' % str(file_size), str(file_size_dl)) + raise Exception('size mismatch %s %s' % (str(file_size), str(file_size_dl))) file_complete(filename) @@ -339,7 +339,7 @@ def main(): logger.info('Finding observation %s' % options.obs) - fileresult = query_observation(options.obs, 'mwa-metadata01.pawsey.org.au', + fileresult = query_observation(options.obs, 'ws.mwatelescope.org', options.filetype, options.timefrom, options.duration) if len(fileresult) <= 0: logger.info('No files found for observation %s and file type %s' % options.obs,