BPLS.SERIAL(1)

πŸ“¦
version 2.12.1 Β· 2 versions
, in debian trixie, ubuntu questing, ubuntu resolute, ubuntu stonking

✨ 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 is 0 for all dimensions); <0 is handled as in python (-1 is last)
  • --count, -c "spec" β€” number of elements in each dimension; -1 denotes 'until end' of dimension (default is -1 for 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, -X string β€” 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, -P string β€” 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 -v to increase logging level.
  • --version, -V β€” print version information; compatible with --verbose for 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