Skip to main content

Simple package to convert small tif files to zarr format.

Project description

This script could be used for conversion of a .tiff file to .zarr format with OME-NGFF multiscales metadata structure.

How to run

  1. open command line terminal
  2. install poetry tool for dependency management and packaging: https://pypi.org/project/poetry/
  3. switch to the tif_to_zarr directory: cd PATH_TO_DIRECTORY/tif_to_zarr
  4. install python dependencies: poetry install
  5. run script using cli: poetry run python src/tif_to_zarr.py --src=PATH_TO_SOURCE_DIRECTORY/input_file.tif --dest=PATH_TO_DEST_DIRECTORY/output_file.zarr
  6. to convert a tiff file to zarr with custom metadata values, you can run smthg similar to this: poetry run python3 src/tif_to_zarr.py --src=path_to_source_tif --dest=path_to_output_zarr -a x z y -t 1.0 2.0 3.0 -s 4.0 5.0 6.0 -u nanometer nanometer nanometer
  7. To get the list of options, you may run this: poetry run python3 src/tif_to_zarr.py --help

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tif_to_zarr-0.1.tar.gz (2.8 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

tif_to_zarr-0.1.0-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

tif_to_zarr-0.1-py3-none-any.whl (2.6 kB view details)

Uploaded Python 3

File details

Details for the file tif_to_zarr-0.1.tar.gz.

File metadata

  • Download URL: tif_to_zarr-0.1.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.13

File hashes

Hashes for tif_to_zarr-0.1.tar.gz
Algorithm Hash digest
SHA256 7e603e602b33d868e9c653e6070711814a4329cfed9bc53d62cbfd52a9ef1562
MD5 5711bcf064ce9cc2b71b0555e71dbe44
BLAKE2b-256 f7acb1f667e488ee52d864777f5b52a4dad389995affeed55e17a8335f3f17f9

See more details on using hashes here.

File details

Details for the file tif_to_zarr-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: tif_to_zarr-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.10.14 Linux/5.15.0-41-generic

File hashes

Hashes for tif_to_zarr-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e3ad6feec7a2fad36aa95a57f0ed0ffd0c4b013681af30e78887ec27b9e927e7
MD5 3d771015ba3285c4c3ba66027ed2d486
BLAKE2b-256 cf0cddcf754b3b0413538a26f16e718d78469afe5e87c259a74c0b709484b03c

See more details on using hashes here.

File details

Details for the file tif_to_zarr-0.1-py3-none-any.whl.

File metadata

  • Download URL: tif_to_zarr-0.1-py3-none-any.whl
  • Upload date:
  • Size: 2.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.13

File hashes

Hashes for tif_to_zarr-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 24c4cbaa227e49f2416d56e20778456fdf5f977eb794b6637ea1be7f5ba7d3b6
MD5 8df2c583d717101865d619389a512ebb
BLAKE2b-256 19e5bc11a9ce85fb56930750c758e6b989bb2dd8e9f1cc14dc0ed2393b64485d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page