interpolate

Dear obspyers,

I’m using Obspy 0.9.2 and I have a problem with interpolate. When I try to used it in a stream or a trace I always get this error message:

AttributeError: ‘Stream’ object has no attribute ‘interpolate’

Did anyone notice that?

Cheers,

Catarina Matos

Dear Catarina,

unfortunately the interpolate() methods have been introduced after the 0.9.2 release - see https://github.com/obspy/obspy/commit/43897ab18ec2675311d0bbe4f72192278302166c

Its really time to release a new version ...

Ofc you could just use scipy.interpolate.interp1d directly.

Cheers,
Robert