It would have to rain today, of all days!

What meaning of would is used here?
According to OED, it's the past of will.