Meaning: Sailors knew that there would be bad weather soon.
Choice of Words: Sailors are people who work on ships. Storms are bad weather with strong winds and rain. Ahead means in the future or in front of you. So, the sentence means that sailors could see bad weather coming in the future.