Parameters: |
- filename (str) SAC file to be read.
- headonly (bool, optional) If set to True, read only the head. This is most useful
for scanning available data in huge (temporary) data sets.
- debug_headers (bool, optional) Extracts also the SAC headers 'nzyear', 'nzjday',
'nzhour', 'nzmin', 'nzsec', 'nzmsec', 'delta', 'scale', 'npts',
'knetwk', 'kstnm', 'kcmpnm' which are usually directly mapped to the
Stream object if set to True. Those
values are not synchronized with the Stream object itself and won’t
be used during writing of a SAC file! Defaults to False.
- fsize (bool, optional) Check if file size is consistent with theoretical size
from header. Defaults to True.
|