Glossary: treetracker-airflow-dags

Generated by .github/scripts/build-glossary.mjs from domain-graph.json (source commit a537231). Do not edit by hand.

This glossary lists the business terms of treetracker-airflow-dags. Each term links to its domain, which says what the domain does, its rules, and its flows. The estate glossary shows which other repos use the same terms.

Terms

Domains

Data Export

Extracts Treetracker records (tree captures, growers, earnings, planter info) from Postgres and publishes them to external destinations. Most exports stream batched query results into CSV and upload to the CKAN open-data portal; planter info uploads over FTP.

Terms: capture, grower, earnings, planter, CKAN dataset, organization

Rules:

Flows:

Data Migration

Moves and reshapes legacy Treetracker data into the current domain database. Migrates legacy capture records daily and consolidates the stakeholder and entity tables, reconciling entity-stakeholder relationships transactionally.

Terms: capture, stakeholder, entity, planter

Rules:

Flows:

Reporting & Analytics

Computes aggregates and denormalized reporting data in-database. Populates the reporting schema and tree_denormalized table, ranks countries by planted trees with PostGIS, computes FCC contract earnings per term, and chops sessions into time segments.

Terms: country leader board, FCC contract earnings, reporting schema, tree_denormalized, session_segment

Rules:

Flows:

Web-Map Precompute

Keeps the Greenstand web map fast by precomputing tiles and tree clusters. Warms tile and cluster caches on a short schedule, assigns newly captured trees to clusters, removes deactivated trees, and refreshes webmap materialized views.

Terms: map tile, tree cluster, active_tree_region view, organization_location view, planter_location view, species stat view

Rules:

Flows:

Species Identification

Machine-learning pipeline that identifies tree species from capture images. Pulls capture image URLs within a geographic bounding box, stages images in S3, runs a SageMaker batch transform inference job, and builds a validation set from accepted predictions.

Terms: capture image, S3 manifest, SageMaker batch transform job, prediction, validation set

Rules:

Flows:

Platform & Orchestration

Cross-cutting scheduling and platform jobs. Airflow default_args wire a shared Slack failure callback into every DAG, cron shell wrappers run Node jobs with PID locking, and small platform jobs provision messaging authors and wallet tokens.

Terms: DAG, Airflow Variable, Slack channel, messaging author, wallet token, PID lock

Rules:

Flows: