In Washington State there is a form that is included with the escrow papers that basically says that the purchased property is in an area with farms, mining or industry, as a result may include smells, noises, traffic and dust. The form is signed and included with the county paper work. It cuts down on a lot of law suits.
In the spring the dairy farmers use the liquid manure that has been aging in the lagoon for 6 months and spray it on their silage fields with ag sprinklers. Within a mile down wind, it can curl your nose hair and make your eyes water. I lived near a silage field. Happily, the farmer used a slice in system that sprayed the manure directly into the slice. It smelled bad the day he was doing it and abated after that. Three days later, it wasn't even noticeable.
When people would complain to about the smell, the dairy farmers answer was "it smells like money."