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
Functions
|
Function to calculate the distance in km between two points. |
|
Read catalog output .dat file for GMT |
Module Contents
- 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