obspy.io.rg16.core._read_rg16

_read_rg16(filename, headonly=False, starttime=None, endtime=None, merge=False, contacts_north=False, details=False, **kwargs)[source]

Read Fairfield Nodal’s Receiver Gather File Format version 1.6-1.

Warning

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

Parameters:
  • filename (str or file-like object) – path to the rg16 file or a file object.

  • headonly (optional, bool) – If True don’t read data, only main information contained in the headers of the trace block is read.

  • starttime (optional, UTCDateTime) – If not None dont read traces that start before starttime.

  • endtime (optional, UTCDateTime) – If not None dont read traces that start after endtime.

  • merge (bool) – If True merge contiguous data blocks as they are found. For continuous data files having 100,000+ traces this will create more manageable streams.

  • contacts_north (bool) – If this parameter is set to True, it will map the components to Z (1C, 3C), N (3C), and E (3C) as well as correct the polarity for the vertical component.

  • details (bool) – If True, all the information contained in the headers is read).

Returns:

An ObsPy Stream object. Frequencies are expressed in hertz and time is expressed in second (except for date).