European-XFEL / h5glance

Explore HDF5 files in terminal & HTML views
BSD 3-Clause "New" or "Revised" License
68 stars 8 forks source link

Add option to print full data #34

Closed tdegeus closed 1 year ago

tdegeus commented 1 year ago

It would be great to have an option to print the full data, and not only sample data. Sometimes I have relatively small lists (order 1000 entries) which I want to view quickly without writing a Python script using h5py.

takluyver commented 1 year ago

It's perhaps not the most obvious, but -s : will show you all the data. You can use any Python slicing expression like -s :100 to select what you want to see.

tdegeus commented 1 year ago

I see, thanks! Indeed I did not pick-up on that