Python Package that support the read/write of multidimensional COG files
Project description
mrio
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mrio-0.1.0.tar.gz.
File metadata
- Download URL: mrio-0.1.0.tar.gz
- Upload date:
- Size: 23.5 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
596acdabfab6bee9312e3ce9f76c86655308aaaa023613356e19c2e0908f9689
|
|
| MD5 |
b6fbce88e043f6c86c9adcf368b015d9
|
|
| BLAKE2b-256 |
df962353403a32db51ef86c9c1377a27f17db56f6e38a1fa297604fbf6fea404
|
File details
Details for the file mrio-0.1.0-py3-none-any.whl.
File metadata
- Download URL: mrio-0.1.0-py3-none-any.whl
- Upload date:
- Size: 27.8 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
15c8a641fc499bdde348daf755d46b8ee5f1a1da5260e4a92af330e201a58ba3
|
|
| MD5 |
a94c9bbcbc86012dce9354cae2b1dcfc
|
|
| BLAKE2b-256 |
219374a4477db7f9034099e26a47e63dee2d79217f7dce77a32f0abad0891005
|