ioos / ioos_qc

:ballot_box_with_check: :ocean: IOOS QARTOD and other Quality Control tests implemented in Python
https://ioos.github.io/ioos_qc/
Apache License 2.0
46 stars 27 forks source link

QARTOD Spike Test: alternative differential method #50

Closed JessyBarrette closed 3 years ago

JessyBarrette commented 3 years ago

This PR present an implementation of the spike detection algorithm presented within the issue #48 .

This Pull Request essentially add an optional input method to the QARTOD spike test that and add an optional differential method for detecting spikes. If not specified, the standard method average method suggested by QARTOD is used.

A series of tests are also added to the test module to handle the different methods and the method input.

JessyBarrette commented 3 years ago

I pushed the corrections! Thanks for your feedbacks @kwilcox