COSMOS core
1.0.2 (beta)
Comprehensive Open-architecture Solution for Mission Operations Systems
|
Modules | |
Static variables for Data functions. | |
Data Management function declarations | |
Data Management.
Data within COSMOS is managed in a heirarchical structure. At the highest level, separate directories are provided for Nodal information (nodes), and for general software Resources (resources). These two directories can be together in a single COSMOS directory, or in separate locations. Their locations can be defined through the use of environment variables, or through default values. The order of assignment is as follows:
Within "nodes", there is a directory specific to each Node. Each Node specific directory mirrors the Node:Agent arrangement laid down in the JSON Library. A series of initialization files are incldued, as well as a set of directories for Temporary data (temp), Incoming data (incoming), Outgoing data (outgoing), and Archival data (data).
The initialization files include:
Each of temp, incoming and outgoing contain sub-directories named after each active Agent. Each agent sub-directory in the "data" directory is further subdivided by first year, then day.
The software resources directory contains directories of files for use in different aspects of COSMOS. The directory "general" contains files of coefficients used for the various models used in COSMOS simulations. The directory "logo" contains any special images used by COSMOS software. The directory "mapping" contains all the DEM's and ancillary files used by the DEM Library. Finally. the directory "qt" contains files, such as UI forms, used by the various Qt based Tools withing COSMOS.
The functions in this library support path discovery and creation, the automatic generation of standard names, and the automatic creation of log files.