- Sector
- Environmental compliance
- Client
- OceanaGold · Waihi North Project · via Geotechnics
- Year
- 2026
- Role
- Analysis, automation and reporting
Is the river warmer downstream? Prove it daily.
An automated compliance check of river temperature against a discharge consent using the Cox-Rutherford Index, from API ingestion and quality control to an audit-ready report.

Results
3.0 °C
ΔCRI limit, November to April
≥ 90 %
valid data required per day
≤ 2 h
longest gap allowed in a day
A discharge consent on the Ohinemuri River limits how much warmer the river may be downstream of the project than upstream during the warm season. The test uses the Cox-Rutherford Index, so every day needs a defensible value at each site, built from logger data that includes gaps, spikes and sensors that were swapped out in the field.
From raw readings to a daily verdict
- Ingestion from the monitoring platform’s API in seven-day chunks, stitching each damaged logger onto its replacement so a site keeps one continuous record.
- Quality control per sample (range, spikes and stuck sensors) and per day: a day counts only with at least 90 % of the expected data and no gap longer than two hours.
- Daily CRI as the mean of the daily average and maximum, then ΔCRI for each upstream–downstream pair.
- A daily complies-or-exceeds status against the 3.0 °C limit during the November–April season, plus a weekly summary.
What gets delivered
An Excel workbook with the daily and weekly results, the figures behind them and a LaTeX methodology document that states every rule, so a reviewer can rebuild any day from the raw data.
The principle
A day without enough valid data is reported as not assessable, never quietly counted as compliant.
Services
- Scientific & engineering computation
- Time-series data engineering
- Regulatory & client data delivery
Tools & tech
- Python
- pandas
- Cirro API
- matplotlib
- Excel
- LaTeX