openclimatefix / nowcasting_datamodel

Datamodel for the nowcasting project
6 stars 7 forks source link

add function to get latest gsp capacities + test #252

Closed peterdudfield closed 7 months ago

peterdudfield commented 7 months ago

Pull Request

Description

added a function to get the latest gsp capacities from the db. This is useful if PVlive goes down, but the we can still use the latest gsp capacites

Helps with https://github.com/openclimatefix/pvnet_app/issues/22

How Has This Been Tested?

CI Tests + added tests

Checklist: