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

add write and append to zarr #56

Open
jkingslake opened this issue Oct 22, 2024 · 0 comments
Open

add write and append to zarr #56

jkingslake opened this issue Oct 22, 2024 · 0 comments

Comments

@jkingslake
Copy link
Member

Add an option to sequentially write to a local zarr file each multi-burst xarray in the main loop in load.all and do not return the whole concatenated xarray.

This would be useful in cases when the dataset is too large to fit into memory and you can lazily load it later.

The edits would be around would be around line 274. Instead of adding the output of _all_bursts_in_dat_to_xarray to a list, we would write it to a zarr with the append_dim set to 'time'. e.g.,

multiBurstxarray.to_zarr('zarr_store_location', append_dim = 'True')
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

1 participant