Attraction and repulsion of dunes under reversing winds | Synapse