Metadata-Version: 2.4
Name: drbx-kb-geolocation-sentinel-2
Version: 1.0.0
Summary: DRB Knowledge-Base geolocation descriptor: Sentinel-2 (TTL, auto-loaded)
Author-email: GAEL Systems <drb-python@gael.fr>
License-Expression: LGPL-3.0-or-later
Requires-Python: >=3.11
Description-Content-Type: text/markdown
Requires-Dist: drbx-kb-topics-sentinel-2-safe>=1.0

# Sentinel-2 geolocation

This geolocation project contains descriptors for Sentinel-2 missions.

## Overview

This package declares geolocation properties for sentinel-2 products:

- **footprint**: geometric extent on `sentinel-2:product_user` resolved from the metadata `MTD_MSIL*.xml` Global_Footprint.
- **band-extent**: aggregates on `sentinel-2:product_user_level-1c` (GRANULE/*/IMG_DATA/*_B01.jp2) and `sentinel-2:product_user_level-2a` (GRANULE/*/IMG_DATA/R60m/*_B01_60m.jp2).

## Python packaging (pip)

Since drb-testbench#40 phase 1, this repo ships a Python package,
**`drbx-kb-geolocation-sentinel-2`**, mirroring the `drbx-kb-topics-*` pattern: the package ships
geolocation descriptor TTLs and exposes them through the drb core loader; drb core >= 2.9
merges every file into the shared topic graph at resolver import.

```shell
pip install drbx-kb-geolocation-sentinel-2
```

Consumer example (using the `drb-addon-geolocation` add-on):

```python
from drb import resolver
from drb_addon_geolocation import GeolocationAddon

node = resolver.create("s3://bucket/sentinel-2-product.zip")
addon = GeolocationAddon()
addon.apply(node)
# node["footprint"], node["band-extent"], ... now available
```
