DataViewer.jl

Visualization GUI for (julia-related) data files
Author triscale-innov
Popularity
27 Stars
Updated Last
3 Months Ago
Started In
October 2023

DataViewer

Stable Dev Build Status Coverage

Explore your data files with the power of Makie!

screencast.mp4

Use as a Julia package

DataViewer is not registered (yet), so you need to provide its full URL to the Julia package manager.

julia> ] # enter Pkg mode
pkg> add https://github.com/triscale-innov/DataViewer.jl.git

Then, whenever there is some data structure that you want to explore:

julia> using JLD2

julia> data = JLD2.load("sample.jld2");

julia> using DataViewer
[ Info: Precompiling DataViewer [69fa7e04-3a55-42d6-bb08-3ca48704fbef]
[ Info: Precompiling JSON_Ext [056fc32c-03f3-5092-ad64-0a1590c5cd8d]
[ Info: Precompiling JLD2_Ext [ab4143e6-3402-5971-8428-17ae5f4067b4]

julia> DataViewer.view(data)

It is also possible to directly call DataViewer.view on a file name:

julia> using HDF5
[ Info: Precompiling HDF5_Ext [c89765bd-c6f5-5c69-b5b2-135d132d13bc]

julia> DataViewer.view("sample.h5")

Use as a standalone application

After having installed the DataViewer package, you can ask it to install a standalone application, callable from the command-line:

julia> using DataViewer

julia> DataViewer.install()

By default, a launcher named dataviewer will be placed in the ~/.julia/bin directory, which you should add to your PATH environment variable. Afterwards, you can run this new command from a shell.

Without argument, a file picker window will pop up to ask for a file to open:

$ dataviewer

With one argument, the given file will be viewed:

$ dataviewer sample.hdf5

A second argument allows specifying the file type if the extension is not enough to guess it:

$ dataviewer sample JSON