Classes
This module defines the main class StDbElement
to create a station object,
which contains attributes of a single station in the dabase dictionary.
StDbElement
- class stdb.classes.StDbElement(station='', network='', altnet=[], channel='', location=[''], latitude=0.0, longitude=0.0, elevation=0.0, startdate=<class 'obspy.core.utcdatetime.UTCDateTime'>, enddate=<class 'obspy.core.utcdatetime.UTCDateTime'>, polarity=1.0, azcorr=0.0, restricted_status='?')
Class that defines the structure of each station entry in the station database.
- station
Station name
- Type:
str
- network
Network name
- Type:
std
- altnet
List of alternative networks
- Type:
List
- channel
Channel name (last digit only)
- Type:
str
- location
List of strings for station location
- Type:
List
- latitude
Latitude of station
- Type:
float
- longitude
Longitude of station
- Type:
float
- elevation
Elevation of station
- Type:
float
- startdate
Start time of station operation
- Type:
UTCDateTime
- enddate
End time of station operation
- Type:
UTCDateTime
- polarity
Polarity of vertical component
- Type:
float
- azcorr
Azimuth correction
- Type:
float
- restricted_status
Whether or not the data are restricted for a given station
- Type:
str