-
Notifications
You must be signed in to change notification settings - Fork 50
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
Momentum from .bp data #391
Comments
This is an error on the PIConGPU side. PIConGPU did not set the @cbontoiu I think, some of your simulation were conducted while the error was still in PIConGPU. If you run the current |
@PrometheusPi |
Strange - the fix was added 3 weeks ago. Did your simulation already contain the fix? If yes, we might look at a different problem. |
@pordyna just pointed out, that there might be another bug (in the viewer). We will investigate this |
@PrometheusPi Sorry for my late reply. I was in holiday. Thank you for investigating this issue and please let me know when there are things to try. |
@cbontoiu I tested the openPMD-viewer (version Surprising to me, reading the weight directly works and produces meaningful results: w = ts.get_particle( var_list=['w'], iteration=[0], species='e', plot=False) Thus, I guess there is an error within the viewer that does not handle weighting correction correctly. I will investigate. |
cc'ing @franzpoeschel |
@cbontoiu I found the bug. I will provide a fix for openPMD-viewer. |
While the fix is not yet mainline, the change you need to do is minimal and can be applied by hand. |
Hi @PrometheusPi , @RemiLehe , @ax3l Thanks for the fix. I don't quite get it because I use the openPMDviewer with Conda. It is normally loaded in JupyterLab such that I can add other Python code. For this reason I don't have the file you indicated:
Neither did
I'm using Any help is appreciated. |
Hey, sorry about the delay in releasing this latest version.
|
Hi,
I have a problem logged for PIConGPU here
ComputationalRadiationPhysics/picongpu#4650
I have a model for which none of ux, uy,uz can be retrieved from the .bp data. The remaining variables, x, y,z and w can be obtained. I used openpmd viewer to read data from the .bp archives. There is nothing wrong with my installation because it can get ux, 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 have
using 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: