avni.data.CMT module#

avni.data.CMT.update_gcmt_nbn(standard='allorder.nbn', quick='qcmt.nbn')[source]#

Updates the NBN file containing moment tensors from the Global CMT Project.

standard : file used in the standard catalogs of published CMTs

quick : file containing quick and unpublished CMTs from recent earthquakes

avni.data.CMT.load_gcmt_nbn(choice=1, standard='allorder.nbn', quick='qcmt.nbn')[source]#

Updates the NBN file containing moment tensors from the Global CMT Project.

choice: 1 for both standard/quick (default), 2 for standard, 3 for quick

standard : file used in the standard catalogs of published CMTs

quick : file containing quick and unpublished CMTs from recent earthquakes

avni.data.CMT.get_gcmt_info(cmtname, prefixes=['J', 'C'])[source]#

Updates the NBN file containing moment tensors from the Global CMT Project.

cmtname : CMTNAME of the earthquake in the Global CMT catalog.

prefix : Some prefixes that are also checked if cmtname is not found.