openPMD / openPMD/openPMD-api

how to rescale axis lengths to work around downstream bugs?

Open
#1,579 10 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
C++
Stars
161
Forks
59
Avg merge
2d 22h
Merged PRs (30d)
7

Description

**What do you want to achieve, please describe.**

I want to be able to use Paraview to examine openPMD datasets that have very large axis lengths, say 1e20.

However, due to a bug, Paraview cannot render such boxes. See https://gitlab.kitware.com/paraview/paraview/-/issues/21371.

The last resort seems to be i) to rescale the data and write a new file, or ii) rescale the axis lengths dynamically when reading. Is there a straightforward way to do either of these, or do I need to rescale the axis lengths in the simulation code when writing?

**Software Environment:**
Have you already installed openPMD-api?
If so, please tell us which *version* of openPMD-api your question is about:

- version of openPMD-api: 0.15.2
- installed openPMD-api via: conda-forge

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.