dandi / dandi-cli

DANDI command line client to facilitate common operations
https://dandi.readthedocs.io/
Apache License 2.0
22 stars 28 forks source link

Support partial zarr upload #1462

Open yarikoptic opened 4 months ago

yarikoptic commented 4 months ago

Original use-case

to modify some metadata files within zarr. Zarr itself might be huge (GBs) so it is a big waste to require download of the entire zarr folder to just update some metadata files. So relates also to ability for partial download

dandi upload if operating on a .zarr folder, should gain an option so upload only considers paths present but does not assume that it is "all of zarr" and remove the rest from remote zarr. Then it needs to finalize zarr update with full manifest as with some files/folders of zarr present only in archive, and not locally.

I think it should be --zarr-mode full,partial-full,partial-lean. Modes

kabilar commented 4 months ago

Thanks @yarikoptic. Hi @yarikoptic @jwodder, following up from our discussion yesterday, could you please prioritize this issue? Thank you.