tobac-project / tobac

Tracking and object-based analysis of clouds
BSD 3-Clause "New" or "Revised" License
98 stars 53 forks source link

Trackpy gets stuck when subnetwork_size too large #327

Open freemansw1 opened 1 year ago

freemansw1 commented 1 year ago

From a discussion between me and @wreckdump in #320, we should document that sometimes trackpy hangs on tracking when subnetwork_size is too large. I've had trouble reliably replicating this, though. We should probably add a bit to the API docs saying to try that when/if it hangs.

Originally posted by @wreckdump in https://github.com/tobac-project/tobac/issues/320#issuecomment-1680922883

JuliaKukulies commented 1 year ago

Good point, yes we should do that.

w-k-jones commented 1 year ago

It might also be helpful to look into catching more exceptions in trackpy (such as the inability to create a velocity field because the search distance is too small to connect any features) and raising them with more meaningful info for use with tobac