Skip to content
Snippets Groups Projects
Commit a5e8e814 authored by Shavers, Nicholas H's avatar Shavers, Nicholas H
Browse files

filter channels on write - specifying outchannels works now

parent b80e3f17
No related branches found
No related tags found
1 merge request!381MiniSeedFactory - File Implementations
...@@ -638,7 +638,10 @@ class MiniSeedFactory(TimeseriesFactory): ...@@ -638,7 +638,10 @@ class MiniSeedFactory(TimeseriesFactory):
""" """
try: try:
# Write to MiniSEED # Write to MiniSEED
timeseries.write(fh, format="MSEED") ts = Stream()
for channel in channels:
ts += timeseries.select(channel=channel)
ts.write(fh, format="MSEED")
except Exception as e: except Exception as e:
raise TimeseriesFactoryException( raise TimeseriesFactoryException(
......
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