Skip to content

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

Merged
merged 16 commits into from
Jul 25, 2025
Merged

feat(ts): write array data #195

merged 16 commits into from
Jul 25, 2025

Conversation

thewtex
Copy link
Owner

@thewtex thewtex commented Jul 24, 2025

No description provided.

@thewtex thewtex requested a review from Copilot July 24, 2025 20:47
Copy link
Contributor

@Copilot Copilot AI left a 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

@thewtex thewtex merged commit 49fd4fb into main Jul 25, 2025
80 of 93 checks passed
@thewtex thewtex deleted the ts-write-array branch July 25, 2025 14:18
@thewtex thewtex restored the ts-write-array branch July 29, 2025 16:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant