obspy.clients.fdsn.mass_downloader.download_helpers.Station¶
-
class
Station
(network, station, latitude, longitude, channels, stationxml_filename=None, stationxml_status=None)[source]¶ Bases:
obspy.clients.fdsn.mass_downloader.download_helpers._SlotsEqualityComparisionObject
Object representing a seismic station within the download helper classes.
It knows the coordinates of the station to perform the filtering, its channels and the filename and status of the StationXML files.
- Parameters
network (str) – The network code.
station (str) – The station code.
latitude (float) – The latitude of the station.
longitude (float) – The longitude of the station.
channels (list of
Channel
objects) – The channels of the station.stationxml_filename (
STATUS
) – The filename of the StationXML file.stationxml_status – The current status of the station.
Attributes
__doc__
__hash__
__module__
__slots__
channels
has_existing_or_downloaded_time_intervals
Returns true if any of the station’s time intervals have status “DOWNLOADED” or “EXISTS”.
has_existing_time_intervals
Returns True if any of the station’s time intervals already exist.
have_station_information
latitude
longitude
miss_station_information
network
station
stationxml_filename
stationxml_status
temporal_bounds
Return the temporal bounds for the station.
want_station_information
Public Methods
Loop through all channels of the station and distribute filenames and the current status of the channel.
Figure out what to download.
Delete all files under it.
Should be run after the MiniSEED and StationXML downloads finished.
Special Methods
Default dir() implementation.
Return self==value.
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().