Fault databases (dataset)
dataset.faults
- extract_faults(faults, wesn=(), lat=None, lon=None, radius=None, strike=None, dip=None, rake=None, restrict_to_radius=False)[source]
Select faults matching given geographical or geometric criteria.
Criteria might be combined.
- Parameters
faults (list of
siria.dataset.faults.fault_loader.active_faults.ActiveFault) – Faults to be scanned.wesn ((float, float, float, float)) – Bounding box in geographical coordinates. Faults (partially) within the box are returned. Give it as
(West, East, South, North).lat (optional, float) – Latitude in [deg] of the center point of the search area.
lonandradiusneed to be given as well.lon (optional, float) – Longitude in [deg] of the center point of the search area.
latandradiusneed to be given as well.radius (optional, float) – Search radius in [m] around
lat, lon.strike (optional, float) – Faults with a
and
are selected.
dip (optional, float) – Faults with a
and
are selected.
rake (optional, float) – Faults with a
and
are selected.
- Returns
Selected faults.
- Return type
list of
siria.dataset.faults.fault_loader.active_faults.ActiveFault
- load_faults_from_database(database='GEM', exclude_depthcontours=True, wesn=(), lat=None, lon=None, radius=None, strike=None, dip=None, rake=None, restrict_to_radius=False, **kwargs)[source]
Retrieve fault data in unique format from given database.
Arguments and keyword arguments for the specific database reader might be necessary. Faults can also be preselected when giving arguments for
extract_faults().- Parameters
database (string) – Fault database if choice. Choose between
DISS,EDSF(EDSF13),GEM(OpenGEM) orNOA(NOAFaults).exclude_depthcontours (optional, bool) –
EDSFdatabase ships also depth contours of the subduction zone. SetTrueto exclude them.
- Returns
Faults to be considered.
- Return type
list of
siria.dataset.faults.fault_loader.active_faults.ActiveFault