obspy.io.gcf.core._read_gcf

_read_gcf(filename, headonly=False, **kwargs)[source]

Reads a GCF file and returns a Stream object.

only GCF files containing data records are supported.

Warning

This function should NOT be called directly, it registers via the ObsPy read() function, call this instead.

Parameters:
  • filename (str) GCF file to be read.
  • headonly (bool, optional) If True read only head of GCF file.
  • channel_prefix (str, optional) Channel band and instrument codes. Defaults to HH.
Return type:

Stream

Returns:

Stream object containing header and data.

Example

>>> from obspy import read
>>> st = read("/path/to/20160603_1955n.gcf", format="GCF")