New way of measuring the ocean