Sign in
Ctrl K

byteparsing

Parser library for reading custom binary files from Python.

1
mention
2
contributors

Cite this software

What byteparsing can do for you

  • Read binary OpenFOAM files
  • Uses memory mapping for efficient access
  • Parser/combinator library for writing mixed ascii/binary parsers

The main aim of this package is to read and alter OpenFOAM binary files. These files are a mixed form of a ASCII based C syntax with binary blobs of data intermixed. Byteparsing uses memory mapping for efficient access with Numpy.
Byteparsing builds on a parser-combinator stack that can be adapted for other file types as well. An example is included for PLY (3D polygon data) files.

Keywords
Programming languages
  • Jupyter Notebook 90%
  • Python 8%
  • C++ 1%
  • Other 1%
License
  • Apache-2.0
</>Source code

Participating organisations

Netherlands eScience Center
University of Groningen

Mentions

Breaking the barrier: fluid simulations parallel-in-time

Author(s): Johan Hidding
Published in 2019

Contributors

Pablo Rodríguez-Sánchez
Pablo Rodríguez-Sánchez
Netherlands eScience Center

Related projects

Parallel-in-time methods for the propagation of uncertainties in wind-farm simulations

Studying uncertainties in large eddy simulations of wind farms

Updated 16 months ago
Finished