Skip to content

Add Zarr3 support#25

Merged
sameeul merged 5 commits intoPolusAI:mainfrom
sameeul:feature/zarrv3_support
Feb 5, 2026
Merged

Add Zarr3 support#25
sameeul merged 5 commits intoPolusAI:mainfrom
sameeul:feature/zarrv3_support

Conversation

@sameeul
Copy link
Member

@sameeul sameeul commented Feb 4, 2026

No description provided.

sameeul and others added 3 commits February 4, 2026 08:54
- Add FileType parameter to GetZarrSpecToWrite() for v2/v3 switching
- Add GetZarrV3DataType() for plain dtype names (uint16 vs <u2)
- Add FileType parameter to TsWriterCPP constructor (defaults to v2)
- Update Python bindings and wrapper to expose file_type parameter

Zarr v3 writes create zarr.json with zarr_format:3, v2 backwards compatible.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- test_write_zarr_v3_basic: Basic v3 write and read-back verification
- test_write_zarr_v3_multiple_dtypes: Test uint8, uint16, uint32, float32
- test_write_zarr_v3_chunked: Chunked writes with 2x2 grid pattern
- test_write_zarr_v2_default: Verify default FileType is still v2

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@sameeul sameeul changed the title Add Zarr3 support - WIP1 Add Zarr3 support Feb 5, 2026
sameeul and others added 2 commits February 5, 2026 15:12
- Move FileType enum definition from tsreader.h to utilities.h
- tsreader.h now includes utilities.h instead of defining FileType
- tswriter.h now includes utilities.h instead of tsreader.h
- Remove unused headers from tsreader.h (iostream, tuple, unordered_map)

This centralizes the FileType enum and reduces unnecessary header dependencies.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
FileType is now defined in utilities.h, so this include is no longer needed.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@sameeul sameeul merged commit be4200e into PolusAI:main Feb 5, 2026
18 checks passed
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