diff --git a/geomagio/Controller.py b/geomagio/Controller.py index 875483e0de69c92870aeaa441f7c03d5bdd8be40..7db68da0e5b45cd7c7a57232aed9f79f746df675 100644 --- a/geomagio/Controller.py +++ b/geomagio/Controller.py @@ -482,7 +482,8 @@ def main(args): if args.output_observatory is None: args.output_observatory = args.observatory elif args.observatory_foreach: - raise Exception("Cannot specify --output-observatory with --observatory-foreach") + raise Exception("Cannot specify" + + " --output-observatory and --observatory-foreach") if args.observatory_foreach: observatory = args.observatory diff --git a/geomagio/algorithm/AverageAlgorithm.py b/geomagio/algorithm/AverageAlgorithm.py index 662de7919ac30b4d08f20cb1a9d18829fa661279..dc11161a7de0e2866403ec6f1caacc46a6204751 100644 --- a/geomagio/algorithm/AverageAlgorithm.py +++ b/geomagio/algorithm/AverageAlgorithm.py @@ -133,7 +133,8 @@ class AverageAlgorithm(Algorithm): stream=stream, observatory='USGS', channel=self.outchannel, - type=stream[0].stats.data_type) + type=stream[0].stats.data_type, + interval=interval) # return averaged values as a stream return stream