Station¶
Contains information relevant to Station class
-
class
Station(data=None)¶ Class for information in station. Comes from the css site format.
Parameters: data (array) – all the relevant data for Station in an array. These values are accessed by its numerations listed in the variables written with capital letters
Variables: - sitechans (Array) – array of SiteChan objects relating to the station. Defaults to None which creates a dummy station
- station_code (string) – code of the station. Maximum of six characters.
- on_date (datetime) – date of when the station was opened.
- off_date (datetime) – date of when the statoin was closed.
- latitude (float) – latitude coordinate of the station in degrees.
- longitude (float) – longitude coordinate of the station in degrees.
- elevation (float) – of the station in kilometers.
- station_name (string) – name of the station. Maximum of 50 characters.
- station_type (string) – type of the station. One of ‘b’, ‘ss’, ‘bb’, ‘ll’, ‘ar’.
- reference_station (string) – reference station of a array.
- north_offset (float) – North offset from the main station in array
- east_offset (float) – East offset from the main station in array
- load_date (datetime) – date when this station info was loaded
- network (string) – network of the station
- network_id (int) – id of the network of the station
- s_id (int) – id of this station in the database
- STATION_CODE (int) – Enumeration of the data list. Value of 0
- ON_DATE (int) – Enumeration of the data list. Value of 1
- OFF_DATE (int) – Enumeration of the data list. Value of 2
- LATITUDE (int) – Enumeration of the data list. Value of 3
- LONGITUDE (int) – Enumeration of the data list. Value of 4
- ELEVATION (int) – Enumeration of the data list. Value of 5
- STATION_NAME (int) – Enumeration of the data list. Value of 6
- STATION_TYPE (int) – Enumeration of the data list. Value of 7
- REFERENCE_STATION (int) – Enumeration of the data list. Value of 8
- NORTH_OFFSET (int) – Enumeration of the data list. Value of 9
- EAST_OFFSET (int) – Enumeration of the data list. Value of 10
- LOAD_DATE (int) – Enumeration of the data list. Value of 11
- NETWORK (int) – Enumeration of the data list. Value of 12
- NETWORK_ID (int) – Enumeration of the data list. Value of 13
- S_ID (int) – Enumeration of the data list. Value of 14