Holomorphic structures in hydrodynamical models of nearly geostrophic flow