I have a test StationXML file that is part of the IRIS validation test suite.
It contains a response with this stage in it:
<Stage number="1">
<Decimation>
<InputSampleRate>512000.0</InputSampleRate>
<Factor>1</Factor>
<Offset>0</Offset>
<Delay>0.0</Delay>
<Correction>0.0</Correction>
</Decimation>
<StageGain>
<Value>0.4</Value>
<Frequency>1.0</Frequency>
</StageGain>
</Stage>
This stage does not specify a PolesZeros/Coefficients/etc element; it
is designed to fail IRIS validation rule 423.
Obspy reads this stage into a generic ResponseStage but it drops the decimation
information (e.g., stage.decimation_input_sample_rate is None), making it look like any other stage containing only a stage.stage_gain.
Is this a bug ?
I’ll attach the xmlfile to this post.
Thanks!
F1_423.xml (30.0 KB)