The effects of resolution and viscosity in an isopycnic-coordinate model of the equatorial Pacific