stationclass¶
-
class
stationclass.
stationclass
(desc, data, db=None, dbprefix=None)[source]¶ A small class holding all infos for a specific WMO station.
Parameters: - desc (
list
) – List/tuple of strings, value description of the values in input data. - data (
list
) – Values corresponding to input desc. - db (
None
ordatabase.database
) – Default None, can be the database handler. The internal function self._has_db_connector_ can be used to check if the database handler has been set or not.
-
getActiveParams
(tdate)[source]¶ Returns active parameters for a specific city for a specific tourmanet date. This is important as they active parameters can change over time while the system still has to know which ones have obeen active/inactive over the past.
Parameters: tdate ( int
) – Turnament date as days since 1970-01-01.Returns: Returns a list of … Return type: list Todo
Document return list format.
- desc (