napari-sentinel-to-zarr
Writer plugin for napari to save Sentinel tiffs into ome-zarr format
This napari plugin was generated with Cookiecutter using with @napari's cookiecutter-napari-plugin template.
Installation
You can install napari-sentinel-to-zarr via pip:
`pip install napari-sentinel-to-zarr`
Usage
This package provides command-line utilities for:
- Processing raw Sentinel zips of a tile into multiscale zarr
- Processing interpolated “GapFilled” tif for that tile into zarr, rechunking along time axis
- Processing the zarr from step 2 into multiscale OME-zarr
Raw Zipped Images to Zarr
Install the latest version of napari using
pip install -U napari
Install napari-sentinel-to-zarr using
pip install napari-sentinel-to-zarr
Run sentinel-to-zarr zip-to-zarr path/to/tile/55HBU out/path/dir/55HBU.zarr
where path/to/tile/55HBU is a directory full of Sentinel zips
Interpolated Images to Zarr
Run sentinel-to-zarr interpolated-to-zarr path/to/interpolated/55HBU_GapFilled_Image.tif out/dir/Image.zarr
You can pass in optional arguments:
--step-size- how many slices to convert at once. The default is 20 which will require ~5GB RAM. A larger step size means more slices can be loaded at once, and will speed up performance. A full image is typically ~175GB.--chunk-size- the chunk size of the resulting zarr. Default is 1024 which is typically considered a good option and provides good performance
Interpolated Zarr to Multiscale Zarr
Run sentinel-to-zarr zarr-to-multiscale-zarr path/to/interpolated/zarr out/path/interpolated_multiscale.zarr tilename
Where path/to/interpolated/zarr is the output file from step 2
You can pass in optional arguments
--min-shape-the smallest pyramid level you wish to generate. Default is 1024px
Napari Plugin
This package also comes with a napari writer plugin which allows you to open the raw tiles directly by dragging one into a napari viewer, and saving out while you browse using File>Save Layers
Contributing
Contributions are very welcome. Tests can be run with tox, please ensure the coverage at least stays the same before you submit a pull request.
License
Distributed under the terms of the MIT license, "napari-sentinel-to-zarr" is free and open source software
Issues
If you encounter any problems, please file an issue along with a detailed description.
Metadata
Release files for napari-sentinel-to-zarr 0.0.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| napari-sentinel-to-zarr-0.0.7.tar.gz | 15.5 kB | Without provenance | Details for napari-sentinel-to-zarr-0.0.7.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| napari_sentinel_to_zarr-0.0.7-py3-none-any.whl | Python 3 | none | any | Details for napari_sentinel_to_zarr-0.0.7-py3-none-any.whl |
Total release size: 31.8 kB
Release files / napari-sentinel-to-zarr-0.0.7.tar.gz
| Download URL | napari-sentinel-to-zarr-0.0.7.tar.gz |
|---|---|
| Size | 15.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
921ce2e4965055a924d416afadcb3ebfdd4578467df88531e2e99c4a10995c61
|
|
BLAKE2b-256 checksum How to use checksums |
bba9bf5acbccd6145de270e3fa2536663f44309c8c5788680741c9082bc898da
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.1
|
Release files / napari_sentinel_to_zarr-0.0.7-py3-none-any.whl
| Download URL | napari_sentinel_to_zarr-0.0.7-py3-none-any.whl |
|---|---|
| Size | 16.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
61b0bc2a0e5a3584f42ffe176211734d8db4133870e3babfb305a53a0419e592
|
|
BLAKE2b-256 checksum How to use checksums |
d9d451aa44ff1e87d4bcec6bffc6eb50ec3dc2ed0c9566f54eb597154cdc26da
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.1
|
Security for napari-sentinel-to-zarr 0.0.7
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.