Contributions to the theory of atmospheric refraction