Catalog PyPI
PACKAGE EXPLORERView in registry

afdcli

PyPI

Seismic waveform downloading client

Versions collected1
Direct dependencies3From release 0.3.2
Last observed20 Oct, 21:01 UTC

README

Version 0.3.2 documentation

Waveform and Station Downloading Client

This tool was created to automate waveform and station data download. Please cite appropriate authorities if you are using the data for non-commercial purposes. Commercial use of the data without permission is forbidden. Please read the printed warnings from the data centers printed out.

Installation

pip install numpy
pip install afdcli

Station Data

get_stations(network, station, starttime, endtime, **kwargs)

Arguments:

network: Network code, wildcards allowed ("T?", "*")

station: Station code, wildcards allowed ("B?ZM", "B*")

starttime: start time string in ISO format at UTC ("2020-03-27T06:00:13Z")

endtime: start time string in ISO format at UTC ("2020-03-28T06:00:13Z")

Parameters:

attach_response: Returns instrument response

minlatitude, maxlatitude, minlongitude, maxlongitude: Window of coordinates of stations

Waveform Data

get_waveforms(network, station, starttime, endtime, **kwargs)

Arguments:

network: Network code, wildcards allowed ("T?", "*")

station: Station code, wildcards allowed ("B?ZM", "B*")

starttime: start time string in ISO format at UTC ("2020-03-27T06:00:13Z")

endtime: start time string in ISO format at UTC ("2020-03-28T06:00:13Z")

Parameters:

minlatitude, maxlatitude, minlongitude, maxlongitude: Window of coordinates of stations

data_format: "mseed" for miniseed or "fseed" for fullseed formats

filename: filename to save the file (not implemented)

Examples

downloading waveforms:

from afdcli.client import Client
c = Client()
c.get_waveforms('*','BO*', '2020-06-25T17:19:16Z', '2020-06-26T17:20:16Z')

downloading stations with instrument response

from afdcli.client import Client
c = Client()
c.get_stations('*','BO*', '2020-06-25T17:19:16Z', '2020-06-26T17:20:16Z', instrument_response=True)

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
0.3.229 Jun 20203

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
maratumba/afdcli

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 21:01 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:c9107c39c4075ac6e490cdcfccc39d9b60e29bd42fbe45ea0e138b340911d23b