SeismicData / pyasdf

Python Interface to ASDF based on ObsPy
http://seismicdata.github.io/pyasdf/
BSD 3-Clause "New" or "Revised" License
53 stars 30 forks source link

New get_waveform_attributes() method #39

Closed krischer closed 6 years ago

krischer commented 6 years ago

New method get_waveform_attributes() that returns a dictionary with all HDF5 attributes for each waveform in a station. Makes it simpler to write things requiring fast access to the attributes of waveforms without parsing them or directly accessing the h5py objects.

Includes tests and an example in the documentation for how to use it.

Fixes #38.