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

Ignore time dependent values with a time == fill value or step == fill value #33

Open
lundborgmagnus opened this issue Nov 6, 2023 · 0 comments

Comments

@lundborgmagnus
Copy link

lundborgmagnus commented Nov 6, 2023

In the H5MD publication ( https://dx.doi.org/10.1016/j.cpc.2014.01.018 ) it says that HDF5 files support compression and thereby that H5MD files do as well. Using compression with HDF5 files requires chunked storage. These chunks do not have to be 1 frame (especially not to get efficient compression). Chunks of more than 1 frame will result in "empty" frames. It does not say in the H5MD specification how to handle this case. But since it says that other fields should ignore elements that are set to fill value I think that would be the best approach for time dependent data as well.

I would suggest checking if the time stamp or the step number equals the fill value, when reading a frame. If so, that frame should be skipped.

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

1 participant