ThomasLecocq / SeismoRMS

A simple Jupyter Notebook example for getting the RMS of a seismic signal (from PSDs)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

setting the allow_pickle parameter of PPSD.load_npz

meghansmiller opened this issue · comments

I was having an issue with Line 10 in Step 5, which was resulting in this (shortened here) error:

ValueError: Loading PPSD results saved with ObsPy versions < 1.2 requires setting the allow_pickle parameter of PPSD.load_npz to True (needs numpy>=1.10).

So I changed Line 10 in Step 5 to:
ppsds[mseedid].add_npz(fn, allow_pickle=True)

Hi Meghan, thanks for reporting.

Out of curiosity, did you update ObsPy (from version < 1.2 to version 1.2) in between two runs?