Skip to content

slow station metadata gathering #172

@aakash10gupta

Description

@aakash10gupta

While downloading data through pysep, the step with the output log message "pysep - INFO: querying IRIS for station metadata" takes an incredible amount of time (~13 minutes on my setup). Looking further at the logs, it is clearly gathering station information for ALL possible stations available through IRIS and then removing the stations not satisfying the selection criteria provided as input. I am indeed using wildcards ("*")for networks, stations, locations, and channels. The only criteria for station selection that I'm using is a radius of 300km from my event location, and hence need information on a very small proportion of the ALL possible stations. Is there a way that pysep can intelligently handle this, or is it dependent on what it's dependencies / data sources prescribe / provide, and this is the best it could do with that?

One option is for the user to exactly know what networks and stations fall in the region and be more specific with the query, but that is not always ideal.

I'm attaching a config.yaml file for reproduction purposes.
2025-08-20T203445.yaml

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions