# giswqs/earthengine-py-notebooks architecture

> Architecture diagram of the GitHub repository giswqs/earthengine-py-notebooks, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-12-05). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/giswqs/earthengine-py-notebooks
- Repository: https://github.com/giswqs/earthengine-py-notebooks

## Overview

This repository is a collection of Earth Engine Python notebook examples, not a single application. The principal workflow is to open a notebook, run Earth Engine data selection and analysis, then inspect results in an interactive map; some examples also export results. Its major branches cover image and collection processing, vector operations, datasets, machine learning, and visualization. The README describes notebook execution and Earth Engine access; sampled notebooks confirm representative mapping and export behavior. Many example files were not sampled, so their internal connections are not inferred.

Main entry points: [`GetStarted/10_get_started_with_EE.py`](https://github.com/giswqs/earthengine-py-notebooks/blob/master/GetStarted/10_get_started_with_EE.py) (Earth Engine examples), [`Image/image_visualization.py`](https://github.com/giswqs/earthengine-py-notebooks/blob/master/Image/image_visualization.py) (Interactive map), [`NAIP/ndwi_timeseries.py`](https://github.com/giswqs/earthengine-py-notebooks/blob/master/NAIP/ndwi_timeseries.py) (NAIP water series), [`Datasets`](https://github.com/giswqs/earthengine-py-notebooks/tree/master/Datasets) (Earth Engine datasets)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_notebooks["Notebook workflows"]
  node_examples["Earth Engine examples"]
  node_conversion["Notebook conversion"]
end

subgraph group_imagery["Imagery analysis"]
  node_image_ops["Image processing"]
  node_collection_ops["Collection processing"]
  node_cloud_masks["Cloud masking"]
  node_segmentation["SNIC segmentation"]
  node_naip_series["NAIP water series<br/>[ndwi_timeseries.py]"]
  node_array_analysis["Array analysis"]
end

subgraph group_vectors["Vector analysis"]
  node_feature_ops["Feature operations"]
  node_joins["Spatial and table joins"]
  node_reducers["Reducers and statistics"]
end

subgraph group_catalog["Data catalog"]
  node_datasets[("Earth Engine datasets")]
  node_machine_learning["Machine learning"]
end

subgraph group_outputs["Maps and outputs"]
  node_map_display["Interactive map"]
  node_asset_export["Asset and file exports"]
end

node_user(("Notebook user"))
node_earth_engine[("Google Earth Engine")]
node_notebook_runtime(("Notebook runtime"))
node_drive[("Google Drive")]

node_user -->|"opens example"| node_examples
node_user -->|"runs notebook"| node_notebook_runtime
node_notebook_runtime -->|"executes Earth Engine"| node_earth_engine
node_examples -->|"queries and analyzes"| node_earth_engine
node_examples -->|"adds map layers"| node_map_display
node_map_display -->|"renders imagery"| node_earth_engine
node_naip_series -->|"processes and exports"| node_earth_engine
node_naip_series -->|"exports vectors"| node_drive
node_datasets -->|"displays datasets"| node_map_display
node_user -->|"converts examples"| node_conversion

click node_examples "https://github.com/giswqs/earthengine-py-notebooks/blob/master/GetStarted/10_get_started_with_EE.py"
click node_conversion "https://github.com/giswqs/earthengine-py-notebooks/blob/master/Template/convert_js_to_python.py"
click node_image_ops "https://github.com/giswqs/earthengine-py-notebooks/tree/master/Image"
click node_collection_ops "https://github.com/giswqs/earthengine-py-notebooks/tree/master/ImageCollection"
click node_cloud_masks "https://github.com/giswqs/earthengine-py-notebooks/tree/master/Algorithms/CloudMasking"
click node_segmentation "https://github.com/giswqs/earthengine-py-notebooks/blob/master/Algorithms/Segmentation/segmentation_snic.py"
click node_naip_series "https://github.com/giswqs/earthengine-py-notebooks/blob/master/NAIP/ndwi_timeseries.py"
click node_array_analysis "https://github.com/giswqs/earthengine-py-notebooks/tree/master/Array"
click node_feature_ops "https://github.com/giswqs/earthengine-py-notebooks/tree/master/FeatureCollection"
click node_joins "https://github.com/giswqs/earthengine-py-notebooks/tree/master/Join"
click node_reducers "https://github.com/giswqs/earthengine-py-notebooks/tree/master/Reducer"
click node_datasets "https://github.com/giswqs/earthengine-py-notebooks/tree/master/Datasets"
click node_machine_learning "https://github.com/giswqs/earthengine-py-notebooks/tree/master/MachineLearning"
click node_map_display "https://github.com/giswqs/earthengine-py-notebooks/blob/master/Image/image_visualization.py"
click node_asset_export "https://github.com/giswqs/earthengine-py-notebooks/tree/master/AssetManagement"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_examples,node_conversion,node_user toneBlue
class node_image_ops,node_collection_ops,node_cloud_masks,node_segmentation,node_naip_series,node_array_analysis,node_earth_engine,node_drive toneAmber
class node_feature_ops,node_joins,node_reducers toneMint
class node_datasets,node_machine_learning toneRose
class node_map_display,node_asset_export,node_notebook_runtime toneIndigo
```

## Components

### Notebook workflows

- [Earth Engine examples](https://github.com/giswqs/earthengine-py-notebooks/blob/master/GetStarted/10_get_started_with_EE.py): `GetStarted/10_get_started_with_EE.py`
- [Notebook conversion](https://github.com/giswqs/earthengine-py-notebooks/blob/master/Template/convert_js_to_python.py): `Template/convert_js_to_python.py`

### Imagery analysis

- [Image processing](https://github.com/giswqs/earthengine-py-notebooks/tree/master/Image): `Image`
- [Collection processing](https://github.com/giswqs/earthengine-py-notebooks/tree/master/ImageCollection): `ImageCollection`
- [Cloud masking](https://github.com/giswqs/earthengine-py-notebooks/tree/master/Algorithms/CloudMasking): `Algorithms/CloudMasking`
- [SNIC segmentation](https://github.com/giswqs/earthengine-py-notebooks/blob/master/Algorithms/Segmentation/segmentation_snic.py): `Algorithms/Segmentation/segmentation_snic.py`
- [NAIP water series](https://github.com/giswqs/earthengine-py-notebooks/blob/master/NAIP/ndwi_timeseries.py): `NAIP/ndwi_timeseries.py`
- [Array analysis](https://github.com/giswqs/earthengine-py-notebooks/tree/master/Array): `Array`

### Vector analysis

- [Feature operations](https://github.com/giswqs/earthengine-py-notebooks/tree/master/FeatureCollection): `FeatureCollection`
- [Spatial and table joins](https://github.com/giswqs/earthengine-py-notebooks/tree/master/Join): `Join`
- [Reducers and statistics](https://github.com/giswqs/earthengine-py-notebooks/tree/master/Reducer): `Reducer`

### Data catalog

- [Earth Engine datasets](https://github.com/giswqs/earthengine-py-notebooks/tree/master/Datasets): `Datasets`
- [Machine learning](https://github.com/giswqs/earthengine-py-notebooks/tree/master/MachineLearning): `MachineLearning`

### Maps and outputs

- [Interactive map](https://github.com/giswqs/earthengine-py-notebooks/blob/master/Image/image_visualization.py): `Image/image_visualization.py`
- [Asset and file exports](https://github.com/giswqs/earthengine-py-notebooks/tree/master/AssetManagement): `AssetManagement`

### Other components

- **Notebook user**
- **Google Earth Engine**
- **Notebook runtime**
- **Google Drive**

## Connections

- Notebook user → Earth Engine examples: opens example (evidence: `README.md`)
- Notebook user → Notebook runtime: runs notebook (evidence: `README.md`)
- Notebook runtime → Google Earth Engine: executes Earth Engine (evidence: `README.md`)
- Earth Engine examples → Google Earth Engine: queries and analyzes (evidence: `GetStarted/10_get_started_with_EE.py`)
- Earth Engine examples → Interactive map: adds map layers (evidence: `GetStarted/10_get_started_with_EE.py`)
- Interactive map → Google Earth Engine: renders imagery (evidence: `Image/image_visualization.py`)
- NAIP water series → Google Earth Engine: processes and exports (evidence: `NAIP/ndwi_timeseries.py`)
- NAIP water series → Google Drive: exports vectors (evidence: `NAIP/ndwi_timeseries.py`)
- Earth Engine datasets → Interactive map: displays datasets (evidence: `Datasets/Vectors/global_power_plant_database.py`)
- Notebook user → Notebook conversion: converts examples (evidence: `README.md`)
