Lion Krischer
Lion Krischer
I've written a basic plug-in for this here: https://github.com/krischer/libmseed3_obspy_plugin I'm not entirely sure how stabilized the format is so I'd wait a bit until we integrate it into ObsPy.
``` python In [2]: obspy.read_inventory()[0][0][0].response.get_sacpz() --------------------------------------------------------------------------- AttributeError Traceback (most recent call last) in () ----> 1 obspy.read_inventory()[0][0][0].response.get_sacpz() /Users/lion/workspace/code/obspy/obspy/core/inventory/response.py in get_sacpz(self) 1338 paz = self.get_paz() 1339 sensitivity = self.instrument_sensitivity.value -> 1340...
Can you put the full code you used for the figures here? sacpz should be equivalent to the first stage but with the overall sensitivity and the normalization factor.
@lileipku00 I've processed literally hundreds of thousands of files in a loop and this never occured to me. Do by chance also plot something in the loop? But who knows...maybe...
But we should definitely track that down. Do you by chance have a small code + data snippets that reproduces that? continuously processing the same file should also trigger the...
Can somebody produce a smallish example including all data and what not to reproduce the memory leak? I tried for a bit but could not do it. Thanks!
> @krischer for now the loop over number of poles/zeros lives in the driver Python script quoted above. That part could totally also be integrated into the PR, as some...
> We tend to force the sign of the poles. However, we are starting with an initial model and then perturbing that. Do you think adding an optional `initial_guess` would...
Instead of basing the test case on two StationXML files it would probably be better to just create some dummy Inventory objects and perform the test on these. Avoids having...
This is really a very much needed development! A few thoughts: 1. Instead of a decorator I would change the plug-in interfaces, e.g. the `_is_XXX()`, `_read_XXX()`, and `_write_XXX()` function to...