Skip to content

Managing Multiple Data Sets

Aaron Geller edited this page Apr 26, 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 by the snapshot number. The python code also creates a file named "filenames.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.

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 "filenames.json" so that it is not automatically overwritten.

To load different data sets, you will need to replace your "filenames.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.