The DataManager class
- class data_manager.DataManager(influxdb_client, cfg, logger, influx_df_client=None)[source]
Bases:
objectGeneric interface for data (measures and forecasts) management
- handle_meteo_forecasts_file(input_file, dps)[source]
Save measures data (OASI and ARPA) in InfluxDB
- Parameters
input_file (string) – input file
- point_handling(dps, point)[source]
Add a point and (eventually) store the entire dataset in InfluxDB
- Parameters
point (dict) – point to add
dps (list) – input data points
- Returns
output data points
- Return type
list