From de56b6cf872d342735a1b843f66c1d0e20e97cc7 Mon Sep 17 00:00:00 2001 From: Hal Simpson <hasimpson@usgs.gov> Date: Fri, 27 Mar 2015 17:32:37 -0600 Subject: [PATCH] Added default observatory, channels, type and interval, to match other io Factories. --- geomagio/iaga2002/MagWebFactory.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/geomagio/iaga2002/MagWebFactory.py b/geomagio/iaga2002/MagWebFactory.py index f2bab6c12..11adb2487 100644 --- a/geomagio/iaga2002/MagWebFactory.py +++ b/geomagio/iaga2002/MagWebFactory.py @@ -13,6 +13,9 @@ MAGWEB_URL_TEMPLATE = 'http://magweb.cr.usgs.gov/data/magnetometer/' + \ class MagWebFactory(IAGA2002Factory): """IAGA2002Factory configured for magweb.cr.usgs.gov""" - def __init__(self): + def __init__(self, observatory=None, channels=None, type=None, + interval=None): """Create a IAGA2002Factory configured to use magweb.cr.usgs.gov""" - IAGA2002Factory.__init__(self, MAGWEB_URL_TEMPLATE) + IAGA2002Factory.__init__(self, MAGWEB_URL_TEMPLATE, + observatory=observatory, channels=channels, type=type, + interval=interval) -- GitLab