H5D(O) [read/write]_chunk incorrect function arguments?
@gheber is already working on this.
Since Oct 28, 2020.
Assessment
This issue has not been assessed yet.
Description
Hi there, I've been attempting to use the H5D.write/read_chunk methods, but the parameter "offset" is declared as "ref hsize_t offset".
The official documentation for the C lib states that this variable should be referencing an array, so clearly there is an issue here. It works fine for dataspaces of rank 1, but obviously wont work when attempting to specify the offset in a multidimensional dataspace. In my local version I changed the arguement to "[In][Out] hsize_t[] offset" and it now works as expected. Thought it might be worth mentioning!
This was also for HDF5_VER1_10. Many thanks.
- Dominant language
- C#
- Stars
- 87
- Forks
- 32
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from HDFGroup/HDF.PInvoke
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
HDFGroup/HDF.PInvoke#191 · 3 comments · 1 reaction ·
-
closedOpen
Difficulty 1/5 Under an hour Newbie friendliness 1/100
HDFGroup/HDF.PInvoke#188 · 1 reaction ·
-
Difficulty 4/5 3-5 days Newbie friendliness 30/100
HDFGroup/HDF.PInvoke#186 ·
-
CFD ErrorOpen
Difficulty 4/5 3-5 days Newbie friendliness 20/100
HDFGroup/HDF.PInvoke#185 · 2 comments ·
-
Difficulty 1/5 Under an hour Newbie friendliness 45/100
HDFGroup/HDF.PInvoke#184 · 7 comments ·
All issues in HDFGroup/HDF.PInvoke
Similar issues
-
bug emitter:client:csharp
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
microsoft/typespec#12572 · 1 comment · 1 reaction ·
Maintainers usually reply within 1 day
-
needs-area-label
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 2 days
-
AWS Lambda: KeyNotFoundException drops HTTP-triggered transactions when allowAllHeaders is disabledOpenbug
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
newrelic/newrelic-dotnet-agent#3949 · 1 comment ·
Maintainers usually reply within 1 day
-
area-networking
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
dotnet/aspnetcore#70545 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 87/100
Maintainers usually reply within 1 day