On the circulation in the upper layer of the western equatorial Atlantic