Skip to content

Commit 0cd8083

Browse files
add note about factor / datatree level naming (#21)
1 parent b7feaa5 commit 0cd8083

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

docs/usage.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ To build a sparse or non-uniform pyramid, pass `factors` instead of `levels` —
3232
pyramid = create_pyramid(ds, factors=[1, 4, 16])
3333
```
3434

35+
Levels are always named sequentially (`0, 1, 2, …`) regardless of `factors`; the downsample factor isn't in the node name but in the multiscales metadata (`layout[i].transform.scale` and each level's `spatial:transform`).
36+
3537

3638

3739

uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)