Surfers at Ocean Beach, a 4-mile stretch of sand that runs along the city’s western edge.