ocefpaf / boston_light_swim_split_notebooks

Sea Surface Temperature forecast for the Boston Light Swim
0 stars 2 forks source link

get_nearest_water is not not finding "water." #2

Closed ocefpaf closed 9 years ago

ocefpaf commented 9 years ago

The function get_nearest_water is not looping over all k points found. It means that, if the nearest point is now water, no water point is found. To loop over all the points is an expensive operation. In this example I reduced it to 43 points.

coaswt

I am studying how I can accomplish this task in a more effective way.

ocefpaf commented 9 years ago

Fixed in https://github.com/pyoceans/tardis/pull/13