stationdata module

This module provides interface for extracting station data from JSON objects fetched from the Internet and updating their water levels


Build and return a list of all river level monitoring stations based on data fetched from the Environment agency. Each station is represented as a MonitoringStation object.

The available data for some station is incomplete or not available.

Parameters:use_cache (bool, optional) – Whether to use cached data
Returns:List of stations (MonitoringStation Object)
Return type:list

Attach level data contained in measure_data to stations

Parameters:stations (list) – List of stations (MonitoringStation Object)