Since the 1940s, southern California has had a reputation for smog.