The circulation in a coastal upwelling region with a shelf area is calculated. It is assumed that the circulation on the shelf is independent of the deep-sea circulation and consists of a surface Ekman layer outflow, a coastal boundary layer upwelling and a bottom Ekman layer inflow. The resultant velocity distribution is used as a boundary condition for the deep-sea circulation....