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

Don't have support for resize(H5Dset_extent) #53

Open
zyc-sudo opened this issue Jul 24, 2019 · 10 comments
Open

Don't have support for resize(H5Dset_extent) #53

zyc-sudo opened this issue Jul 24, 2019 · 10 comments

Comments

@zyc-sudo
Copy link
Contributor

zyc-sudo commented Jul 24, 2019

Hi,
I tried to find the wrapper for H5Dset_extent which resize the chunked datasets. I forked the repo to https://github.com/zyc-sudo/hdf5 and implemented the wrapper in h5d_dataset.go as
func (s *Dataset) Resize(dims []uint)

I'm not sure if you guys already implemented it or not. If you already did, could you please tell me where it is? Or if you didn't let me know too so we can do pull request when I finish it to contribute a little to this project

@kortschak
Copy link
Member

We have not implemented that. However, the implementation you have is not currently safe. What happens if someone calls s.Resize([]uint{})?

@zyc-sudo
Copy link
Contributor Author

zyc-sudo commented Jul 25, 2019 via email

@kortschak
Copy link
Member

Yes, please do. I'll go through the code with comments with a view to merging this when I get some time.

@zyc-sudo
Copy link
Contributor Author

zyc-sudo commented Jul 25, 2019 via email

@mrwill84
Copy link

wow good project .
Bros, it's merged ?

@zyc-sudo
Copy link
Contributor Author

wow good project .
Bros, it's merged ?

Nope. I think the project is stalled. If you want to use it, you can use my fork where I implemented it.

@zyc-sudo zyc-sudo reopened this Aug 28, 2023
@mrwill84
Copy link

@zyc-sudo thank you ;)

@mrwill84
Copy link

@zyc-sudo man, since your repo can't open issue to support, could you take a quick look at ? it failed when I want to resize dim .
https://gist.github.com/mrwill84/66f47b5e4dc2e9de5fdc45de69983e09

@zyc-sudo
Copy link
Contributor Author

zyc-sudo commented Aug 28, 2023 via email

@mrwill84
Copy link

thank you man

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

3 participants