Trevor Manz

Results 355 comments of Trevor Manz
trafficstars

Thanks for your patience in my response. TL;DR - It isn't possible to view a contiguous piece of memory that is `f2` as `f4` and have anything usable. Unfortunately, I...

Published in v0.6.0! https://guido.io/zarr.js/#/advanced/float16

I'm not very familiar with the library, but generally I'm hesitant to add this package as a dependency to Zarr.js for a couple reasons: 1.) The project appears to be...

Thank you for the detailed response! I will look into the python implementation and translating into TS. I agree. It would be ideal to have both boolean indexing _and_ coordinate...

I see. Thanks for looking into this.

From the typescript perspective, there is a more “correct” way of communicating this behavior, which I will add to this PR https://github.com/DefinitelyTyped/DefinitelyTyped/blob/fb66211010980641f01bcfe8ffbc0cc3d71989ca/types/ndarray/index.d.ts#L43

Ok, I've changed the `TYPED_ARRAY_MAPPING` to inspect `globalThis` on import only, and also removed the global declaration from `zarr`. This way it is up to the end user to add...

One thing we had also [discussed previously](https://github.com/gzuidhof/zarr.js/issues/60#issuecomment-664574760) would be to have the `HTTPStore` a more general fetch-based store where you can provide your own `fetch` implementation. E.g., ```typescript let store...

For reference, here is the output of different `zarr-lite` exports (with `rollup` + `terser`): ```bash $ npm run build src/index.js, src/indexing.js, src/httpStore.js → dist... Created bundle index.js: 3.37 kB →...