From the geometry of Foucault pendulum to the topology of planetary waves