Various fixes and improvements to the save-zarr command #306
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR substantially reworks the
save-zarr
command so that a chunked volume can be saved in a zarr store and successfully loaded and viewed in neuroglancer. Here is an example for viewing the image data ats3://ccn-connectomics-mega-ng/sample3_funke_lab/07_yuri_v5_B.zarr
:https://neuroglancer-demo.appspot.com/#!%7B%22dimensions%22:%7B%22x%22:%5B8e-9%2C%22m%22%5D%2C%22y%22:%5B8e-9%2C%22m%22%5D%2C%22z%22:%5B8e-9%2C%22m%22%5D%7D%2C%22position%22:%5B6875.0%2C4500.0%2C5630.0%5D%2C%22layers%22:%5B%7B%22type%22:%22image%22%2C%22source%22:%22zarr://s3://ccn-connectomics-mega-ng/sample3_funke_lab/07_yuri_v5_B.zarr/%22%2C%22tab%22:%22source%22%2C%22name%22:%2207_yuri_v5_B%22%2C%22shader%22:%22%23uicontrol%20invlerp%20normalized%5Cnvoid%20main%28%29%20%7B%5Cn%20%20emitGrayscale%28normalized%28%29%29%3B%5Cn%7D%5Cn%22%7D%5D%2C%22layout%22:%224panel%22%7D
The following features and fixes were included:
order
argument).zattrs
dtype
dtype
from the input chunk