openPMD / openPMD-validator

:ballot_box_with_check: Validator and Example Scripts
ISC License
4 stars 8 forks source link

New Attribute: speciesType #38

Closed ax3l closed 6 years ago

ax3l commented 6 years ago

Check if the optional speciesType attribute in the SpeciesType extension is a string and uses only allowed characters (e.g. no spaces).

Introduced in openPMD 2.0.0: https://github.com/openPMD/openPMD-standard/pull/180

ax3l commented 6 years ago

@RemiLehe shall I push the updates to the example creator, writing the speciesType extension, as well?

update: pushed. I skipped adding photon to E and B but added it to the particle group and the density mesh record.