get_info_about_tele_events

Reads quakeml catalog to obtain info about the events.

Location: Chavannes-pres-renens, CH Date: Jan 2022 Author: Konstantinos Michailos

Attributes

data_root_dir

cat

net_loc

ev_loc

Functions

dist_calc(loc1, loc2)

Function to calculate the distance in km between two points.

qml2gmt(cat, output_name[, sort_by])

Read catalog output .dat file for GMT

Module Contents

get_info_about_tele_events.data_root_dir = '/media/kmichailos/SEISMIC_DATA/Data_archive'[source]
get_info_about_tele_events.dist_calc(loc1, loc2)[source]

Function to calculate the distance in km between two points.

Uses the flat Earth approximation. Better things are available for this, like gdal.

Parameters:
  • loc1 (tuple) – Tuple of lat, lon, depth (in decimal degrees and km)

  • loc2 (tuple) – Tuple of lat, lon, depth (in decimal degrees and km)

Returns:

Distance between points in km.

Return type:

float

Author:

Calum Chamberlain

get_info_about_tele_events.qml2gmt(cat, output_name, sort_by='depth')[source]

Read catalog output .dat file for GMT

get_info_about_tele_events.cat[source]
get_info_about_tele_events.net_loc = [47.0, 10.0, 0.0][source]
get_info_about_tele_events.ev_loc[source]