-
Notifications
You must be signed in to change notification settings - Fork 673
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
Adding H5MDWriter to H5MD.py #2866
Comments
|
It doesn't have to be merged first, I guess. I just thought it would be awkward to keep pushing commits to both PRs from the same file. Is there a more convenient way to handling that than, say, deleting edit: nevermind, I think this is all handled by creating a new branch |
Yes, indeed, branches! |
FYI: discussion on empyty boxes #1738 |
H5MD allows "boundary" (a length D vector attribute) to be none. |
@edisj is your writer PR out of draft stage? |
Fixes #2866 ## Work done in this PR - Adds H5MDWriter - Adds entry on ts.data to Timestep documentation - Adds duecredit entries to H5MD reader & writer
Is your feature request related to a problem?
Currently in my pull request (PR#2787), we've only implemented an H5MD file reader. I'd like to implement a writer as well using H5PY's libraries for writing HDF5 files. H5MD files follow specific rules for the structure of groups and datasets. There's already a package, pyh5md, that can write H5MD files nicely, but it's no longer being maintained by its author, so we've decided to stick to H5PY for writing the files.
Describe the solution you'd like
We've been given permission from Pierre de Buyl, the author of pyh5md, to borrow code from his library and implement it into H5MDWriter. I've already begun a draft that's mostly working (uploaded to my github here), where I modeled it after
NCDFWriter
and added/tweaked code from pyh5md. I would like to open a pull request as soon as the reader is merged.Describe alternatives you've considered
We could write the writer from scratch without using pyh5md, but that sounds a lot harder.
Additional context
H5MD format
NCDFWriter - the writer I used as a template to write mine
pyh5md code - used
TimeElement
class,create_box()
,default_chunks()
, andelement()
The text was updated successfully, but these errors were encountered: