Professional Documents
Culture Documents
What is OpenDX
Open source visualization package
Based upon IBMs Data eXplorer
Object oriented language
Outline
DX Field Object
Grids
Structure of OpenDX
Importing data
Visualization process
How to create plots :
i.
ii.
iii.
2-D plot
Maps plot
3-d plot
User interface
Marking and Unmarking
CISM_DX
DX Field Object
A Field is the fundamental
programming object in the
OpenDX API
3 main parts
Positions
Locations in space
Up to 3D array
Connections
Explains how the positions
relate to each other
Required for
interpolation
Data
Actual information can be
scalar, 3-vector or beyond
Vector operations only
understand Cartesian
coords
Grids
The connection between
points forms the grid
DX supports 3 grid types
irregular
irregular positions
irregular connections
deformed regular
irregular positions
regular connections
regular
regular positions
regular connections
Deformed
regular
Deformed
regular
Irregular
5
The Modules
Input
options
required
*If you want to know this function you can click on the tab
Structure
Computation of
modules
the program
Visualization Process
(outline)
Import data :
With existing data prompter (array format, hdf, CDF, NetCDF )
Personal import module (C program)
Capacity of OpenDX
2-D Plot
Maps
3-D Plot
10
scalar
11
Import files
Data file :
2.50000
0.
0.
2.50000
2.50000
0.
0.
2.50000
2.45002
-8.39233E-05
359.976
2.45002
2.35054
-2.10571E-03
359.741
2.35052
2.30127
-5.79834E-03
359.532
2.30119
2.25242
-1.32217E-02
359.264
2.25223
Import file :
Created by Opendx
file = /home/fabio/dataex/eqss1936
points = 6
format = ascii
interleaving = field
field = field1, field0, locations, field2
structure = scalar, scalar, scalar, scalar
type = float, float, float, float
end
12
Optional
Plotting options :
axis name, axis borders
Execute
13
a b
Different plots
one branch per trace
14
Plotting maps
Map
Regular
plot
16
Plotting maps
How to make scattered data :
17
Field corresponding
to x, y, z
Transmitter module
18
Receiver module
connected
to a transmitter on
the other page
Possibility of making a
user interface
User interface
Toggle and switch modules :
20
User interface
Selector module :
Allows you to choose
the data to plot
No need to go back to
the source code
21
User interface
Integer module :
22
23
In a terminal type setenv DXDATA directory where are the data then in data prompter select run program :
caringtonrot.net
Thanks S. McGregor
24
CISM_DX
What is it :
Set of data, visualization codes, selected CISM
models (MAS, ENLIL, LFM, TING, WSA)
What purpose :
View models run
Plot Cism data library
Common standard for all Cism group
25
To have the user interface go to window open control panel : Main control panel
26
MAS model
Warning : this network requires an external module
Go to file, load module description and
load ..\CISM_DX_Auxiliary\spdx-dist\spdx.mdf
3D grid with
vector or scalar
data on each
points of the grid
User interface to
select the data
27
Basic MAS
28
* When you re in the image window type Ctrl-I and select the vectors you want to link with a streamline
29
Basic ENLIL
31
LFM L* Calculation
Electron drift
trajectories are
used as source
points for field
line tracing
End points are
mapped from
inner edge into
ionosphere
L* is
determined by
calculating flux
enclosed in orbit
Thanks to Scot 32
Elkington
LFM Pathlines
Streamline
Path through vector
field that is tanget to
vectors throughout
magnetic field lines
Pathline
Path of fluid element
over a period of time
reverse time to see
where elements come
from
Shortcuts Tips
Shortcuts :
Execute : Ctrl-E
Execute on change : Ctrl-;
End execution : Ctrl-End
Properties of a module : Ctrl-F
Reset image : Ctrl-shift-R
Zoom image : Ctrl-Space
Rotate image : Ctrl-R
Reset view : Ctrl-F
Tips :
34
Conclusion
Large range of plots :
35