ComputationalRadiationPhysics / picongpu

Performance-Portable Particle-in-Cell Simulations for the Exascale Era :sparkles:
https://picongpu.readthedocs.io
Other
694 stars 218 forks source link

png2gas: adjust for openPMD 1.0.0 #1446

Open ax3l opened 8 years ago

ax3l commented 8 years ago

The png2gas tools should be adjusted to write openPMD 1.0.0 files (and read those in PIConGPU examples).

ax3l commented 7 years ago

@n01r please be aware of this issue that png2gas might need slight modifications now

n01r commented 7 years ago

Thanks! So far it seemed that it would suffice for the needs since if the number of cells in each direction is equal to the pixel dimensions. Reading worked as intended and running worked as well.

ax3l commented 7 years ago

excellent. yes it does not really need the openPMD meta information yet, we read the data rather simple. feel free to report if you encounter any issues and make sure to use PNGwrite 0.6.0 due to the 8bit read bugs documented here: https://github.com/pngwriter/pngwriter/blob/0.6.0/CHANGELOG.md

n01r commented 7 years ago

Yep, had to build PNGwriter 0.6.0 since it was required and it was not available on the cluster.

ax3l commented 7 years ago

Already requested PNGwriter 0.6.0 to be installed a few hours ago, will take a few days due to vacations but building your own is fine.