California has hundreds of miles of coastline, yet melted snow from other states remains an important source of its water.