2.3. Data handling

This section describes the data import from an ASCII flat file in a TDataServer of Uranie using the formalism of Salome tables and JSON format. In both cases, the ASCII file is composed of 2 parts: the header and the experiment matrix.

  • The header describes the information related to the database and related to its attributes:

    • the name of the database (optional);

    • the title of the database (optional);

    • the date of the database’s saving (optional);

    • the name of variables (mandatory if the title/label’s not specified). This information will enable to have access to theses variables either to transform them or to produce graphs. The chosen name has to be explicit but rather short (smaller than 50 characters);

    • the title/label of variables (mandatory if the name of variables is not specified). This information will be the axis tick marks when this variable is visualised on the plot. As it is possible to use LaTeX commands, the name (must be explicit and short) is distinguished from the label so as to obtain a good graph rendering.

    • the variable units (optional). This information aims at improving the graph rendering (the unit being displayed next to the label).

    • the nature of the variables (optional unless dealing with new types). This information is not mandatory if one wants to handle only double-precision variables. The possible value being “D” for double, “S” for string and “V” for vectors.

  • The second part is the numerical experiment matrix.

Using this formalism, it is enough to provide the name of attributes of the ASCII file in order to load the file in Uranie.