Skip to content
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

Make it possible to create a skeleton without allocating memory. #343

Closed
Qfl3x opened this issue Oct 17, 2023 · 2 comments
Closed

Make it possible to create a skeleton without allocating memory. #343

Qfl3x opened this issue Oct 17, 2023 · 2 comments

Comments

@Qfl3x
Copy link
Contributor

Qfl3x commented Oct 17, 2023

The current guide on creating a skeleton:

using YAXArrays, Zarr
a = YAXArray(zeros(Union{Missing, Int32},10,20))
f = tempname();
r = savecube(a,f,driver=:zarr,skeleton=true);
all(ismissing,r[:,:])

allocates memory during the zeros call, which is counter-intuitive to the idea of a skeleton, as well as very memory intensive.

@lazarusA
Copy link
Collaborator

please consider doing a PR using FillArrays, see here: #248 (duplicated of this)

@lazarusA
Copy link
Collaborator

close by #344

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

No branches or pull requests

2 participants