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.3.tar.gz (21.7 kB view details)

Uploaded Source

Built Distribution

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

eodag_cube-0.6.3-py3-none-any.whl (30.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for eodag_cube-0.6.3.tar.gz
Algorithm Hash digest
SHA256 4926f28ac67a4d1fd42001aca1a7aa1e164203b9cd4074c74bac14b9b5933761
MD5 0b404729c097c2f81e17db28d3d9412c
BLAKE2b-256 8dae2046e73e8f064eaa9b22fc7320e8b5bb52f3471d157f0f77352a93ba9a9d

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for eodag_cube-0.6.3-py3-none-any.whl
Algorithm Hash digest
SHA256 8c229bfd6fdaaa24d6915ecd2d0e2fd17d6d2f18d4367fdbc781d8de986e0a67
MD5 b07adccdfda6a56a43634a818aab33be
BLAKE2b-256 2542cfaa9c2956b8c941dc38b49b649aa2e8e97b0d7f5e71091a754173704e80

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