A state of emergency was declared for much of Southern California, with flash flood warnings throughout a region more accustomed to drought.