Closed RemiLehe closed 8 years ago
Thanks @RemiLehe. I will have a look at the new data sets tomorrow.
Great job @RemiLehe.
If it is fine for you and @ax3l that the example-thetaMode
has no particles, this pull request can be merged. (I am no maintainer, so I can not merge.)
@RemiLehe thank you a lot for the quick update and thanks to @PrometheusPi for testing!
yes if @RemiLehe agrees we can also add particles in the theaMode
sims.
Warning: You added one zero to the file names. Thus old scripts reading the data will not work.
@PrometheusPi Regarding your remarks on the number of zeros, I was not sure if you are asking me to remove that zero, or if it was a personal note for yourself to remember to adapt your old scripts. Can you clarify ?
Regarding the particles for thetaMode, if it is okay with you I would still leave the file without particles, as it used in the openPMD-viewer tutorial, in order to show that the viewer can adapt to the absence of particles, in the GUI. But it is definitely not a very important point, so if you actually need the particles in the data of thetaMode, I can definitely add it. Please let me know.
I think he means your "general scripts that read those files", e.g., our test scripts in openPMD-viewer
? Also be aware that I just realized https://github.com/openPMD/openPMD-standard/issues/121 today for detecting the iteration from the file name.
So right now, using file names of the form data_100.h5
and data_50.h5
will likely be easier for reader implementations than padding zeros such as data_00100.h5
. We can fix/refine this in 1.X
.
After thinking once more about: it is not that much of a problem and we should just be more explicit that this can be zero-padded.
As far as I can tell, openPMD-viewer works fine with any number of zeros. (and reads the datasets of the PR correctly) @ax3l If I understand you, I can leave the filenames as they are, is that correct ? If yes, you can probably merge the PR.
absolutely, thank you a lot! :sparkles:
This pull requests loads new datasets:
For documentation and reproducibility, I also added the scripts that produce these datasets.