Changeset 1742 for XIOS/dev/dev_trunk_omp/doc/XIOS_graph_user_guide.tex
- Timestamp:
- 10/15/19 11:37:29 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/dev_trunk_omp/doc/XIOS_graph_user_guide.tex
r1741 r1742 83 83 \usepackage[dvipsnames]{xcolor} 84 84 \newcommand{\visbutton}[1]{\colorbox[RGB]{92,184,92}{\color{white}{#1}}} 85 86 \usepackage{float} 85 87 %%% END Article customizations 86 88 … … 128 130 In the workflow graph, a node represents a XIOS filter. We have 7 categories of filters: 129 131 \begin{itemize} 130 \item source filter: when the field data is received from model or read from netcdffile132 \item source filter: when the field data is received from model or read from NetCDF file 131 133 \item pass through filter: when having a field reference 132 134 \item arithmetic filter: when arithmetic operations are performed on the field 133 135 \item temporal filter: when the field has a temporal operation (\textit{e.g.} average, maximum, minimum, ...) 134 136 \item spatial transform filter: when the field has a spatial transform applied upon (\textit{e.g.} zoom, interpolate, ...) 135 \item file write filter: when the field data is written to a netcdffile137 \item file write filter: when the field data is written to a NetCDF file 136 138 \item store filter: when the field data is send back to model 137 139 \end{itemize} … … 150 152 \end{lstlisting} 151 153 152 \subsection{Heritage by field refere cing}154 \subsection{Heritage by field referencing} 153 155 154 156 \begin{lstlisting}[language=XML] … … 169 171 \section{Visualization of workflow graph} 170 172 171 \begin{figure}[ht] 172 \centering 173 \includegraphics[scale=0.4]{inputs/images/graph_init} 174 \caption{Start state of the Visualization} 173 174 \subsection{Example of XIOS workflow graph output} 175 176 \begin{figure}[H] 177 \centering 178 \includegraphics[scale=0.45]{inputs/images/workflow_graph} 175 179 \end{figure} 176 180 177 The workflow graph can be viewed through the \verb|graph.html| script located in the XIOS 181 From this graph, we can gather several information directly: 182 \begin{itemize} 183 \item the workflow has 3 inputs fields and one output field; 184 \item \verb|filed_D = field_A + field_B + field_C|; 185 \item \verb|field_D| is outputted every time step (instant temporal filter); 186 \item the output NetCDF file is named \verb|output.nc|; 187 \item the date label of the time step is 2012-03-01 at 21 o'clock. 188 \end{itemize} 189 190 This graph shows how XIOS interprets the \verb|xml| inputs. Users can easily check if it corresponds to 191 their designed input configurations. 192 193 The workflow graph is viewed through the \verb|graph.html| script located in the XIOS 178 194 folder. The graph file \verb|graph_data.json| is stored in the same folder as the \verb|iodef.xml| file 179 195 which is used for configure the simulation. 180 Choose the graph file to start the Visualization by cli king the button \colorbox[RGB]{66,139,202}{\color{white}{Load a JSON XIOS file}}.196 Choose the graph file to start the Visualization by clicking the button \colorbox[RGB]{66,139,202}{\color{white}{Load a JSON XIOS file}}. 181 197 Several buttons are set to allow user to visualize the graph interactively. 198 199 \begin{figure}[H] 200 \centering 201 \includegraphics[scale=0.4]{inputs/images/graph_init} 202 \caption{Start state of the Visualization} 203 \end{figure} 182 204 183 205 \subsection{Enable/Disable all} … … 200 222 \visbutton{Enable input} shows all input nodes of the graph. The input nodes are 201 223 often, if not always, the source filters: data received from the model or read 202 from a netcdffile.224 from a NetCDF file. 203 225 204 226 \subsection{Enable output} 205 227 \visbutton{Enable output} shows all output nodes of the graph. The output nodes 206 are either the file writer filter: data written to a netcdffile; either the store228 are either the file writer filter: data written to a NetCDF file; either the store 207 229 filter: data send back to model. 208 230 … … 236 258 \end{lstlisting} 237 259 238 In this example, the graph will only include information between the 3rd and 5th time step.239 These attributes are not ma datory. If \verb|build_workflow_graph_start| is not define, the graph will start to record from the first iteration.240 Similarly, the def ualt value of \verb|build_workflow_graph_end| is the last iteration of the simulation.260 In this example, the graph will only include information between the 3rd and 5th time step. 261 These attributes are not mandatory. If \verb|build_workflow_graph_start| is not define, the graph will start to record from the first iteration. 262 Similarly, the default value of \verb|build_workflow_graph_end| is the last iteration of the simulation. 241 263 242 264 In case that two values of the same attribute are defined, we take the largest range.
Note: See TracChangeset
for help on using the changeset viewer.