Merge branch 'feat/p3-editor-coverage' into feat/p3-remote-editor
# Conflicts: # CHANGELOG.md # CLAUDE.md # docs/design/range-reads.md
This commit is contained in:
@@ -450,9 +450,13 @@ ed.resize("x", &[1100])?; // h5py: ds.resize((1100,))
|
||||
let sel = Selection::Hyperslab { start: vec![1000], stride: vec![1], count: vec![100], block: vec![1] };
|
||||
ed.write_values("x", &sel, &[0.5f64; 100])?; // ds[1000:1100] = 0.5
|
||||
ed.set_attr("x", "units", &AttrValue::String("m/s".into()))?;
|
||||
ed.resize("x", &[900])?; // shrinking prunes chunks, like h5py
|
||||
```
|
||||
|
||||
Each call changes the file in place (no rewrite) and syncs it. What it
|
||||
Each call changes the file in place (no rewrite) and syncs it. Any chunk
|
||||
index (version-2 B-trees for several unlimited dimensions included) and
|
||||
attributes in compact or dense storage are handled as libhdf5 handles
|
||||
them; space an edit frees is reused by later edits of the same editor. What it
|
||||
cannot change safely is refused before anything is written; see
|
||||
[known issues](docs/known-issues.md) for the limits.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user