Scientists improve timing of fog warnings by detecting chang