https://github.com/aodn/aodn_cloud_optimised/blob/main/notebooks/mooring_timeseries_realtime_qc.ipynb