The article proposes a variant of constructing an information and analytical system that makes it possible to control the refractive properties of the environment (atmosphere) based on the actual values of its parameters, as well as to determine the numerical values of the refractive index of the atmosphere. Its operation is based on a method that makes it possible to detect errors during measurements by optical systems in a real atmosphere. The main feature of the method under consideration is the comparison of the refractive indices in a real and ideal atmosphere. The difference in the corresponding values of the refractive index of the atmosphere makes it possible to correct the results obtained during measurements by optical systems. This article describes the operation of the software algorithm, which allows not only measuring and evaluating based on information on hydrometeorological parameters and refractive properties of the surface layer of the atmosphere, but also visualizing the results of measurements carried out by optical systems. Experimental studies carried out confirm the high adequacy of the models underlying the described complex.