groundmotion-processing icon indicating copy to clipboard operation
groundmotion-processing copied to clipboard

Free field check on stream with many traces

Open emthompson-usgs opened this issue 5 years ago • 0 comments

When we end up with a Stream (not a StationStream) with many traces in it (e.g., a structural or geotech array) our free field checking code will fail. This is at least partly because the free field check in the __init__ method of StreamCollection only checks the first trace in the stream while looping over a list of streams. I think that probably the easiest solution would be to "flatten" the list of streams to ensure that each stream contains only one trace, since the stream grouping at this stage is not meaningful.

emthompson-usgs avatar Dec 10 '19 21:12 emthompson-usgs