This repository has been archived by the owner on Oct 1, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
Unable to Read N5 Files #175
Comments
Here is a sample of the data I was trying to read. The block size should be 256x256x208 |
I looked quickly through pyn5 source since I haven't touched it in ages, and while this use case of reading a block from a buffer (while presumably providing the dataset attributes manually) is possible in rust-n5, I don't think the necessary interfaces are exposed in pyn5. |
I ended up managing to do it by reading the n5 spec and using numpy for my
super basic use case. Thanks for taking a look Andrew!
…On Tue, Jul 19, 2022, 7:07 AM Andrew Champion ***@***.***> wrote:
I looked quickly through pyn5 source since I haven't touched it in ages,
and while this use case of reading a block from a buffer (while presumably
providing the dataset attributes manually) is possible in rust-n5, I don't
think the necessary interfaces are exposed in pyn5.
—
Reply to this email directly, view it on GitHub
<#175 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AATGQSLJYIIK6BXGNWMZIQ3VU2EAXANCNFSM53TONORA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
@william-silversmith Could you please share how you did this? |
Hi @sharmishtaa, you can find my implementation in CloudVolume here: https://github.com/seung-lab/cloud-volume/tree/master/cloudvolume/datasource/n5 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Description
Trying to read an existing N5 image chunk, but unable to figure out how to read in bytes. I was also unable to read in an existing file.
What I Did
Output:
I also tried to read from a file:
Output:
The text was updated successfully, but these errors were encountered: