obspy.io.nied.knet

obspy.io.nied.knet - K-NET/KiK-net read support for ObsPy

Reading of the K-NET and KiK-net ASCII format as defined on http://www.kyoshin.bosai.go.jp.

Private Functions

Warning

Private functions are mainly for internal/developer use and their API might change without notice.

_buffer_proxy

Calls a function with an open file or file-like object as the first argument.

_internal_is_knet_ascii

Checks if the file is a valid K-NET/KiK-net ASCII file.

_internal_read_knet_ascii

Reads a K-NET/KiK-net ASCII file and returns an ObsPy Stream object.

_is_knet_ascii

Checks if the file is a valid K-NET/KiK-net ASCII file.

_prep_hdr_line

Helper function to check the contents of a header line and split it.

_read_knet_ascii

Reads a K-NET/KiK-net ASCII file and returns an ObsPy Stream object.

_read_knet_hdr

Read the header values into a dictionary.

Exceptions

KNETException