Skip to content

Commit 31457dc

Browse files
committed
refactor: improve architecture diagram flow and clarity
1 parent f21768e commit 31457dc

File tree

1 file changed

+16
-10
lines changed

1 file changed

+16
-10
lines changed

docs/ARCHITECTURE.md

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,30 +7,36 @@ This document describes the high-level architecture of the `sat-data-acquisition
77
The following diagram illustrates how user requests are transformed into analysis-ready satellite data.
88

99
```mermaid
10-
graph TD
11-
User([User Request]) --> Client[SatDataClient]
12-
User --> Params[ProcessingParams]
10+
flowchart TD
11+
User([User Request]) --> Params[ProcessingParams]
12+
Params --> Client[SatDataClient]
1313
14-
subgraph Providers [Data Source Adapters]
14+
subgraph Providers
1515
Client --> MPC[Planetary Computer]
1616
Client --> E84[Element84]
1717
end
1818
19-
Params --> MPC
20-
Params --> E84
21-
2219
MPC --> STAC_API[STAC API Search]
2320
E84 --> STAC_API
2421
2522
STAC_API --> Loader[odc-stac Loader]
2623
27-
subgraph Processing [In-Memory Engine]
24+
subgraph Processing
2825
Loader --> XR[xarray Dataset]
2926
XR --> Clip[Spatial Clipping]
30-
XR --> Reproject[UTM Reprojection]
27+
Clip --> Reproject[UTM Reprojection]
3128
end
3229
33-
Processing --> Output([Local GeoTIFF / S3 / NumPy])
30+
Reproject --> Save[Save Module]
31+
32+
Save --> Local[Local Storage]
33+
Save --> S3[S3 Upload]
34+
35+
Local --> GeoTIFF1([GeoTIFF])
36+
Local --> NumPy1([NumPy Array])
37+
38+
S3 --> GeoTIFF2([GeoTIFF])
39+
S3 --> NumPy2([NumPy Array])
3440
```
3541

3642
## Core Components

0 commit comments

Comments
 (0)