Skip to content
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

dtype size error for large h5 data #49

Open
dschick opened this issue May 12, 2022 · 0 comments
Open

dtype size error for large h5 data #49

dschick opened this issue May 12, 2022 · 0 comments

Comments

@dschick
Copy link
Owner

dschick commented May 12, 2022

when reading data from h5 sources, e.g. a NeXuS file, the following error happens for rather large datasets:
ValueError: invalid shape in fixed-type tuple: dtype size in bytes must fit into a C int.
A possible solution is proposed here

This would mean to change the reading of raw data from fromarrays to append_fields in

scan.data = fromarrays(data_list, dtype=dtype_list)

thanks to @amolodts for finding this bug

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant