-
Notifications
You must be signed in to change notification settings - Fork 218
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
Cannot get momentum #4650
Comments
Probably introduced with #4636 since this part of the code was not executed in the reader for |
@pordyna thanks for your reply. I will log an issue for openpmd-viewer, of course. However openpmd-viewer works with old PIConGPU data. Does it mean that the latest PIConGPU release changed something which openpmd-viewer cannot handle, just for momentum components? |
@cbontoiu the PR mentioned above added information in the metadata that the output uses the PIC extension to the openPMD stadard. The part of the code in the viewer that fails is only executed for data with this extension. That code is supposed to automatically take care of dividing the momentum by weighting to get single particle momenta. So take care, when you get it to work, you shouldn't divide it yourself anymore. |
This issue was investigated in #4633, reported in #4635 and fixed with #4635. Since this is a fixed bug, I will close the issue. Feel free to reopen, in case I misinterpreted the issue. |
The error was caused by an error in the openPMD-viewer: openPMD/openPMD-viewer#393 |
I have a model for which none of
ux
,uy
,uz
can be retrieved from the .bp data. The remaining variables,x
,y
,z
andw
can be obtained. I used openpmd viewer to read data from the .bp archives. There is nothing wrong with my installation because it can getux
,uy
,uz
from data saved a few months ago, so therefore with an older dev release of PIConGPU. Something happened in between.In my
speciesDefinition.param
file I always haveusing DefaultParticleAttributes = MakeSeq_t< position<position_pic>, momentum, weighting, particleId >;
This is the error I get:
Here is a snapshot from my data series as a .bp archive
https://drive.google.com/file/d/1Acf8bKL_RQJOvyhViyup6fdKsFCsPih8/view?usp=drive_link
Hopefully, this is an easy fix.
Many thanks, for your help.
The text was updated successfully, but these errors were encountered: