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',
    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.

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.7.1.tar.gz (21.2 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.7.1-py3-none-any.whl (24.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for eodag_cube-0.7.1.tar.gz
Algorithm Hash digest
SHA256 6c1d716b1b97845b178e6ce89553f781a6e848d3e918251e2b13726f6b8683af
MD5 53dee2767d8c07807f58770f7e24bb78
BLAKE2b-256 0fce170140ac3ed1cbc7efb439751f2bbad441d897e30a251b5252fa22d5a945

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for eodag_cube-0.7.1-py3-none-any.whl
Algorithm Hash digest
SHA256 572ef036bc808ada882b076052c69ec20d1c7e0916c3830738e28cd05cc5c891
MD5 e841e1f0d32ab6168ea658ef1b6c0f5b
BLAKE2b-256 a22fe00f25b3558b44e2f0f9f0b7eab6742faecc5e07789fd27100f25eaffd58

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