Measuring cores from core drilling