Feature/relative matching distance#1080
Conversation
Merge develop into branch
|
Ok so I added
|
Excellent!
Great. Weird that IBTrACS basically has invalid coordinates, but it works ;).
Was this changed in this PR? Then it might have been a mistake on my side. Please feel free to revert these changes. |
|
@luseverin : several test in petals are still failing. So we need a PR to fix the tests in petals too (and check that nothing fundamental breaks). |
|
I checked the failing tests in Petals; they were related to lon arrays containing nans or being fully populated with nans being considered as invalid geo coordinates by |
I did that and everything worked, by the way. |
Excellent! Just to be clear, there was no need to modify anything in petals, just update the valid geo coordinates method to ignore nans? |
Co-authored-by: Chahan M. Kropf <[email protected]>
Co-authored-by: Chahan M. Kropf <[email protected]>
Yes, the tests that were failing in petals could be fixed by adding the handling of nans in |
Co-authored-by: Luca Severino <[email protected]>
Co-authored-by: Luca Severino <[email protected]>
I did not find any issues in the tutorials. @luseverin : should we update the impact calc tutorial and explicitly set the threshold? Or is it fine as is? |
We need to coordinate this with @sarah-hlsn as she currently updating this tutorial. It currently seems that there is no explicit assignement of centroids in the impact_calc tutorial. As @sarah-hlsn and I thought it might be good to have that, she will add a short example or note on that, also describing how one can change the distance threshold for centroid assignement. What do you think? |
Perfect! Then let's finish this PR and merge so that @sarah-hlsn can update the tutorial. |
|
@chahank Please let me know what we still need to do before we can merge this PR. |
I think we are done, so I merged! Thanks for the great work! |
Changes proposed in this PR:
This PR fixes #1079.
PR Author Checklist
develop)PR Reviewer Checklist