Open pgrete opened 8 months ago
Hi @pgrete, do you have openpmd-api
installed?
https://openpmd-api.readthedocs.io/en/0.15.2/install/install.html
openPMD-api is the backend we use to read ADIOS2 BP files.
What is the producing code of your ADIOS2 BP files? Is this BP3/BP4/BP5?
How did you install your post-processing environment and what exact package versions are used?
It looks to me like you did some editing along the lines
--> 116 self.series = io.Series(
117 series_name,
118 #"opmd.%T.bp,
119 io.Access.read_only )
of openpmd_viewer/openpmd_timeseries/data_reader/data_reader.py
aka https://github.com/openPMD/openPMD-viewer/blob/4aac40b4b932e0a8098b32de69d6e95342020879/openpmd_viewer/openpmd_timeseries/data_reader/data_reader.py#L114-L119
Before the line, can you print(series_name)
?
Maybe the argument gets guessed in a funny way depending on how the files in the directory are named.
Did you try opening the series via
ts = OpenPMDTimeSeries("opmd.00007.bp",backend="openpmd-api") # no / at the end
or
ts = OpenPMDTimeSeries("./",backend="openpmd-api") # no / at the end
already?
In openPMD-viewer, we usually pass a path to a directory that contains an openPMD series.
Trying to open series with the
viewer
results in (same for trying the%T
syntax directly):Hardcoding the series name fixes it:
Am I doing sth wrong or is the regex parsing not working as expected?