« City government can and must help San Franciscans prepare for emergencies in order to avoid tragedy where possible and minimize loss of life and property when emergencies occur. »