Singular front formation in a model for quasigeostrophic flow