possible issue - wrong scaling of weight
There has been a report for PIConGPU https://github.com/ComputationalRadiationPhysics/picongpu/issues/3990 that particle momenta have been scaled wrongly by @cbontoiu. He reported that physics results of the phase space changed with changing ppc and concluded that there is an issue with the openPMD-viewer.
In case this is true, I opened this issue for future tracking/reference. I will cross check, whether I can reproduce the reported problem and try to determine wether the error is within PIConGPU or as suspected in openPMD-viewer.
Here is the relevant openPMD-viewer code:
https://github.com/openPMD/openPMD-viewer/blob/dev/openpmd_viewer/openpmd_timeseries/data_reader/h5py_reader/particle_reader.py#L71
It would be interesting to know the value of the macroWeighted and weightingPower meta data, for the particle momentum, in PIConGPU.