-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Band names for arrow exported images #9099
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
base: main
Are you sure you want to change the base?
Conversation
@paleolimbot am I right to say array metadata was not really designed to pass application metadata? What are your thoughts on what's being done here? |
e768bbf
to
28c7645
Compare
14ac76c
to
7d2abbd
Compare
This metadata is available in nanoarrow, but not pyarrow or arro3
Cool! It's true that field metadata at anything other the top-level struct has a medium chance of getting propagated through various Arrow operations. If you used the two metadata fields Feel free to ping on anything if you have a question! |
ce3c7c9
to
9e415c7
Compare
Addresses #8329 (comment) . see also #8329 (comment)
Changes proposed in this pull request:
For multiband images, we issue:
This metadata is accessible using
pa.array(img).type.field(0).metadata
For single band images we emit:
This metadata is not apparently accessible via pyarrow or arro3, but is accessible via nanoarrow.
The ultimate goal is to be able to have:
@rok