Welcome to MagViz. Explore datasets, visualize magnetic field slices and 3D contours, and trace field lines to understand the structure of the field. Use the left Controls panel to switch datasets, tweak colormaps, and enable volume or contours.
This app currently supports HDF5 files containing vector magnetic field components Bx, By, and Bz on a uniform Cartesian grid (other components and derived fields are supported too, but Bx/By/Bz are necessary for now). Required attributes include coordinate system (e.g., GSM), units (RE), and coordinate axes arrays x, y, z defining grid extents. Optional metadata like title, model, and time are displayed when present.
For best performance, consider reducing file size: include only needed fields, trim the domain, or downsample the resolution slightly. Extremely large volumes can slow loading, contour extraction, and field line tracing.
Example converter: a model data processing tool is included with this app to convert model outputs to the supported HDF5 format.
View process_model_data.py on GitHub
Example dataset: a reduced IPIC3D HDF5 for quick testing and demos. Download IPIC3D (reduced)
Press ? any time to bring this list back up, or open the command palette to invoke any action by name.
Arrow Keys: Move XY plane
Shift + ↑↓: Move Z axis
Shift + ←→: Resize cube
WASD: Fly; Q/E: Up/Down
Mouse: Orbit, Zoom, Pan