openPMD / openPMD-example-datasets

:gift: HDF5 Example Files
Creative Commons Zero v1.0 Universal
8 stars 4 forks source link

Fix bug in ADIOS2 dataset, add two filebased iterations #15

Closed franzpoeschel closed 3 years ago

franzpoeschel commented 3 years ago

Update for the dataset added with #14

Shapes of constant records components now correct:

  uint64_t  /data/550/particles/e/charge/shape                                 attr   = 96781
  uint64_t  /data/550/particles/e/mass/shape                                   attr   = 96781
  uint64_t  /data/550/particles/i/charge/shape                                 attr   = 19838
  uint64_t  /data/550/particles/i/mass/shape                                   attr   = 19838

Also, adds two iterations in a file-based iteration encoding for advanced testing.

Related: Bug fixed in PIConGPU https://github.com/ComputationalRadiationPhysics/picongpu/pull/3678

franzpoeschel commented 3 years ago

Note: Due to https://github.com/ComputationalRadiationPhysics/picongpu/pull/3672, the resulting datasets are likely not identical any more, meaning that tests need to be rewritten.