Like the elephants heading for the hills just before the tsunami. It's uncanny. I have heard many similar stories over the years of animals apparently utilizing a sense long forgotten by humans if such a sense was ever possessed by humans in the first place.
I've always had at least one dog, if you pay attention, the dog will share his gift.