BPLS.SERIAL(1)
β¨ NAME β¨
bpls.serial β literally the ADIOS2 utility bestie π
π DESCRIPTION π
okay so here's the vibe, the usage is:
bpls [OPTIONS] file [mask1 mask2 ...]
It lists / dumps the content of a BP/HDF5 file. π¦ And a mask can be a shell pattern, just like with ls, e.g. "*/x?". Also real talk: variables that have multiple timesteps get reported with an extra dimension β and the time dimension is the first dimension then. no cap.
Here are all the options, and yes I'm giving you every single one because we don't gatekeep here π
--long,-lβ prints values of all scalars and attributes, plus min/max values of arrays (and there's literally no overhead to get them!!)--attrs,-aβ list/match attributes too--attrsonly,-Aβ list attributes only--meshes,-mβ list meshes--timestep,-tβ read content step by step (stream reading)--ignore_flattenβ displays steps as written (doesn't flatten, even if the writer said to)--dump,-dβ dump matched variables/attributes. To match attributes too, add option-a--regexp,-eβ treats masks as extended regular expressions--output,-o<path>β print to a file instead of stdout--start,-s"spec"β offset indices in each dimension (default is0for all dimensions);<0is handled as in python (-1is last)--count,-c"spec"β number of elements in each dimension;-1denotes 'until end' of dimension (default is-1for all dimensions)--noindex,-yβ print data without array indices--string,-Sβ print 8bit integer arrays as strings--columns,-n"cols"β number of data elements per row to print--format,-f"str"β format string to use for one data item in print instead of the default. E.g."%6.3f"--hidden_attrsβ show hidden ADIOS attributes in the file--decomp,-Dβ show decomposition of variables as layed out in file--error,-Xstringβ specify read accuracy (error,norm,rel|abs) e.g.error="0.0,0.0,abs"L2 norm = 0.0, Linf = inf--transport-parameters,-Tβ specify File transport parameters e.g."Library=stdio"--engine,-E<name>β specify ADIOS Engine--engine-params,-Pstringβ specify ADIOS Engine Parameters e.g."SelectSteps=0:n:2"
πΈ Examples for slicing πΈ
bestie these are the moment, watch:
-s "0,0,0" -c "1,99,1": Print 100 elements (of the 2nd dimension).
-s "0,0" -c "1,-1": Print the whole 2nd dimension however large it is.
-s "-1,-1" -c "1,1": Print the very last element (of a 2D array)
π Help options π
--help,-hβ print this help.--verbose,-vβ print log about what this program is doing. Use multiple-vto increase logging level.--version,-Vβ print version information; compatible with--verbosefor additional information, i.e.-v --version.
π Typical use
bpls -lav <file>
and that's the whole page, you ate that π
okay so the tea at the bottom of the page: this whole thing is brought to you by ADIOS, and it's dated September 2024. periodt. ππ¦β¨
π¦ where this page comes from
- debian trixie: adios2-serial-bin 2.10.2+dfsg1-2 Β· Apache2
- ubuntu questing: adios2-serial-bin 2.10.2+dfsg1-5
- ubuntu resolute: adios2-serial-bin 2.11.0+dfsg1-6build1 Β· Apache2
- ubuntu stonking: adios2-serial-bin 2.12.1+dfsg1-3build1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms