Hi All
Q: Is it possible to limit the size of the list used by obspy.core.trace.Trace.stats.processing
Background:
I’m working on a utility that will listen to seedlink streams temporarily storing the data in a ringbuffer. The ringbuffer is currently implemented using merge() and trim() methods of the obspy.core.stream.Stream class.
However each use of trim() adds an entry to obspy.core.trace.Trace.stats.processing so with time this list stands to grow large unless limited in size. Currently my workaround is to pop that last element of the list after each usage of the trim() method, but perhaps there’s a better way to handle this.
regP