Get started
170 commitsLast commit ≈ 20 months ago3 stars1 fork
Parser library for reading custom binary files from Python.
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.
Studying uncertainties in large eddy simulations of wind farms