Skip to main content
https://badge.fury.io/py/eodag-cube.svg https://img.shields.io/pypi/l/eodag-cube.svg https://img.shields.io/pypi/pyversions/eodag-cube.svg https://mybinder.org/badge_logo.svg

EODAG-cube

This project is the data-access part of EODAG

https://eodag.readthedocs.io/en/latest/_static/eodag_bycs.png

Installation

EODAG-cube is on PyPI:

python -m pip install eodag-cube

Documentation

Documentation is available through EODAG API User Guide / Data access with eodag-cube.

See also:

Usage - Python API

Example usage for interacting with the api in your Python code:

from eodag import EODataAccessGateway
from rasterio.crs import CRS

dag = EODataAccessGateway()
search_criteria = dict(
    provider='earth_search',
    collection='S2_MSI_L1C',
    geom=[1, 43.5, 2, 44],
    start='2020-06-04',
    end='2020-06-05',
)
search_results = dag.search(**search_criteria)
product = search_results[0]
product
EOProduct

Whole product as XarrayDict:

product.to_xarray()
XarrayDict

Single asset as xarray.Dataset:

product.assets["blue"].to_xarray()
Dataset

fsspec.core.OpenFile file object:

product.assets["blue"].get_file_obj()

<File-like object S3FileSystem, sentinel-s2-l1c/tiles/31/T/DJ/2020/6/4/0/B02.jp2>

Contribute

If you intend to contribute to eodag-cube source code:

git clone https://github.com/CS-SI/eodag-cube.git
cd eodag-cube
python -m pip install -e .[dev]
tox

LICENSE

EODAG is licensed under Apache License v2.0. See LICENSE file for details.

AUTHORS

EODAG is developed by CS GROUP - France.

Metadata

Release files for eodag-cube 0.9.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for eodag-cube 0.9.1
File Size Uploaded
eodag_cube-0.9.1.tar.gz 23.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for eodag-cube 0.9.1
File Interpreter ABI Platform
eodag_cube-0.9.1-py3-none-any.whl Python 3 none any Details

Total release size: 48.1 kB

Release files / eodag_cube-0.9.1.tar.gz

Download URL eodag_cube-0.9.1.tar.gz
Size 23.1 kB
Tags Source
SHA-256 checksum
How to use checksums
6bca2b8f286c149e91b36b4575f638b694722c97210a61c834fe3b1ba761b7cd
BLAKE2b-256 checksum
How to use checksums
451c0be4c5e3946a8ef92973b545bfc16ffb14f01d3273995f03ec17eccea0d9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / eodag_cube-0.9.1-py3-none-any.whl

Download URL eodag_cube-0.9.1-py3-none-any.whl
Size 25.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
65247a62683875d54db448e3595e12d51267f8905c99ca8f2aad359901363281
BLAKE2b-256 checksum
How to use checksums
e1e0f25e29bca3327feae81eb95abe91a1176c06e1fc5d8212bc821e36401675
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page