Variational derivation of a geophysical Camassa–Holm type shallow water equation. (June 2017)