-
-
Notifications
You must be signed in to change notification settings - Fork 12
Conversation
…p-database # Conflicts: # ocf_datapipes/load/gsp/gsp.py # ocf_datapipes/production/power_perceiver.py
for more information, see https://pre-commit.ci
Codecov Report
@@ Coverage Diff @@
## main #47 +/- ##
==========================================
+ Coverage 81.67% 82.41% +0.74%
==========================================
Files 65 67 +2
Lines 2276 2372 +96
==========================================
+ Hits 1859 1955 +96
Misses 417 417
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! Just one minor comment, thanks a ton for doing this!
ocf_datapipes/load/gsp/database.py
Outdated
|
||
del gsp_id_to_shape, gsp_pv_power_mw_df | ||
while True: | ||
logger.debug(data_array) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would we want to just log this once right before the True? Then it wouldn't clog up debug logs by showing up lots of times?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks, yea ill remove that
Pull Request
Description
get GSP data from database
mainly copied from nowcast_dataset
Fixes #45
How Has This Been Tested?
unittest and in big e2e test
Checklist: