#NEWLINE# def __init__( self , * args , **kwargs ) : #NEWLINE# #INDENT# ' Initialize the weather station with a mongodb connection. ' #NEWLINE# super ( WeatherStationMongo , self ) . __init__ ( * args , ** kwargs ) #NEWLINE# self . logger . debug ( 'Getting weather station connection to mongodb' ) #NEWLINE# self . _db = PanMongo ( ) #NEWLINE# self . _current = self . _db . current #NEWLINE# self . _archive_col = self . _db . weather #NEWLINE# self . _current_col = self . _db . current #NEWLINE# self . logger . debug ( 'Weather station connection: {}' . format ( self . _current_col ) )