Skip to content

Commit 5f92537

Browse files
franzpoeschelax3l
andauthored
Document regexes for showing only attributes or datasets in new ADIOS2 schema (#1068)
* Document regexes for emulating bpls -A * Reword introductory sentence Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
1 parent 7cfd945 commit 5f92537

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

docs/source/backends/adios2.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,15 @@ The new layout may be activated **for experimental purposes** in two ways:
105105

106106
The ADIOS2 backend will automatically recognize the layout that has been used by a writer when reading a dataset.
107107

108+
.. tip::
109+
110+
This schema does not use ADIOS2 attributes anymore, thus ``bpls -a`` and ``bpls -A`` attribute switches do not show openPMD attributes.
111+
Their functionality can be emulated via regexes:
112+
113+
* Print datasets and attributes: Default behavior
114+
* Print datasets only: ``bpls -e '.*/__data__$'``
115+
* Print attributes only: ``bpls -e '^(.(?!/__data__$))*$'``
116+
108117
Memory usage
109118
------------
110119

0 commit comments

Comments
 (0)