Skip to content

Country code of the UK #66

@rahul-ahuja

Description

@rahul-ahuja

Describe the bug

Country code of the UK is not consistent. In the solar_consumer/app.py file, the country code of the UK defaults to 'uk' but in the solar_consumer/fetch_data, it defaults to 'gb'

This issue was raised due to the suggestion to use 'gb' in #42 (comment)

https://github.com/openclimatefix/solar-consumer/blob/main/solar_consumer/app.py
https://github.com/openclimatefix/solar-consumer/blob/main/solar_consumer/fetch_data.py

Potential Solution:

Either have only one code for the UK or both codes of 'uk' and 'gb' should trigger fetching the UK data.

@pjireland

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions