openclimatefix / nowcasting_datamodel

Datamodel for the nowcasting project
6 stars 6 forks source link

Issue/location gsp read #130

Closed peterdudfield closed 1 year ago

peterdudfield commented 1 year ago

Pull Request

Description

Add function to read locations and load gsp yields at those locations

helps https://github.com/openclimatefix/nowcasting_api/issues/168

How Has This Been Tested?

Checklist:

codecov-commenter commented 1 year ago

Codecov Report

Merging #130 (798dc59) into main (9023397) will increase coverage by 0.07%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #130      +/-   ##
==========================================
+ Coverage   95.53%   95.61%   +0.07%     
==========================================
  Files          20       20              
  Lines        1121     1140      +19     
==========================================
+ Hits         1071     1090      +19     
  Misses         50       50              
Impacted Files Coverage Δ
nowcasting_datamodel/models/gsp.py 93.93% <100.00%> (+0.18%) :arrow_up:
nowcasting_datamodel/read/read_gsp.py 100.00% <100.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more