Davis Bennett
Davis Bennett
is it possible to apply downsampling in all three spatial dimensions? I have isotropic data, so it makes sense to do this.
- ensures that the `fill_value` of a v3 array is an instance of that array's dtype. The behavior here matches numpy type casting rules, so if `dtype` is `bool` and...
If port 5555 is in use, then the remote store tests hang forever. ``` Address already in use Port 5555 is in use by another program. Either identify and stop...
- Adds dunder methods to `ShardingCodec` to enable pickling, and adds a simple test for this - refactors the codecs test suite. this is the start of a larger effort....
This PR adds a declarative API for defining Zarr arrays and groups independently of storage. Using this API, users and developers can create and manipulate Zarr hierarchies, adding nodes and...
In terms of abstraction levels, this pushes the `codecs` kwarg below the array creation API. Instead, we use the kwarg "filters" to denote ArrayArray codecs, "compressor" to denote the ArrayBytes...
Some functions that return `dict[str, JSON]` were mistakenly annotated as returning `JSON`. One wrinkle to this PR is the `BatchedCodecPipeline` class, where `from_dict` takes a list, and `to_dict` returns a...
Because it uses [`lru_cache`](https://github.com/zarr-developers/zarr-python/blob/e3ee09eaa8a5e17a92d00ae4979aa069f755eaba/src/zarr/codecs/sharding.py#L323-L325) and we have not implemented the requisite dunder methods for object serialization to make it pickleable, which is not hard according to [internet wisdom](https://stackoverflow.com/a/73785520) . todo:...
from my workstation: ``` ================================================================================================================== slowest 10 durations ================================================================================================================== 9.17s call tests/v3/test_indexing.py::test_set_orthogonal_selection_3d 1.98s call tests/v3/test_indexing.py::test_set_orthogonal_selection_2d 0.71s call tests/v3/test_indexing.py::test_set_orthogonal_selection_1d 0.61s call tests/v3/test_indexing.py::test_get_orthogonal_selection_3d 0.49s call tests/v3/test_store/test_remote.py::TestRemoteStoreS3::test_get[use_str-byte_range3--c/0] 0.46s call tests/v3/test_indexing.py::test_set_coordinate_selection_2d 0.43s setup tests/v3/test_store/test_remote.py::TestRemoteStoreS3::test_get[use_str-byte_range2-\x01\x02\x03\x04-foo/c/0.0]...
`LocalStore` has a [`root`](https://github.com/zarr-developers/zarr-python/blob/194862802e2d31191a49a291b294807755e5b8d6/src/zarr/store/local.py#L72) attribute, but `RemoteStore` has a [`path`](https://github.com/zarr-developers/zarr-python/blob/194862802e2d31191a49a291b294807755e5b8d6/src/zarr/store/remote.py#L28) attribute. I believe they have the same function. We should eventually pick one name for this, and figure out how...