UCL-ShippingGroup / pyrate

Python AIS Tools Environment
MIT License
25 stars 10 forks source link

Redo detect_outliers() #2

Open juliaschaumeier opened 9 years ago

juliaschaumeier commented 9 years ago

utils.detect_outliers takes a very long time and often does not terminate (presumably due to a bitwise or operation).

Best to write a new function for detecting location outliers, i.e. only checking required speed to get between two locations. Invalid entries in heading/sog/cog/navigational status should be ignored as these have all been checked previously (in aisparser.validate_row()) and set to NULL if erroneous. The required speed threshold does not need to match with the maximum value that can be reported.