pyrocko.io.enhanced_sacpz
¶
-
class
EnhancedSacPzResponse
(**kwargs)[source]¶ Undocumented.
-
♦
codes
¶ tuple
of 4str
objects, default:(None, None, None, None)
-
♦
tmin
¶ fixme!, optional
-
♦
tmax
¶ fixme!, optional
-
♦
lat
¶ float
-
♦
lon
¶ float
-
♦
elevation
¶ float
-
♦
depth
¶ float
-
♦
dip
¶ float
-
♦
azimuth
¶ float
-
♦
input_unit
¶ str
-
♦
output_unit
¶ str
-
♦
response
¶
-
♦
-
iload_filename
(filename, **kwargs)¶ Read SACPZ information from named file.
-
iload_dirname
(dirname, **kwargs)¶ Read SACPZ information from directory of SACPZ files.
-
iload_glob
(pattern, **kwargs)¶ Read SACPZ information from files matching a glob pattern.
-
iload
(source, **kwargs)¶ Load SACPZ information from given source(s)
The
source
can be specified as the name of a SACPZ file, the name of a directory containing SACPZ files, a glob pattern of SACPZ files, an open filehandle or an iterator yielding any of the forementioned sources.This function behaves as a generator yielding
EnhancedSacPzResponse
objects.
-
make_stationxml
(responses, inconsistencies='warn')[source]¶ Create stationxml from “enhanced” SACPZ information.
Parameters: responses – iterable yielding EnhancedSacPzResponse
objectsReturns: pyrocko.fdsn.station.FDSNStationXML
object