Conversation
|
@emanuel-schmid The Test Pipelines fail due to no internet connection - can I safely assume this is an issues on the github configuration side and unrelated to changes in this PR? |
@bguillod I do assume it's unrelated to changes in this PR, but I couldn't blame the github configuration either. Atm, I suspect the climada data server had a glitch. |
|
Ah, it works now and tests pass, so yes it must have been something. |
|
Thanks for the fix! Can you please make a quick check that your modification does not lead to a significant loss of performance for large datasets? |
|
@chahank According to @peanutfun it should rather lead to a performance improvement, however we can check this if you want. Do you have a suggested case which uses large datasets which I could run? It also depends what you mean by "large" as I don't have an Euler cluster at hand... |
|
Yes, as @peanutfun said, it might lead to an improvement too. I think it is enough if you run it for a case of a few thousand TC events and make a small uncertainty analysis (you can just execute the tutorial with one of your large datasets). There is no need to make extended tests, I would just like to have a quick check to be sure that we are not missing something obvious. Thanks! |
|
Alright, so based on the uncertainty analysis tutorial I created the following test: I then did a few tests on the and then by profiling using this (everything here was run in a jupyter notebook): The results are not very stable (i.e. they change a little bit each time you run it), so sometimes there is a small difference and overall it tends to be slightly longer in this branch compared to
Since it already takes several seconds to run this calculation I did not go on with a larger event set. This seems quite acceptable to me as it fixes a bug. Let me know what you think @chahank. |
|
Ok, thanks for checking, this looks good then. |
|
@bguillod did you want to do anything more? Otherwise I would merge. Thanks! |
|
I checked the cases that allowed me to find the bug and this fix indeed solves the issue.. thanks @bguillod and @peanutfun |
Changes proposed in this PR:
This PR fixes #933
PR Author Checklist
develop)PR Reviewer Checklist