Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Explicit Series Close Call #405

Open
ax3l opened this issue Nov 6, 2023 · 0 comments
Open

Explicit Series Close Call #405

ax3l opened this issue Nov 6, 2023 · 0 comments
Labels

Comments

@ax3l
Copy link
Member

ax3l commented Nov 6, 2023

In some interactive workflows (e.g., Jupyter), people want to generate a file - plot it - regenerate it - plot again.

If we keep the read file open in openPMD-viewer, then a user cannot overwrite it.

We could add an explicit close call, that closes the file handles (similar to openPMD-api).
For user-friendliness, subsequent open calls should reopen the files needed (even if it adds latency if done accidentally).

Example workflow: LASY-org/lasy#187

@ax3l ax3l added the feature label Nov 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant