Metadata Files

SeisBase.read_meta!Function
read_meta!(S, fmt, filestr [, keywords])

Generic wrapper for reading channel metadata (i.e., instrument parameters, responses). Reads metadata in file format fmt matching file pattern filestr into S.

This function is fully described in the official documentation at https://SeisBase.readthedocs.io/ under subheading Metadata Files.

Arguments

  • fmt::String: Lowercase string describing the file format.
  • fpat::Union{String, Vector{String}}: Read files with names matching pattern $filepat$. Supports wildcards.

For information on keyword arguments, see SeisBase.KW

See also: SeisBase.KW, get_data, read_data

source

Supported File Formats

File FormatString
Dataless SEEDdataless
FDSN Station XMLsxml
SACPZsacpz
SEED RESPresp

Warning: Dataless SEED, SACPZ, and RESP files must be Unix text files; DOS text files, whose lines end in "\r\n", will not read properly. Convert with dos2unix or equivalent Windows Powershell commands.

Supported Keywords

KWUsed ByTypeDefaultMeaning
memmapallBoolfalseuse Mmap.mmap to buffer file?
msrsxmlBoolfalseread full MultiStageResp?
sallTimeSpecStart time
tallTimeSpecTermination (end) time
unitsrespBoolfalsefill in MultiStageResp units?
dataless
vallInteger0verbosity

Note: mmap=true improves read speed for ASCII formats but requires caution. Julia language handling of SIGBUS/SIGSEGV and associated risks is unknown and undocumented.