energy_data_retrieval.sources.adme.client#
ADME raw SCADA: measured generation and dispatch limits remain distinct.
- energy_data_retrieval.sources.adme.client.parse_scada_sas(payload, *, central_id, power_series=None, source_timezone='America/Montevideo', maximum_rows=100000)[source]#
Read ADME’s tab-separated native six-line-header SAS time series.
The source’s Excel/LibreOffice serial date is treated as a local clock label, converted to UTC without interval shifting. A fixed-offset override may be supplied for exports with a different clock convention. Ambiguous or nonexistent local times fail. Values below -10000 are ADME missing sentinels. Only the actual
GETOTMEDP.AVchannel is selected automatically; dispatch limits (CONSIGNAP) and forecasts cannot become measured generation.- Parameters:
payload (str)
central_id (int)
power_series (str | None)
source_timezone (str)
maximum_rows (int)
- Return type:
DataFrame
- class energy_data_retrieval.sources.adme.client.ADMEClient(http, maximum_requests=32, maximum_rows=100000)[source]#
Bases:
objectDiscover official SCADA archive files, with one six-day chunk per file.
- Parameters:
http (HTTPClient)
maximum_requests (int)
maximum_rows (int)
- http: HTTPClient#
- maximum_requests: int#
- maximum_rows: int#
- generation(start, end, *, central_id, power_series=None, source_timezone='America/Montevideo')[source]#
Retrieve inclusive local dates for one plant from raw measured SCADA.
The archive exposes rolling seven-day files. The latest file starting before each requested six-day chunk is selected, and actual file coverage is checked. Archive gaps fail explicitly; no forecast archive is used.
- Parameters:
start (date)
end (date)
central_id (int)
power_series (str | None)
source_timezone (str)
- Return type: