silx icon indicating copy to clipboard operation
silx copied to clipboard

[viewer] Separate the content of an HDF5 group

Open kif opened this issue 7 years ago • 6 comments

It would be great to display together all datasets on the one hand and all subgroups on the other for a better visual experience.

kif avatar Sep 03 '18 14:09 kif

Do you mean like when browsing a file directory where one sees all the folders and then all the files in the directory (or vice versa) irrespective of the name?

vasole avatar Sep 05 '18 19:09 vasole

screenshot from 2018-09-06 08-48-47 When a group appears in the middle of a several datasets, it can be confusing. In this example, one might think that the "estimation" group is extended and contains the following datasets. And it is not immediately apparent that the "version" dataset is one level above the "plot" group.

PiRK avatar Sep 06 '18 06:09 PiRK

In the same spirit: It would make sense to separate and group by NX_classes, for example:

  • NXinstrument
  • NXsample
  • NXdata or measurement group
  • NXprocess ordered by sequence index

And on the dataset side, have

  • start_time just before
  • end_time

kif avatar Sep 07 '18 09:09 kif

All the groups you have mentioned are top level inside the NXentry except the NXdata. NXdata can be located anywhere.

What I do in PyMca is that when there is an NXdata plotting action associated to a Group I highlight the Group text in blue (usual link convention). At this point obviously only NXentries containing a default attribute or NXdata groups are highlighted and no other group.

If the extension of the use of the default attributes is accepted that would simplify things concerning NXdata:

https://github.com/nexusformat/NIAC/issues/28

vasole avatar Sep 07 '18 10:09 vasole

@t20100 are we still considering to modify the way the group / datasets are displayed ? For me having it on the alphabetical order, dataset and groups meld also represent some advantages.

payno avatar Mar 17 '25 15:03 payno

are we still considering to modify the way the group / datasets are displayed ?

provided how old the date of last activity of the issue, I would say no

t20100 avatar Apr 07 '25 07:04 t20100