Invariant parameterization of geostrophic eddies in the ocean