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.0.tar.gz (19.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.7.0-py3-none-any.whl (24.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: eodag_cube-0.7.0.tar.gz
  • Upload date:
  • Size: 19.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.7.0.tar.gz
Algorithm Hash digest
SHA256 86a40452d41bdef13442b01ee6af628922c690ff37fbd798edd4713320374cae
MD5 da20fe1c0c9213e207bca48807dd8e40
BLAKE2b-256 56ed4153d71b729f8ee287d660a7637a11362c29b7b98d08a484daf6348ab324

See more details on using hashes here.

File details

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

File metadata

  • Download URL: eodag_cube-0.7.0-py3-none-any.whl
  • Upload date:
  • Size: 24.8 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.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6ad8a8e987cbfb2a161f76d6588bed5a27abb34697a5e3e14f755998934dcdfd
MD5 219fe944f499639386618396d6fd76d5
BLAKE2b-256 89a4e72246392e2091079bd46d0d227caf257acbc8ffa98aba18f3503e41db6e

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