Is there a way to overwrite or delete a single variable or step in a .bp4 file? #3001
Description
Let's say a user wrote data (a variable) to disk using BP4 format with steps 0, 1 and 2. Now, he wants to restart the calculation from step 1 (e.g. to test a different calculation method). Using the BP4 engine in Mode::Write
would overwrite all the data and only step 2 would be present. The Mode::Append
would recognize that the variable is already present in the .bp4 file and append a new step (step 3).
The problem is that in our case the user expects that the original data from step 2 is overwritten with the results from the new calculation. The final .bp4 should then contain steps 0 and 1 from the first calculation and step 2 from the second one and nothing else.
I assume that manipulating stored data is not a straightforward task. But is there still a way to this with ADIOS2?
Activity