openPMD-viewer visualize static field
Closed this issue ยท 7 comments
The attached zip file includes 4 static fields, no errors from openPMD-validator check, they could be visualized by yt. There are errors for loading through openPMD-viewer.
hdf5.zip
Hi @lge0303,
I looked at your files and they look great. Here is a work-around for you to visualize them:
ts = OpenPMDTimeSeries('./hdf5/', backend='h5py')
Thank you for reporting the issue with the visualization for those files!
There is an ambiguity / small defect in the openPMD standard with respect to particlesPath
and mesh-only files; I will already go ahead and make this in openPMD-api more robust. This will be fixed with the next openPMD-api release (the current latest release is 0.13.2), so you don't need to add that extra backend='h5py'
option anymore.
Refs.:
@lge0303 now that I debug this - actually, you just need to update your openPMD
attribute when you write from 1.0.0
to 1.1.0
.
The relaxation that particlesPath
is optional was introduced in that version of the standard.
@lge0303 please feel free to report back once you have a chance to test this with the modified openPMD
attribute and then we will close this issue :)
Attached is the zip file for these files modified following your suggestions: attribute from 1.0.0 to 1.1.0.
Somehow I could not connect kernel on jupyter, so can not check the results now :-(. Do you have any suggestions for fixing the "kernel not found" on nersc jupyter? Thanks!
hdf5.zip