Skip to content

fetch Belgium generation #145

@peterdudfield

Description

@peterdudfield

Fetch Belgium generation data

You'll need to add a new method to belgium to save generation data.

You can data using
/api/explore/v2.1/catalog/datasets/ods087/records?select=datetime%2Crealtime&where=region%3D'Belgium'&order_by=datetime%20asc&limit=100 which gets the National level data. You'll need to get all regional data too.

The code here, might also help

This can be don eroughly like this

  1. Add method to get belgium generation data to [here]. Need to return pandas dataframe with columns 'target_datetime_utc', 'solar_generation_kw', 'region', (https://github.com/openclimatefix/solar-consumer/blob/main/solar_consumer/data/fetch_be_data.py). The method could be called fetch_be_data_generation
  2. Add unit test (mocking API)
  3. Add intgergation test
  4. run app locall (saving to csv)

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions