Skip to main content

Python Package that support the read/write of multidimensional COG files

Project description

mrio

codecov

mrio is a library that extends rasterio for reading and writing multidimensional COG files.

Examples

Using the xarray-like read API:

import mrio

tcog_file = "https://huggingface.co/datasets/tacofoundation/mrio-examples/resolve/main/simple.tif"
with mrio.open(tcog_file, engine="numpy") as src:
    ddd = src[1:2, 0:4, ...]

Using the earthengine-like read API:

import mrio

tensor = ( 
  mrio.Collection("https://huggingface.co/datasets/tacofoundation/mrio-examples/resolve/main/simple.tif")
      .select(["B01", "B02", "B03"])
      .FilterDate("2021-01-05", "2021-03-10")
      .FilterBounds(-76.1, 4.3, -76.1, 4.3)
      .getInfo()
)

Installation

You can install the mrio library using pip:

pip install mrio

or via conda:

conda install -c conda-forge mrio

or from source:

git clone git@github.com:tacofoundation/mrio.git
cd mrio
pip install .

Specification

See the mrio website for details.

License

This project is licensed under the CC0 1.0 Universal Public Domain Dedication - see the LICENSE file for details.

Changes

See the CHANGELOG file for details.

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

mrio-0.0.99999.tar.gz (22.6 kB view details)

Uploaded Source

Built Distribution

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

mrio-0.0.99999-py3-none-any.whl (26.7 kB view details)

Uploaded Python 3

File details

Details for the file mrio-0.0.99999.tar.gz.

File metadata

  • Download URL: mrio-0.0.99999.tar.gz
  • Upload date:
  • Size: 22.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/7.0.1 keyring/24.3.1 pkginfo/1.9.6 readme-renderer/34.0 requests-toolbelt/1.0.0 requests/2.32.3 rfc3986/1.5.0 tqdm/4.67.1 urllib3/2.2.1 CPython/3.10.12

File hashes

Hashes for mrio-0.0.99999.tar.gz
Algorithm Hash digest
SHA256 4bcab43fb6cbf301dff34d8e20c3d51b332a986dd60c482c40e81428acef1531
MD5 4ee6e0cb1ed4f4c488944f508bcf73ec
BLAKE2b-256 3fe3daf116cfaf52f18246593d8312c3fa58249f6d24b1942e6bcb5ba41e72c6

See more details on using hashes here.

File details

Details for the file mrio-0.0.99999-py3-none-any.whl.

File metadata

  • Download URL: mrio-0.0.99999-py3-none-any.whl
  • Upload date:
  • Size: 26.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/7.0.1 keyring/24.3.1 pkginfo/1.9.6 readme-renderer/34.0 requests-toolbelt/1.0.0 requests/2.32.3 rfc3986/1.5.0 tqdm/4.67.1 urllib3/2.2.1 CPython/3.10.12

File hashes

Hashes for mrio-0.0.99999-py3-none-any.whl
Algorithm Hash digest
SHA256 f80ed01000a8e4cace1070454fb9ec6ae044b84f1a39d26711de53f1b45c8451
MD5 303db90cfd1d06132341ad6de41e906e
BLAKE2b-256 b1a0faaa8dcf227c2990c71f08152c5702371ae1a53226774a0e8823f07e8573

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