-
Notifications
You must be signed in to change notification settings - Fork 120
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add IndexTransformGridPartition::GetCellTransform method
The existing `PartitionIndexTransformOverGrid` function iterates over both the `grid_cell_indices` and corresponding `cell_transform`. The `GetGridCellRanges` function, used for storage statistics computation, provides only ranges of `grid_cell_indices`, but not the corresponding cell transforms, to avoid wastefully computing it even when not needed. The newly added `GetCellTransform` method will be used in a susequent commit that adds zarr v3 support to obtain the cell transform afterwards in cases where it is needed. PiperOrigin-RevId: 564262593 Change-Id: I3e774d0be9653ed55e43ecd4e866699bf1014c5f
- Loading branch information
1 parent
85e8a50
commit 40d2628
Showing
7 changed files
with
312 additions
and
142 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.