Closed assafshouval closed 1 year ago
@jacobbieker do you know why it is failing? all the files seems irrelevant for my PR
Yeah, we've updated the linting for all the OCF repos, and the stricter rules are causing the failures here, which we haven't fixed yet. I'll need to go in and update this repo to match that soon. But am happy to merge this if you are finished with it?
Yes, I'm finished with it
בתאריך יום ב׳, 11 בספט׳ 2023, 12:01, מאת Jacob Bieker < @.***>:
Yeah, we've updated the linting for all the OCF repos, and the stricter rules are causing the failures here, which we haven't fixed yet. I'll need to go in and update this repo to match that soon. But am happy to merge this if you are finished with it?
— Reply to this email directly, view it on GitHub https://github.com/openclimatefix/graph_weather/pull/75#issuecomment-1713469446, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACHSJL7W5CF4FLWCK2HQF43XZ3HP7ANCNFSM6AAAAAA4SGPK5E . You are receiving this because you authored the thread.Message ID: @.***>
This fixes the issue mentioned in: https://github.com/openclimatefix/graph_weather/issues/46#issue-1438654907
Pull Request
Description
Fixes #46 The fix, is enforcing the dimension of the output of scatter_sum function, so it could be concatenate safely with the original nodes array. As of my understanding it is like padding with zeros to the output of scatter_sum.
How Has This Been Tested?
ran all the tests provided in
test_model.py
locally, and ran some more locally (I didn't believe the following tests should be added to the code base, so dumping it here):If your changes affect data processing, have you plotted any changes? i.e. have you done a quick sanity check?
Checklist: