HDF5 Generation
If you'd prefer to manually create your own HDF5 files, that's fine as well!
To create an HDF5 file that works with the Dataviewer.Space platform, there are just a few criteria:
- The HDF5 file should not have any groups. All datasets should be written to the root of the file
- There have to be at least two datasets in an HDF5 file.
- One of these datasets have to be named
time
, and have to have a type off64
, where each value is a UNIX epoch timestamp in milliseconds. This dataset cannot have anynull
values. - All other datasets must be of type
f64
(true/false values must be converted to1
/0
), but can containnull
values (null
should be written to HDF5 files asf64:NAN
as defined by IEEE 754)
- One of these datasets have to be named
To format the dataset names, make sure the following conditions are met:
- Dataset names cannot contain the following characters:
\
/
::
(double colon)
- For all datasets other than
time
, dataset names should follow this schema:name__unit__
name
is the channel name- Channel names cannot contain the following characters:
\
/
__
(double underscore) (a single underscore is fine)::
(double colon)
- Channel names cannot contain the following characters:
unit
is the channel's unit- If you don't know the channel's unit, put
raw
(orbin
for true/false data) unit
can contain only letters and numbers (no special symbols like^
or_
)
- If you don't know the channel's unit, put