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.
utils.detect_outliers
takes a very long time and often does not terminate (presumably due to a bitwiseor
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.