WarpX
WarpX copied to clipboard
Remove fields from PICMI ParticleDiagnostic
- [ ]
ParticleDiagnostic
- [ ]
LabFrameParticleDiagnostic
- [ ]
LabFrameFieldDiagnostic
@dpgrote It seems that the CI tests fail with the following error:
yt.utilities.exceptions.YTUnidentifiedDataType: Could not determine input format from `'Python_plasma_lens_plt000084'`
This is a Python test, with a single diagnostic - which is a ParticleDiagnostic
(see the input script). Here is the plotfile that yt
was not able to read:
Python_plasma_lens_plt000084.zip
Do you understand why yt
was confused?
I think that Yt is looking for the Header file, but that file wasn't written out since there are no fields (the AMReX routine that would write out that file was not called). This will be a problem for the no fields option since it means that the plot files cannot be processed with Yt. This is something that was not noticed in PR #2419. For the failing test, a simple fix is to not have Yt open the plot file. I'll look at this a bit and see if I can find a way around this issue.
This should now work as PR #3219 has been merged. Note that the CI benchmark file will need to be updated to remove the references to the fields.