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

Common field registry and virtual fields #1228

Open
pgrete opened this issue Feb 7, 2025 · 1 comment
Open

Common field registry and virtual fields #1228

pgrete opened this issue Feb 7, 2025 · 1 comment
Labels
discussion enhancement New feature or request

Comments

@pgrete
Copy link
Collaborator

pgrete commented Feb 7, 2025

I was wondering if there's need to have some machinery to create virtual fields (or if this is too much of an overhead upstream and should be handled downstream) -- similar to the discussion about a common name registry we talked about during the sync yesterday.

With virtual fields, I imagine some Metadata::Derived field that is also Metadata::Virtual/Unallocated that translates to the field being specified by a callback function (e.g., to get a temperature from the conserved variables).
The main advantages over existing machinery that I see is that it saves memory.
IIRC this is also a feature that is currently being implemented (or maybe already is) in ADIOS2 so that new fields are available for direct access in post processing tools without requiring additional disk space.

@pgrete pgrete added discussion enhancement New feature or request labels Feb 7, 2025
@pgrete pgrete changed the title Commong field registry and virtual fields Common field registry and virtual fields Feb 7, 2025
@Yurlungur
Copy link
Collaborator

👍 I think this would be great to have. We pondered adding this to riot but never found a great non-intrusive mechanism for doing so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants