Skip to content

dtype size error for large h5 data #49

@dschick

Description

@dschick

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions