HDFGroup / HDFGroup/hdf4

hdp dumpvd prints wrong output for NO_INTERLACE storage

Open
#852 0 comments 0 reactions 1 assignee Claimed by @bmribler View on GitHub
Dominant language
C
Stars
22
Forks
27
Avg merge
1d 3h
Merged PRs (30d)
22

Description

Original issue: HDFFR-229

A vdata created w/ NO_INTERLACE storage is not handled properly by hdp.

It correctly says the storage type is NO_INTERLACE but does not read the data values in the correct order, and therefore does not print the vdata values correctly.

Attaching a small program that only has character data and demonstrates the problem. HDFView correctly prints the contents.

Comments:

I failed to attach the small program when I created this report and I can't find it quickly. Instead, I'm attaching a more complex example that also demonstrates the issue.

Look at the second Vdata in this file whose name is "Table AR2". hdp dumpvd prints the values of the table incorrectly, but hdfview shows the information properly. The values are
identical to those in "Table AR".

Attaching both the source and the created HDF4 file.

(The name of the files are changed to txt files in order to be attached here. They should be changed back to their original after downloading.)
[T13_TablesAttributes_ColumnOrder_c.txt](https://github.com/user-attachments/files/21499140/T13_TablesAttributes_ColumnOrder_c.txt) - original name: T13_TablesAttributes_ColumnOrder.c

[T13_TablesAttributes_ColumnOrder_hdf.txt](https://github.com/user-attachments/files/21499228/T13_TablesAttributes_ColumnOrder_hdf.txt) - original name: T13_TablesAttributes_ColumnOrder.hdf)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.