openPMD / openPMD/openPMD-api

openpmd-ls: add data size?

Open
#863 0 comments 0 reactions 0 assignees View on GitHub
feature request tools
Dominant language
C++
Stars
161
Forks
59
Avg merge
2d 22h
Merged PRs (30d)
7

Description

@SeverinDiederichs mentioned that it might be useful to also give an estimate of data size in an openPMD series.

A potential way to provide this could be through the `openPMD::listSeries`/`openPMD_api.list_series` functions, adding the size in brackets.

Way to go:
- iterate `shape` and data type
- skip `constant` record components
- print behind listed records in `[SIZE MB/GB/TB]`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.