Creating resilient communities with medium-range hazard warning systems