Three-dimensional shelf circulation along an eastern ocean boundary