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

Request for character detection in H5Easy #1

Open
Russelleq opened this issue Dec 10, 2019 · 4 comments
Open

Request for character detection in H5Easy #1

Russelleq opened this issue Dec 10, 2019 · 4 comments
Assignees

Comments

@Russelleq
Copy link

Dear Steven,
Would it be possible to add a feature to read character arrays as well?

Thank you very much,
Russell

@stevenwalton
Copy link
Owner

Hi @Russelleq, happy to add it. I got a lot on my plate right now but I should be able to get to it next week.

@Russelleq
Copy link
Author

Thanks so much. I just had one question. I have integer data type H5T_STD_U64LE. Can you please help me read this? I tried all means to modify the H5Easy.h file. For example, I just added the line:
dataset.read(data,PredType::STD_U64LE);
instead of all the variations. This does not seem to help. Can you suggest some modification?

Thanks much,
Russell

@stevenwalton
Copy link
Owner

Sorry, it has been a few years since I looked at the code. But my understanding is that this would conflict with L495. Are you getting an error around there? If so I'd just try changing the next line to the unsigned little endian.

If that doesn't work, do you have an error you can dump here for me?

@Russelleq
Copy link
Author

Hi Steven,
If I try accessing a U64_LE integer then I get the error:
Segmentation fault (core dumped)

If I try correcting the H5Easy.h file as per your recommendation on line 496, I still get the same error. The double and float have no problems.

Thanks,
Russell

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

No branches or pull requests

2 participants