Skip to main content

Data access for EODAG

Project description

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',
    productType='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]
pre-commit install
tox

LICENSE

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

AUTHORS

EODAG is developed by CS GROUP - France.

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

eodag_cube-0.6.0.tar.gz (21.4 kB view details)

Uploaded Source

Built Distribution

eodag_cube-0.6.0-py3-none-any.whl (30.2 kB view details)

Uploaded Python 3

File details

Details for the file eodag_cube-0.6.0.tar.gz.

File metadata

  • Download URL: eodag_cube-0.6.0.tar.gz
  • Upload date:
  • Size: 21.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for eodag_cube-0.6.0.tar.gz
Algorithm Hash digest
SHA256 a1757960856c677b69255b91ba13dce3353aa8f916ddd4fbda78e2eaab271ec2
MD5 c484aa82515c4c2150a3416c6ac6a806
BLAKE2b-256 c7c6ccf0043205f181999db4fd4204eab43bbe1eabf660d1a9ed0df7f03095dc

See more details on using hashes here.

File details

Details for the file eodag_cube-0.6.0-py3-none-any.whl.

File metadata

  • Download URL: eodag_cube-0.6.0-py3-none-any.whl
  • Upload date:
  • Size: 30.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for eodag_cube-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 abe7b8e37f0de3c3c95b3764f461ebd0e04570690d42c6dc953a39199361034a
MD5 f71ac5286d5d74f407f983aa1c7cd462
BLAKE2b-256 18be694f0dd847697dcdd360749f0e3ea780769e399d880b312bd1f6674adbfe

See more details on using hashes here.

Supported by

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