5.9.1.1. eqcorrscan.utils.sfile_util.EVENTINFO

class eqcorrscan.utils.sfile_util.EVENTINFO(time=<Mock name='mock.UTCDateTime()' id='4637247248'>, loc_mod_ind=u' ', dist_ind=u' ', ev_id=u' ', latitude=nan, longitude=nan, depth=nan, depth_ind=u' ', loc_ind=u' ', agency=u' ', nsta=0, t_RMS=nan, Mag_1=nan, Mag_1_type=u' ', Mag_1_agency=u' ', Mag_2=nan, Mag_2_type=u' ', Mag_2_agency=u' ', Mag_3=nan, Mag_3_type=u' ', Mag_3_agency=u' ')[source]

Header information for seisan events, again all fields can be left blank for a default empty header. The print function for header will print important information, but not as seen in an S-file.

For more information on parameters see the seisan manual.

Attributes:
type time:obspy.UTCDateTime
param time:Event origin time
type loc_mod_ind:
 str
param loc_mod_ind:
 
type dist_ind:str
param dist_ind:Distance flag, usually ‘L’ for local, ‘R’ for regional and ‘D’ for distant
type ev_id:str
param ev_id:Often blank, ‘E’ denotes explosion and fixes depth to 0km
type latitude:float
param latitude:Hypocentre latitude in decimal degrees
type longitude:float
param lognitude:
 Hypocentre longitude in decimal degrees
type depth:float
param depth:hypocentre depth in km
type depth_ind:str
param depth_ind:
 
type loc_ind:str
param loc_ind:
type agency:str
param agency:Reporting agency, three letters
type nsta:int
param nsta:Number of stations recording
type t_RMS:float
param t_RMS:Root-mean-squared time residual
type Mag_1:float
param Mag_1:first magnitude
type Mag_1_type:
 str
param Mag_1_type:
 Type of magnitude for Mag_1 (‘L’, ‘C’, ‘W’)
type Mag_1_agency:
 str
param Mag_1_agency:
 Reporting agency for Mag_1
type Mag_2:float
param Mag_2:second magnitude
type Mag_2_type:
 str
param Mag_2_type:
 Type of magnitude for Mag_2 (‘L’, ‘C’, ‘W’)
type Mag_2_agency:
 str
param Mag_2_agency:
 Reporting agency for Mag_2
type Mag_3:float
param Mag_3:third magnitude
type Mag_3_type:
 str
param Mag_3_type:
 Type of magnitude for Mag_3 (‘L’, ‘C’, ‘W’)
type Mag_3_agency:
 str
param Mag_3_agency:
 Reporting agency for Mag_3

Note: Depreciated legacy function, use the obspy.core.event classes. This will be removed in future releases.

__init__(time=<Mock name='mock.UTCDateTime()' id='4637247248'>, loc_mod_ind=u' ', dist_ind=u' ', ev_id=u' ', latitude=nan, longitude=nan, depth=nan, depth_ind=u' ', loc_ind=u' ', agency=u' ', nsta=0, t_RMS=nan, Mag_1=nan, Mag_1_type=u' ', Mag_1_agency=u' ', Mag_2=nan, Mag_2_type=u' ', Mag_2_agency=u' ', Mag_3=nan, Mag_3_type=u' ', Mag_3_agency=u' ')[source]

Methods

__init__([time, loc_mod_ind, dist_ind, ...])