While the decorator allows you to define your own methods to map over datasets
in the DataTree while ignoring those datasets not having dimensions, this
library also provides a few convenience methods. For example, the transpose
method we saw earlier can also be applied as follows:
Other methods implemented this way are reindex, equivalent to the
xr.DataArrayreindex
method and assign_coords, equivalent to xr.Datasetassign_coords method.
Store as an Open Microscopy Environment-Next Generation File Format (OME-NGFF)
/ netCDFZarr store.
Note: The API is under development, and it may change until 1.0.0 is
released. We mean it :-).
Run the tests to generate the output. Remove the store_new_image call.
Then, create a tarball of the current testing data
cd test/data
tar cvf ../data.tar *
gzip -9 ../data.tar
python3 -c 'import pooch; print(pooch.file_hash("../data.tar.gz"))'
Update the test_data_sha256 variable in the test/_data.py file. Upload the
data to web3.storage. And update the
test_data_ipfs_cidContent Identifier (CID) variable,
which is available in the web3.storage web page interface.
Create a new tag and Release via the GitHub UI. Auto-generate release notes and
add additional notes as needed. The version number is automatically updated via
hatch-vcs.
Works well with
Use together with multiscale-spatial-image: extensions, drivers, servers and companion tools.
xarrayPythie’s Index: 89N-D labeled arrays and datasets in Python12.9M downloads/mo
zarrPythie’s Index: 86An implementation of chunked, compressed, N-dimensional arrays for Python6.8M downloads/mo
ome-zarrPythie’s Index: 90Implementation of images in Zarr files.266.9K downloads/mo
spatialdataPythie’s Index: 88Spatial data format.184.3K downloads/mo
spatialdata-plotPythie’s Index: 86Static plotting for spatial data.116.3K downloads/mo
spatial_imagePythie’s Index: 37A multi-dimensional spatial image data structure for scientific Python.184.5K downloads/mo