obspy.clients.fdsn.mass_downloader.download_helpers.ClientDownloadHelper¶
-
class
ClientDownloadHelper
(client, client_name, restrictions, domain, mseed_storage, stationxml_storage, logger)[source]¶ Bases:
object
- Parameters
client (
obspy.fdsn.client.Client
) – An initialized FDSN client.client_name (str) – The name of the client. Only used for logging.
restrictions (
Restrictions
) – The non-domain related restrictions for the query.domain (
Domain
subclass) – The domain definition.mseed_storage – The MiniSEED storage settings.
stationxml_storage – The StationXML storage settings.
logger – An active logger instance.
Attributes
__dict__
__doc__
__module__
__weakref__
list of weak references to the object (if defined)
Public Methods
Discard all stations part of any of the already existing client download helper instances.
Actually download MiniSEED data.
Actually download the StationXML files.
Removes stations until all stations have a certain minimum distance to each other.
Queries the current client for information on what stations are available given the spatial and temporal restrictions.
Prepare each Station for the MiniSEED downloading stage.
Prepare each Station for the StationXML downloading stage.
Should be run after the MiniSEED and StationXML downloads finished.
Private Methods
Warning
Private methods are mainly for internal/developer use and their API might change without notice.
Read the downloaded data, set the proper status flags and remove data that does not meet the QC criteria.
Removes all stations that have no time interval with either exists or downloaded status.
Special Methods
Default dir() implementation.
Default object formatter.
Initialize self.
This method is called when a class is subclassed.
Create and return a new object.
Helper for pickle.
Helper for pickle.
Size of object in memory, in bytes.
Return str(self).
Abstract classes can override this to customize issubclass().