-
Hi, I am integrating @h5web/app into our website to visualize hdf5 files in the browser. It work very well, thank you for the good work ! I was just wondering if it is possible to configure how the app is rendered. Precisely which axis are selected by default. For example, in the following screenshot, X axis should be D0 and Y axis D1. I guess that it would be better to use @h5web/lib to build our custom application, and we will probably do this in the near future, but having this package is a real time saver for now and it would be nice to have a way to configure some elements. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hi @wiwski 👋 While this is probably not what you're after, since it would require modifying the HDF5 files, I'll start by pointing out that we do support the two features you mention through a convention called NeXus (more specifically the NXdata class). You can take a look at the examples in the mock demo ( Basically, the design philosophy of the H5Web viewer (
|
Beta Was this translation helpful? Give feedback.
Hi @wiwski 👋
While this is probably not what you're after, since it would require modifying the HDF5 files, I'll start by pointing out that we do support the two features you mention through a convention called NeXus (more specifically the NXdata class). You can take a look at the examples in the mock demo (
nexus_entry
group) to understand the structure and attributes involved (NX_class
,default
,signal
,axes
, etc.)Basically, the design philosophy of the H5Web viewer (
@h5web/app
) is that HDF5 files should be self-descriptive. If that's not the case, then we typically recommend looking at@h5web/lib
, as you've already guessed. That said, things are never black and white, and the needs tha…