IMASViz is a an utility tool developed within Integrated Modelling Analysis Suite (IMAS) for the purposes of visualizing static and dynamic IMAS data, stored within IMAS Interface Data Structures (IDS). 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.
...
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 |
The main GUI interface window of IMAS_VIZ should display
...
, shown in the figure below:
Loading 'magnetics' IDS from an IMAS local data source example
In the previously opened IMSViz main GUI interface:
- Select the tab 'Local data source'
Enter the following informationsIDS case parameters:
Section User name: g2lfleur
IMAS database name: test
Shot number: 52344
Run number: 0The data source is a pulse files located file located in the /public/imasdb/test directory of user g2lfleur.
- Click button open
An A navigation tree should open with a list of all IDSs. Available IDSs for the given shot are displayed in blue.
The tree will allow to browse browsing data for the specific shot number which is displayed by the root node (IDSs(52344)). - Right click on 'magnetics' IDS and select the command 'Get magnetics data (default to occurrence 0)'
The 'magnetics' IDS is displayed as new nodes in the tree.
...
- Navigate through the 'magnetics' IDS and search for the node 'ids.magnetics.flux_loop[0].flux.data'
- Right-click on the node 'ids.magnetics.flux_loop[0].flux.data'
- From the pop-up menu, select the command 'Plot ids.magnetics.flux_loop[0].flux.data'
The plot should display as in the image below.
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 unzoomzoom out). |
Adding a 1D plot to an existing figure
- From the prevous previous navigation tree, navigate to the node ''ids.magnetics.flux_loop[16].flux.data'
- Right-click on the node 'ids.magnetics.flux_loop[16].flux.data'
- From the pop-up menu, select the command 'Add plot to existing figure' and 'Figure0' in the attached submenu
The plot should display as in the image below.
Comparing 1D arrays between 2 shots
Open the shot 52682
Section User name: g2lfleur
IMAS database name: test
Shot number: 52682
Run number: 0Load occurence 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'
- Right-click on the node 'ids.magnetics.flux_loop[0].flux.data'
From the pop-up menu, select the command '
The plot should display as in the image below.Add plot to existing figure' and 'Figure0' in the attached submenu
The plot should display as in the image below.
Selecting 1D arrays, plotting the selection
...