Skip to content

Managing Multiple Data Sets

Aaron Geller edited this page Apr 27, 2018 · 12 revisions

The python FIREreader.py code will convert your hdf5 data set into a format that is readable by Firefly. The converted data for Firefly is placed within "data" directory within a sub-directory defined either by the snapshot number, or by the user-defined FIREreader.dataDir. The python code also creates a file named "startup.json" in the "data" directory. This file is the first thing read into Firefly, and tells Firefly where to find the rest of the data files; it simply contains the name of the directory where your data resides.

If you use FIREreader.py to create a dataset for Firefly, and then you want to use FIREreader.py to create a second data set, first you should rename "startup.json" so that it is not automatically overwritten.

To load different data sets, you will need to replace your "startup.json" file with the one associated with the snapshot you want to view (and reload the browser).

In the future, we plan to make this process more seamless, but for now, this method should work.