Skip to content

Add missing test files to h5copygentest #5482

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

mattjala
Copy link
Contributor

Generate tudfilter.h5 and tudfilter2.h5 through h5copygentest, to match the checking in h5copy testfiles

@mattjala mattjala added Priority - 2. Medium ⏹ It would be nice to have this in the next release Component - Testing Code in test or testpar directories, GitHub workflows Type - Bug / Bugfix Please report security issues to [email protected] instead of creating an issue on GitHub labels Apr 24, 2025
@mattjala mattjala self-assigned this Apr 24, 2025
@brtnfld brtnfld removed the Type - Bug / Bugfix Please report security issues to [email protected] instead of creating an issue on GitHub label Apr 24, 2025
dataspace_id = H5Screate_simple(2, dims, NULL);
datatype_id = H5Tcopy(H5T_NATIVE_INT32);
dataset_id =
H5Dcreate2(file_id, "dynlibud", datatype_id, dataspace_id, H5P_DEFAULT, H5P_DEFAULT, H5P_DEFAULT);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This won't create quite the same file. A user-defined filter with the ID 300 and comment "dynlibud" (which I think is just the name that h5dump is interpreting) needs to be added to the dataset. If you can track down the original code that created the files (if it exists), that would be better.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(That also means the dataset will need to be chunked 10x5 according to h5dump)

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component - Testing Code in test or testpar directories, GitHub workflows Priority - 2. Medium ⏹ It would be nice to have this in the next release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants