Skip to content

SFS -> Zarr conversion script#208

Closed
Aseemrd wants to merge 1 commit intographite-base/208from
aseem/sfsToZarr
Closed

SFS -> Zarr conversion script#208
Aseemrd wants to merge 1 commit intographite-base/208from
aseem/sfsToZarr

Conversation

@Aseemrd
Copy link
Collaborator

@Aseemrd Aseemrd commented Feb 18, 2026

What

Adds sfs_to_egoverse_zarr.py — takes Scale task IDs, downloads SFS data, and writes local .zarr episodes via ZarrWriter.

Writer fix (zarr_writer.py)

_write_language_annotations tried to build a numpy structured dtype with VariableLengthBytes() as a field — numpy can't interpret Zarr-only types, so it crashed with TypeError.

Fix: JSON-encode each annotation row to UTF-8 bytes and store as a flat VariableLengthBytes array — same pattern the image writer already uses.

Copy link
Contributor

aidang3019 commented Feb 21, 2026

This stack of pull requests is managed by Graphite. Learn more about stacking.

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.

3 participants