Quasi-geostrophic Equilibrium