Bay-Delta SELFE Tools

station_db Module

class station_db.StationDB(fname)

Bases: object

Read a station DB in csv format, and provide station information

Methods

alias(station_id)

Get an alias of a station with ID station_id: station name

name(station_id)

Get a long name of a station with an ID

Parameters :

station_id: :

station name

Returns :

str :

a long name of a station

station_attribute(station_id, attrname)
station_ids_from_alias(alias)