Skip to content

Getting magnitudes is incomplete #260

@hschovanec-usgs

Description

@hschovanec-usgs

Describe the bug
Some events have more origin products than phase-data products. This means that the if/else statement may artificially limit the number of magnitudes:

if self.hasProduct("phase-data"):
product = "phase-data"
else:
product = "origin"

To Reproduce
See Tohoku as an example: https://earthquake.usgs.gov/fdsnws/event/1/query?format=geojson&eventid=official20110311054624120_30

There are 2 quakemls for phase-data, but 5 quakemls for origin

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions