openPMD/openPMD-api

Converter CLI

Aperta

#459 aperta il 5 feb 2019

 (1 commento) (1 reazione) (0 assegnatari)C++ (57 fork)auto 404
good first issuehelp wantedtools

Metriche repository

Star
 (160 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

We should write a small command line interface (CLI) tool that provide converters from one backend to another.

E.g. if all backends are enabled, convert openPMD series of files:

openPMD-convert -o h5 path/to/simOutput_%T.bp

A cool extra option would be to add a flag that mocks the heavy data entries, e.g. for constant records with zero-value. This might be very useful for validation and meta-data scraping.

We should also add an optional parameter -i|--iteration <N> to only convert a single iteration instead of the full series.

We should also add an optional parameter to change to group/file based iteration format during the convert.

We should also add an optional parameter with a different path for the output.

Guida contributor