Ahead of the storm’s arrival, officials distributed sandbags, prepositioned rescue swimmers and told residents to have their go-bags ready.