Highly accurate oxygen measurement in water