avni.api.cmt module#

global cmt api class

class avni.api.cmt.CMT(client)[source]#

Bases: object

fetchCMTevents(cmt_filters={})[source]#

fetches events from CMT, returns pandas dataframe. Inputs:

cmt_filters = dictionary for filtering:

keys can be: ‘date_start’,’date_end’,’depth_min_km’, ‘depth_max_km’,’mag_min’ or ‘mag_max’ date keys are strings: ‘YYYY-MM-DD’ or ‘YYYY-MM-DD HH:MM:SS’ other keys are integer or float values. API defaults mag_min to 5, no other defaults.