-
Notifications
You must be signed in to change notification settings - Fork 10
feat(ts): write array data #195
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR implements array data writing functionality for the TypeScript implementation of ngff-zarr, transitioning from placeholder code to a complete chunk-based parallel writing system.
Key Changes:
- Replaced placeholder array writing code with a comprehensive chunk-based implementation
- Added parallel processing support using p-queue for concurrent chunk writes
- Implemented type conversion utilities to handle different data types correctly
Reviewed Changes
Copilot reviewed 4 out of 5 changed files in this pull request and generated 4 comments.
File | Description |
---|---|
ts/src/io/to_ngff_zarr.ts |
Complete rewrite of array writing logic with parallel chunk processing and type conversion |
ts/src/utils/create_queue.ts |
New utility for creating concurrent processing queues with hardware-aware concurrency |
ts/deno.json |
Added p-queue dependency for parallel processing |
ts/test/from_ngff_zarr_test.ts |
Commented out debug logging for cleaner test output |
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
We need 2.4 for `deno bundle` -- conda-forge currently only has 2.3.
Work around p-queue dep esm difficulties.
For test data download.
No description provided.