Skip to content
Snippets Groups Projects
Commit 0ac27285 authored by Erin (Josh) Rigler's avatar Erin (Josh) Rigler Committed by Wilbur, Spencer Franklin
Browse files

Use self.observatories to determine number of inputs

Previously use the number of traces in the input Stream. This could
be fewer than the number of desired observatories if a given input's
data was completely missing.
parent 46cc1425
No related branches found
No related tags found
2 merge requests!223Attempt StringIO after failed BytesIO file read,!212Draft: Reattempt to merge old Iris-Factory Branch from Swilbur's local repo
......@@ -122,7 +122,7 @@ class AverageAlgorithm(Algorithm):
self.outlocation = self.outlocation or timeseries[0].stats.location
self.min_count = self.min_count or len(timeseries)
self.min_count = self.min_count or len(self.observatories)
self.min_count_start = self.min_count_start or timeseries[0].stats.starttime
self.min_count_end = self.min_count_end or timeseries[0].stats.endtime
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment