IMASViz is a tool developed within Integrated Modelling is a visualization tool developed within Integrated Modelling Analysis Suite (IMAS) for the purposes of visualizing static and dynamic IMAS data, stored within within IMAS Interface Data Structures (IDSIDSs).
While the tool itself is already available for use it is still under active development, and various features, GUI improvements etc. are still being implemented.
The tool has been migrated recently to Python 3 and utilizes the next Python packagesDevelopers:
...
- Ludovic Fleury (CEA Cadarache, Research Institute for Magnetics fusion)
- Dejan Penko (University of Ljubljana, Mech.Eng., LECAD Lab)
The tool is available on ITER git repository (access permission is required) under Visualization/VIZ project.
Direct link to the repository: https://git.iter.org/projects/VIS/repos/viz/browse
Info |
---|
The tutorial below is executed on the Gateway. |
Loading required modules for executing IMASViz
In a new terminal, execute the following command in order to load the required modules for using IMAS_VIZ:
Code Block |
---|
module load cineca imasenv/3.15.1 imas-viz |
Getting started: Running IMASViz
In the previously opened terminal, simply type the next command:
Code Block |
---|
viz |
...
Loading 'magnetics' IDS from an IMAS local data source example
In the previously opened IMSViz main GUI interface:
...
Enter the following IDS case parameters as shown in the figure below:
Section |
---|
User name: g2lfleur IMAS database name: test Shot number: 52344 Run number: 0 |
The data source is a pulse file located in the /public/imasdb/test directory of user g2lfleur.
...
Plotting a 1D array
...
Info |
---|
Each plot window has a menu for printing (File menu), saving and exporting data (File menu) or customizing the plot (Options menu). Any part of the plot can be zoom-in using the mouse (Options menu to zoom out). |
...
Comparing 1D arrays between 2 shots
...
Open the shot 52682
Section |
---|
User name: g2lfleur IMAS database name: test Shot number: 52682 Run number: 0 |
...
Load occurrence 0 of 'magnetics' IDS
...
Navigate through the 'magnetics' IDS of shot 52682 and search for the node 'ids.magnetics.flux_loop[0].flux.data'
...
From the pop-up menu, select the command 'Add plot to existing figure' and 'Figure0' in the shown submenu
The plot should display as in the image below.
Selecting 1D arrays, plotting the selection
...
Note |
---|
Selections list are proper to each shot navigation tree; selections list are not concatenated between different shots. |
Plotting 1D arrays as a function of coordinate1 along the time axis
...
Plotting 1D arrays as a function of the time along coordinate1
...
Creating a multiple plots configuration
...
Currently, there are two IMASViz versions available for use:
Children Display |
---|
...
Applying a multiple plots configuration to a new shot
...
Open the shot 52344 if it is not already opened
Section |
---|
User name: g2lfleur IMAS database name: test Shot number: 52344 Run number: 0 |
...
Info |
---|
The time taken by the command 'Apply multiple plots configuration' depends if the IDSs have been loaded previously. If not, the command needs to load the IDSs (from which the data to be plotted are fetched) before to plot the data. |
Note |
---|
The plots order depends on the order in which the data selection have been performed. First selected data will be the first plots in the multiplot window. |
...