Closed
Conversation
When removing those lines - and only with HDF5 - I get the following
error on `electrons.to_dask()`:
```
openpmd_api/DaskDataFrame.py in particles_to_daskdataframe(particle_species)
65 for k_rc, rc in r.items():
66 if not rc.constant:
---> 67 chunks = rc.available_chunks()
68 break
69 if chunks:
RuntimeError: [HDF5] File ID not found with file name
```
Seen with the 3D openPMD HDF5 example data set, at iteration 400.
Printing the records and components in the loop shows:
- charge Scalar (skipped because constant)
- mass Scalar (skipped because constant)
- momentum x (calls available_chunks)
f2dea43 to
7fc3676
Compare
Contributor
|
This pull request introduces 2 alerts when merging 7fc3676 into 6fd3936 - view on LGTM.com new alerts:
|
Contributor
|
This pull request introduces 2 alerts when merging 37e08fb into 6fd3936 - view on LGTM.com new alerts:
|
Member
Author
|
demonstrator moved to #961 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
When removing those lines - and only with HDF5 - I get the following error on
electrons.to_dask():Seen with the 3D openPMD HDF5 example data set, at iteration 400.
Printing the records and components in the loop shows:
The patch from #959 is applied.