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.0

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.0
File Size Uploaded
eodag_cube-0.9.0.tar.gz 20.4 kB Details

Built distribution (wheel)

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

Total release size: 44.1 kB

Release files / eodag_cube-0.9.0.tar.gz

Download URL eodag_cube-0.9.0.tar.gz
Size 20.4 kB
Tags Source
SHA-256 checksum
How to use checksums
7c0082fa50987adaa092be9a0d1bbb9a8350f25f90f8744d8376fa1e730c5eb1
BLAKE2b-256 checksum
How to use checksums
c2dbc1cad3c4882f4570f8581af7746fdbe26e6c4cf3c003135dd695d638c6a1
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.0-py3-none-any.whl

Download URL eodag_cube-0.9.0-py3-none-any.whl
Size 23.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a56f5c5c3ec805ee8f077f5bc26a990df1c5de86a61cc9e68f833cdfc0c0cb96
BLAKE2b-256 checksum
How to use checksums
d4a3e64664275dddbb0766cbe5c6cba21c0d0e29e981e5fd4a1ca86325b0dd94
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