xarray.Dataset.traj.convex_hull_contains_point#

Dataset.traj.convex_hull_contains_point(lon, lat)#

Return True if given point is within the scipy convex hull for all particles.

Parameters:

lon, lat (scalar) – longitude and latitude [degrees] of a position.

Returns:

bool – True if convex hull of positions in cataset contains given position.