Data access for EODAG
Project description
EODAG-cube
This project is the data-access part of EODAG
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
Whole product as XarrayDict:
product.to_xarray()
Single asset as xarray.Dataset:
product.assets["blue"].to_xarray()
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 |
a1757960856c677b69255b91ba13dce3353aa8f916ddd4fbda78e2eaab271ec2
|
|
MD5 |
c484aa82515c4c2150a3416c6ac6a806
|
|
BLAKE2b-256 |
c7c6ccf0043205f181999db4fd4204eab43bbe1eabf660d1a9ed0df7f03095dc
|
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
Algorithm | Hash digest | |
---|---|---|
SHA256 |
abe7b8e37f0de3c3c95b3764f461ebd0e04570690d42c6dc953a39199361034a
|
|
MD5 |
f71ac5286d5d74f407f983aa1c7cd462
|
|
BLAKE2b-256 |
18be694f0dd847697dcdd360749f0e3ea780769e399d880b312bd1f6674adbfe
|