Resilience of renewable power systems under climate risks