Replies: 1 comment 2 replies
-
Hi @benajamin, thanks for the suggestion. We already show whether a string type is variable-length or fixed-length by giving the number of characters for fixed-length strings — if this information is not present, then it's a variable-length string. Perhaps we can make this more explicit, though: Perhaps we could add The information we currently don't show at all is the padding, but we can easily add it. This will require changes in the back-end providers (h5grove and h5wasm notably). How would you like this information to be displayed (i.e. is there a "wrong" kind of padding; what should the wording be; does it need to appear explicitly on the Type row or can it be hidden away under the Inspect accordion; etc.) Is any other information missing? |
Beta Was this translation helpful? Give feedback.
-
One of the difficulties new adopters of HDF5 come across is that there are many ways to write strings (fixed vs variable length, null terminated or not). Many tools don't clearly tell what they are reading or writing, and some programs will crash or malfunction if they don't get an expected string type. The hdfview utility is the one that I find most useful for debugging string issues and it would be great if the h5web viewer could also provide this detailed string info in the "inspect" mode and therefore help debug HDF5 string bugs.
Beta Was this translation helpful? Give feedback.
All reactions