The recovery of the ozone layer observed since 1998 may still be unstable, and therefore the task of ensuring uniformity of ozone observations as compared with measurements of previous decades continues to be important. The network of fully automated Brewer spectrophotometers operated since the earlier 1980s is one of the oldest global systems providing data for the ozone and UV radiation assessments. The existing software for control Brewer spectrophotometers was created more than 35 years ago and is in need of redeveloping to continue the long-term observations on the computer platforms with modern multitasking operating systems. New cross-platform operating software for Brewer spectrophotometer is under development by a group of researchers from OIAP of RAS. In this software, the implementation of its own “lightweight” version of the Model/View/Controller programming pattern is applied because using the Model/View architecture of the Qt framework with a large amount of data makes high demands on the computational capabilities of the host that controlling the observations. This circumstance does not allow the use of mobile devices (smartphones and tablets), which are gaining popularity in recent years, as a controlling host. This design pattern divides the application code into three interconnected components: into application data, interfaces of spectrophotometer and user for their use, and control logic. Modification of each of these components can be carried out independently. The software is developed in the C++ programming language using the cross-platform Qt framework, while the relational database SQLite is used as a persistent storage. The proposed model of software development for controlling a spectrophotometer ensures the integrity and consistency of the obtained measurement data and at the same time significantly reduces the amount of code being developed.
|