-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
First half of #125. Supersedes #113. Supersedes #117. Closes #112. Closes #114. Closes #115. ## Changes ### Added - Ship debug libs for C-Blosc on Linux and Mac. ### Changed - Upgrades C-Blosc from v1.21.4 to v1.21.5. ### Fixed - A bug where enabling multiscale without specifying the tile size would cause an error. - Exceptions thrown off the main thread are now caught and logged, and Zarr throws an error in `append`.
- Loading branch information
Showing
43 changed files
with
1,894 additions
and
2,303 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
Binary file not shown.
Binary file not shown.
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
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
# The Zarr Storage device | ||
|
||
## Components | ||
|
||
### The `StorageInterface` class. | ||
|
||
Defines the interface that all Acquire `Storage` devices must implement, namely | ||
|
||
- `set`: Set the storage properties. | ||
- `get`: Get the storage properties. | ||
- `get_meta`: Get metadata for the storage properties. | ||
- `start`: Signal to the `Storage` device that it should start accepting frames. | ||
- `stop`: Signal to the `Storage` device that it should stop accepting frames. | ||
- `append`: Write incoming frames to the filesystem or other storage layer. | ||
- `reserve_image_shape`: Set the image shape for allocating chunk writers. | ||
|
||
### The `Zarr` class | ||
|
||
An abstract class that implements the `StorageInterface`. | ||
Zarr is "[a file storage format for chunked, compressed, N-dimensional arrays based on an open-source specification.](https://zarr.readthedocs.io/en/stable/index.html)" | ||
|
||
### The `ZarrV2` class | ||
|
||
Subclass of the `Zarr` class. | ||
Implements abstract methods for writer allocation and metadata. | ||
Specifically, `ZarrV2` allocates one writer of type `ChunkWriter` for each multiscale level-of-detail | ||
and writes metadata in the format specified by the [Zarr V2 spec](https://zarr.readthedocs.io/en/stable/spec/v2.html). | ||
|
||
### The `Writer` class | ||
|
||
An abstract class that writes frames to the filesystem or other storage layer. | ||
In general, frames are chunked and potentially compressed. | ||
The `Writer` handles chunking, chunk compression, and writing. | ||
|
||
### The `ChunkWriter` class | ||
|
||
Subclass of the `Writer` class. | ||
Implements abstract methods relating to writing and flushing chunk buffers. | ||
|
||
### The `BloscCompressionParams` struct | ||
|
||
Stores parameters for compression using [C-Blosc](https://github.com/Blosc/c-blosc). |
Submodule acquire-core-libs
updated
6 files
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.