Presentation is loading. Please wait.

Presentation is loading. Please wait.

Data Explorer. 2 What is OpenDX  Open source visualization package Based upon IBM’s Data eXplorer Object oriented language  Explore data through visual.

Similar presentations


Presentation on theme: "Data Explorer. 2 What is OpenDX  Open source visualization package Based upon IBM’s Data eXplorer Object oriented language  Explore data through visual."— Presentation transcript:

1 Data Explorer

2 2 What is OpenDX  Open source visualization package Based upon IBM’s Data eXplorer Object oriented language  Explore data through visual program great flexibility in creating visualizations Minimal programming requirements User friendly interface 2

3 3 Outline DX Field Object Grids Structure of OpenDX Importing data Visualization process How to create plots : i.2-D plot ii.Maps plot iii.3-d plot User interface Marking and Unmarking CISM_DX

4 4 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

5 5 Deformed regular 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 Some DX modules require regular connections –e.g. slab Deformed regular Irregular

6 6 The Modules Input Output 1)Button down : value has been set by user, no modules can be connected 2) Button up : value not set, entry can be connected to another module 1 2 A module accomplishes function No need to type it You channel the flow of data by connecting modules Each tab in a module as a function* (axis label, plot corners, annotation color,..) required options *If you want to know this function you can click on the tab

7 7 Structure Visual program editor modules Computation of the program

8 8 Importing Data Into OpenDX OpenDX comes with a DataPrompter module which is designed to allow the user import scalar and vector data from a variety of data formats It maybe more efficient to write your own import module Useful for complicated data strcutures Requires basic C programming skills

9 9 Visualization Process (outline)  Import data : With existing data prompter (array format, hdf, CDF, NetCDF ) Personal import module (C program)  Design the visual program (called network) : Using built in modules Programmed modules  Play with your image : Rotate, zoom or make an animation Export pictures (Tiff an postscript and much more with the ImageMagick package) or movies (Miff format can be converted in mpeg with the same package)

10 10 Capacity of OpenDX 2-D Plot3-D PlotMaps

11 11 Import data for 2-D plot  Specify : number of variables (excluding the x column) Number of rows excluding blanks X column must be named Locations Save the description in a *.general file Edit an old file 2 1 1 2 3 3 scalar

12 12 Import files 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 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 Data file : Import file : Created by Opendx

13 13 Creating a 2-D plot Importing the.general file Plotting options : axis name, axis borders  Click on a tool and click where you want to drop it Execute For more information open 2Dplot.net Optional

14 14 Creating a 2-D plot (a closer look) Different plots one branch per trace a b

15 Creating a 2-D plot (a closer look)

16 16 Plotting maps Regular plot Map For more information open mapsplot.net

17 17 Plotting maps  How to make scattered data :

18 18 Creating a 3-D plot x Field corresponding to x, y, z yz Transmitter module For more information open mapsplot.net If importing.hdf files you don’t need a *.general file

19 Creating a 3-D plot On each page a different plot  Possibility of making a user interface Receiver module connected to a transmitter on the other page

20 20 User interface  Toggle and switch modules : For more information open toggle.net

21 21 User interface  Selector module : Allows you to choose the data to plot No need to go back to the source code For more information open selector.net

22 22 User interface  Integer module : For more information open integer.net

23 23 Customized user interface example  Plotting the potential field source surface : In a terminal type setenv DXDATA “directory where are the data” then in data prompter select run program : caringtonrot.net

24 24 Working with Mark/Unmark Thanks S. McGregor

25 25 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

26 26 CISM_DX Main GUI To have the user interface go to window open control panel : Main control panel

27 27 MAS model  3D grid with vector or scalar data on each points of the grid  User interface to select the data Warning : this network requires an external module Go to file, load module description and load..\CISM_DX_Auxiliary\spdx-dist\spdx.mdf After loading the module, load BasicMAS.net Mike Wiltberger’s GUI

28 28 Basic MAS Taking a spherical slab of dataPlotting vectors and streamlines* * When you re in the image window type Ctrl-I and select the vectors you want to link with a streamline

29 29 MAS – Coronal Results Complicated staggered mesh required writing import module –OpenDX modules allowed for implementation of periodic connections in phi direction –also required transformation from Spherical to Cartesian Coordinates Thanks to Pete Riley and Jon Linker

30 30 ENLIL – Solar Wind Model Network was used as basis for graduate student lab in CISM Summer School Thanks to Dusan Odstrcil and Nick Arge

31 31 Basic ENLIL After loading the module description like for BasicMAS load BasicEnlil.net

32 32 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 In DX the field line is an object that can be used for interpolation Thanks to Scot Elkington

33 33 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 Combine pathline with streamline object to monitor flux tube volume as a function of time Thanks to M. Wiltberger

34 34 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 : When your modifications have no effect try to go to connection and reset server or disconnect For the interactor modules double click and Ctrl-F have not always the same effect There is no undo function save your file regularly Use the describe or print modules to know what’s going on between the modules Be really careful with the import files : number of rows without blank lines, number of columns,…

35 35 Conclusion Large range of plots : Friendly – understandable modules : Great user interface :


Download ppt "Data Explorer. 2 What is OpenDX  Open source visualization package Based upon IBM’s Data eXplorer Object oriented language  Explore data through visual."

Similar presentations


Ads by Google