prescience

 (n) foreknowledge of event; foresight.   
No one knew how Harry knew that the storm would come; some say this wasn't the first time he showed prescience.