pyrocko.io.css

logger = <Logger pyrocko.io.css (WARNING)>

See http://nappe.wustl.edu/antelope/css-formats/wfdisc.htm for file format reference.

exception CSSWfError(**kwargs)[source]
class CSSHeaderFile(filename)[source]

CSS Header File

Parameters:filename – filename of css header file

Note, that all binary data files to which the underlying header file points to will be loaded at once. It is therefore recommended to split header files for large data sets

read_wf_file(fn, nbytes, dtype, foff=0)[source]

Read binary waveform file :param fn: filename :param nbytes: number of bytes to be read :param dtype: datatype string

read()[source]

read header file

iload(file_name, load_data, **kwargs)[source]
Parameters:
  • file_name – css header file name
  • load_data – whether or not to load binary data