-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Inefficient distance along contour calculation in Cross-contour_transport.ipynb
#403
Comments
This was referenced Jul 3, 2024
I suspect this for loop (currently cell 38) is the problem :
which leads to this line (and the other similar lines) :
which hopefully can be done as a whole array rather than one at a time ... which leads back to fixing #179 first and then flowing the changes through the rest of the workbook |
I completely replaced that loop in this PR: #406. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The code that calculates the distance along the contour in the
Cross-contour_transport.ipynb
script is very slow (~10 minutes). Probably we could come up with a better way of doing this. Maybe use the lat and lon along the contour instead to compute the shortest distance between each set of coordinates on the contour?The text was updated successfully, but these errors were encountered: