Taiga is a web application server that bundles Webification (w10n) software packages, such as Pomegranate, for easy and efficient use of large and complex data in various formats (e.g., HDF4/5 and NetCDF, etc.)
The easiest way to install Taiga is to use a docker image, which is available at
https://hub.docker.com/r/scifari/taiga
On CentOS or similar Linux distributions, you can check out or download most recent release from
https://github.com/scifari/taiga/tree/master/release
then install and configure as, e.g.,
$ mkdir ./tool
$ cd ./tool
$ wget https://raw.githubusercontent.com/scifari/taiga/master/release/taiga-2.0.4p9-linux-x86_64.centos-7.5.1804-a.tar.gz
$ tar zxf ./taiga-2.0.4p9-linux-x86_64.centos-7.5.1804-a.tar.gz
$ ./taiga-2.0.4p9-linux-x86_64.centos-7.5.1804-a/bin/taiga-service config --port ${myPort} --dataDirectory ${myDataDirectory}
$ ./taiga-2.0.4p9-linux-x86_64.centos-7.5.1804-a/bin/taiga-service start -f 9
where ${myPort}
and ${myDataDirectory}
must be replaced by real values.
Installed with Taiga is a simple HTML-based GUI. One can use it to quickly browse through w10n entities (directories and groups as nodes, files and arrays as leaves, etc.)
Note: If you are interested in advanced use of w10n APIs, please check Use W10n and Use W10n-Sci.
Shown below are screenshots that illustrate this simple GUI, using MillionSoundSample as an example. Please check this doc for an instruction of loading MillionSoundSample tarball to Taiga.
Assuming Taiga is started on port 18080
of localhost
, point browser to
http://localhost:18080
, one should be able to see a Welcome
page:
Click on link /data
, a page with a list of directories will be shown
and one directory is MillionSongSample
:
Click on link MillionSongSample
, another page with multiple HDF5 files
(with extension .h5
) and a directory named doc
will be shown.
On this page, each HDF5 file is marked as Webifiable,
by a folder icon at rightmost column.
Pick one HDF5 file and click on its corresponding folder icon in "Webifiable" column. Its link will lead to a new page, showing internals of the HDF5 file. By default, all w10n entities (node and leaf) will be shown in a tree with levels properly indented.
On this page, w10n node is visually identifiable
by folder icon ,
and w10n leaf by file icon .
For either w10n node or leaf,
a "toggleble" download icon
is displayed to its right, providing links for direct access of meta
info
in JSON or HTML, and data
info in JSON, big/little endian binary and other formats.
There is also a toggleable blue string "ATTRIBUTES",
below the name of a node or leaf, that can be clicked on
to show/hide attributes of the w10n entity.
Value inside a pair of parenthesis is the number of attributes.
Furthermore, for a w10n leaf, information about array type and shape is also displayed.
By default, the entire tree is traversed. One can toggle on a clickable string (Expanded View/Collapsed View) at page top next to "Parent URL" link to display the tree in one level or all levels.
Though this simple HTML-based GUI is convenient for exploring w10n entities, it does not demonstrate the full power of w10n. Please read Use W10n and Use W10n-Sci for advanced use.