Experimental measurement of the Berry curvature from anomalous transport