The geometric properties of energy bands underlie fascinating phenomena in many systems, including solid-state, ultracold gases and photonics. The local geometric characteristics such as the Berry curvature1 can be related to global topological invariants such as those classifying the quantum Hall states or topological insulators. Regardless of the band topology, however, any non-zero Berry curvature can have important consequences, such as in the semi-classical evolution of a coherent wavepacket. Here, we experimentally demonstrate that the wavepacket dynamics can be used to directly map out the Berry curvature. To this end, we use optical pulses in two coupled fibre loops to study the discrete time evolution of a wavepacket in a one-dimensional geometric ‘charge’ pump, where the Berry curvature leads to an anomalous displacement of the wavepacket. This is both the first direct observation of Berry curvature effects in an optical system, and a proof-of-principle demonstration that wavepacket dynamics can serve as a high-resolution tool for mapping out geometric properties.