Metadata-Version: 2.1
Name: eodm
Version: 0.1.0
Summary: 
Author: Nikola Jankovic
Author-email: jankovic.gd@gmail.com
Requires-Python: >=3.10,<4.0
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Dist: fsspec (>=2024.3.1,<2025.0.0)
Requires-Dist: geojson-pydantic (>=1.1.2,<2.0.0)
Requires-Dist: httpx (>=0.27.0,<0.28.0)
Requires-Dist: lxml (>=5.3.0,<6.0.0)
Requires-Dist: owslib (>=0.34.1,<0.35.0)
Requires-Dist: pystac (>=1.10.0,<2.0.0)
Requires-Dist: pystac-client (>=0.7.7,<0.8.0)
Requires-Dist: python-dateutil (>=2.9.0.post0,<3.0.0)
Requires-Dist: python-dotenv (>=1.0.1,<2.0.0)
Requires-Dist: python-json-logger (>=3.3.0,<4.0.0)
Requires-Dist: rasterio (>=1.4.3,<2.0.0)
Requires-Dist: rio-stac (>=0.10.1,<0.11.0)
Requires-Dist: s3fs (>=2024.3.1,<2025.0.0)
Requires-Dist: typer (>=0.12.3,<0.13.0)
Description-Content-Type: text/markdown

# eodm - EO Data Mover

![build](https://github.com/geopython/eodm/actions/workflows/main.yml/badge.svg)

Library and CLI application used to group functions and aid in running ETL operations on EO data.

## CLI Usage

Below are example uses of the CLI application. Note the shell piping operator, the intended
use case is such that output of one command is piped into the next. With this a clear interface
is required between the commands. For this purpose the [STAC](https://stacspec.org/en) Item is chosen.

```shell
eodm extract stac_api items https://earth-search.aws.element84.com/v1 sentinel-2-l2a --bbox 49.1,18.1,49.2,18.2 --datetime-interval 2023-06-01/2023-06-30 \
| eodm transform metadata band-subset red,green,blue,nir \
| eodm load stac_catalog items s3://eox-gitlab-testdata/vs/catalog.json \
| eodm load stac_api items https://stac2.hub-dev.eox.at/
```

```shell
eodm extract stac_api items https://earth-search.aws.element84.com/v1 sentinel-2-l2a --bbox 49.1,18.1,49.2,18.2 --datetime-interval 2023-06-01/2023-06-30 \
| eodm transform data snowmap \
| eodm transform metadata wrap-items snowmap "/tmp/snowmap_%Y%m%d_%H%M%S%f.tiff" \
| eodm load stac_catalog items s3://gtif-data/test/catalog.json \
| eodm load stac_api items --no-verify https://minikube.local
```

```shell
eodm extract stac_catalog items s3://eox-gitlab-testdata/vs/catalog.json \
| eodm load stac_api items https://stac2.hub-dev.eox.at/
```

```shell
eodm extract openeo /home/nikola/Testground/geo/openeo-tests/results_1_openeo_vito/job-results.json\
| eodm transform data ensure_cog \
| eodm transform metadata wrap-items openeo "/tmp/openEO_%Y-%m-%dZ.tif" \
| eodm load stac_catalog items s3://gtif-data/test/catalog.json \
| eodm load stac_api items https://stac2.hub-dev.eox.at/
```

```shell
eodm extract stac_api items https://earth-search.aws.element84.com/v1 sentinel-2-l2a --bbox 49.1,18.1,49.2,18.2 --datetime-interval 2023-06-01/2023-06-30\
| eodm transform metadata band-subset red,green,blue,nir
```

## Library usage

