Ray Tracing in an Inhomogeneous Atmosphere with Winds