-
Notifications
You must be signed in to change notification settings - Fork 51
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
Mapping between ADIOS steps and openPMD iterations #949
Merged
Commits on Oct 18, 2022
-
1) New streaming status: RANDOM_ACCESS, for non-streaming situations 2) Variable attributes, to be written only if the backend has support for steps
Configuration menu - View commit details
-
Copy full SHA for 29e492b - Browse repository at this point
Copy the full SHA 29e492bView commit details -
Writing changes: Write current step(s) to snapshot attribute
Only set snapshot attribute if Iteration is not yet written For v-based iteration encoding, the snapshot attribute is already being set before this PR. Just add a comment there. Also add missing <cstdint> includes Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
Configuration menu - View commit details
-
Copy full SHA for dee6768 - Browse repository at this point
Copy the full SHA dee6768View commit details -
Reading changes: Use snapshot attribute
This means that the snapshot attribute, if present, is used for accessing iterations inside `series.readIterations()`. Fallback to the old behavior (linear progression through iterations) if the attribute is not found. Variable-b. encoding: Allow several (equivalent) iterations per step This means that a single step can be marked by /data/snapshot to represent iterations 0,10,20,30 at the same time. The underlying data is the same, but the API will treat it as 4 times a different iteration with equivalent content. Avoid const_cast by introducing a parsing state and use that when re-parsing. Skip repeated iterations that occur in Append mode Before the explicit iteration-step mapping, these were not seen by reading procedures at all. Now they are, so we skip the second instance. Better error message when calling readIterations() too late This commit includes some refactoring 1. Remove recursion of operator++(), this leads to constant memory usage rather than filling the stack at some point 2. Extract subroutines from operator++() 3. Steal some refactoring that solved some bugs on topic-read-leniently, so it stands to reason that we should apply it here already
Configuration menu - View commit details
-
Copy full SHA for 695e82f - Browse repository at this point
Copy the full SHA 695e82fView commit details -
In the tests, don't try to read the series with listSeries after already having fully drained it Combined test: append mode and weird iteration order Deactivate troublesome Schema 2021 Append test
Configuration menu - View commit details
-
Copy full SHA for 81cfec2 - Browse repository at this point
Copy the full SHA 81cfec2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 11cd90d - Browse repository at this point
Copy the full SHA 11cd90dView commit details -
Configuration menu - View commit details
-
Copy full SHA for b70af3e - Browse repository at this point
Copy the full SHA b70af3eView commit details -
Preview support for Linear read mode without snapshot attribute
Currently only available for BP5 engine, will be generalized into Linear read mode in openPMD#1291. If the backend does not support the snapshot attribute, then iterate in ascending order, skipping duplicate and non-linear iteration indices. Not possible if the Series is parsed ahead of time.
Configuration menu - View commit details
-
Copy full SHA for 8dcf776 - Browse repository at this point
Copy the full SHA 8dcf776View commit details -
Configuration menu - View commit details
-
Copy full SHA for e491869 - Browse repository at this point
Copy the full SHA e491869View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.