Skip to content

Allow default values to be None (missing) for spatial convention#14

Open
kylebarron wants to merge 1 commit intozarr-developers:mainfrom
kylebarron:kyle/spatial-default-missing
Open

Allow default values to be None (missing) for spatial convention#14
kylebarron wants to merge 1 commit intozarr-developers:mainfrom
kylebarron:kyle/spatial-default-missing

Conversation

@kylebarron
Copy link
Copy Markdown

Since the spec explicitly allows for transform_type and registration to be missing, it seems like we should allow that as well in the toolkit. Currently, there's no way for the user to create missing keys.

This changes the default values of transform_type and registration to be None, in line with the defaults in the spec.

(For the record, I would be happy to be explicit in the spec that transform_type: "affine" must be set and that registration: "pixel" must be set, but that would be a backwards incompatible change)

@netlify
Copy link
Copy Markdown

netlify bot commented Apr 7, 2026

Deploy Preview for geozarrdemonstration4e8c9 canceled.

Name Link
🔨 Latest commit 0ba3b6a
🔍 Latest deploy log https://app.netlify.com/projects/geozarrdemonstration4e8c9/deploys/69d52f50647b5700081cc214

@kylebarron kylebarron changed the title Allow default values to be none for spatial convention Allow default values to be None (missing) for spatial convention Apr 7, 2026
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