Open
Description
Just documenting this so we don't forget.
At the moment, we cannot read or visualize the momentum (u(x|y|z)
) record of particle species that do not write mass
as well.
openpmd_viewer/openpmd_timeseries/data_reader/io_reader/particle_reader.py in read_species_data(series, iteration, species_name, component_name, extensions)
95 if np.all( m != 0 ):
96 norm_factor = 1. / (m * constants.c)
---> 97 data *= norm_factor
98
99
ValueError: operands could not be broadcast together with shapes (265489,) (0,) (265489,)
Related: