Ctrl K

byteparsing

Parser library for reading custom binary files from Python.

1
mention
2
contributors

Cite this software

DOI:

10.5281/zenodo.4734115

Description

  • 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
Big data
Multi-scale & multi model simulations
Optimized data handling
Programming languages
License
</>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

Contact person

Johan Hidding
Johan Hidding
Pablo Rodríguez-Sánchez
Pablo Rodríguez-Sánchez

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 34 months ago
Finished