From ec6476b02f932f2c5eedae9c8bfe36077bb82dad Mon Sep 17 00:00:00 2001 From: Fabrice Brito Date: Tue, 31 Oct 2023 11:58:54 +0100 Subject: [PATCH] app mermaid --- docs/app/app.md | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/docs/app/app.md b/docs/app/app.md index cd8f6bb..ede5093 100644 --- a/docs/app/app.md +++ b/docs/app/app.md @@ -34,13 +34,29 @@ graph TB A[STAC Items] --> B A[STAC Items] --> C subgraph Process STAC item - B[["crop(green)"]] --> D[Normalized difference]; + B["crop(green)"] --> D[Normalized difference]; C["crop(nir)"] --> D[Normalized difference]; D --> E[Otsu threshold] end E --> F[Create STAC] ``` + +``` mermaid +graph TB + A[STAC Item] --> B + A[STAC Item] --> C +subgraph Process STAC item +subgraph scatter on band + B["crop(green)"] --> D[Normalized difference]; + C["crop(nir)"] --> D[Normalized difference]; +end + D --> E[Otsu threshold] +end + E --> F[Create STAC Catalog] +``` + + The application can be used in two modes: - take a list of Sentinel-2 STAC items references, applies the crop over the area of interest for the radiometric bands green and NIR, the normalized difference, the Ostu threshold and finaly creates a STAC catalog and items for the generated results.