Skip to content

Check full SEED id of picks against Trace header information #388

@cjhopp

Description

@cjhopp

Describe the bug
Currently, picks used when generating a Template are only checked against the Station and Channel attributes in the Trace header. For cases (this station, for instance) where multiple sensors exist at a given set of lat/lon coordinates (thereby requiring use of the underappreciated SEED location code), multiple picks with the same phase_hint will fulfill the following conditions:

tr.stats.station == pk.waveform_id.station_code and
tr.stats.channel == pk.waveform_id.channel_code

Expected behavior
We instead want only the picks on a single sensor, where the sensors are distinguished only by their location code.

Ditto Network information, which likely produces a similar result if you happen to find stations of the same name but in different networks.

Desktop (please complete the following information):

  • Operating System: Arch
  • Python version: 3.7
  • EQcorrscan version: 0.4.0

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions