From b0d0ab018920af31bc45a6c4530955d9e076f2bb Mon Sep 17 00:00:00 2001 From: Jeremy Fee <jmfee@usgs.gov> Date: Thu, 5 Dec 2019 15:34:31 -0700 Subject: [PATCH] Add miniseed factory to controller --- geomagio/Controller.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/geomagio/Controller.py b/geomagio/Controller.py index 636377d8d..20ba7a4a1 100644 --- a/geomagio/Controller.py +++ b/geomagio/Controller.py @@ -328,6 +328,12 @@ def get_input_factory(args): port=args.input_port, locationCode=args.locationcode, **input_factory_args) + elif input_type == 'miniseed': + input_factory = edge.MiniSeedFactory( + host=args.input_host, + port=args.input_port, + locationCode=args.locationcode, + **input_factory_args) elif input_type == 'goes': # TODO: deal with other goes arguments input_factory = imfv283.GOESIMFV283Factory( @@ -740,6 +746,7 @@ def parse_args(args): 'iaga2002', 'imfv122', 'imfv283', + 'miniseed', 'pcdcp')) parser.add_argument('--input-file', -- GitLab