Skip to content

Add reproducible Yaounde boundary and 30 m grid pipeline - #1

Open
Omer-alt wants to merge 3 commits into
mainfrom
feature/data-pipeline
Open

Add reproducible Yaounde boundary and 30 m grid pipeline#1
Omer-alt wants to merge 3 commits into
mainfrom
feature/data-pipeline

Conversation

@Omer-alt

Copy link
Copy Markdown
Collaborator

Summary

This PR establishes the reproducible spatial reference framework for the Yaoundé pilot study.

Changes

  • records the HDX COD-AB Cameroon boundary source and provenance;
  • selects Yaoundé I–VII using stable ADM3 P-codes;
  • validates their union against the ADM2 Mfoundi boundary;
  • constructs the administrative core, 5 km context buffer and convex hull;
  • reprojects all processed geometries to EPSG:32632;
  • creates an authoritative 30 m raster grid anchored at (0, 0);
  • generates stable cell identifiers from global grid indices;
  • exports core and context masks, a cell table and grid metadata;
  • adds reproducible visual quality-control figures;
  • adds automated provenance, geometry, CRS, grid and cell-identity tests;
  • freezes the accepted grid specification as grid version 1.

Validation results

  • Selected ADM3 units: 7
  • ADM3 union vs ADM2 Mfoundi symmetric difference: 0.000000%
  • Input CRS: EPSG:4326
  • Analysis CRS: EPSG:32632
  • Grid resolution: 30 m
  • Grid anchor: (0, 0)
  • Grid dimensions: 946 × 1278
  • Core cells: 321,909
  • Context cells: 879,666
  • Vector core area: 289.728987 km²
  • Rasterised core area: 289.718100 km²
  • Relative vector/raster area difference: approximately 0.00376%
  • Invalid final core geometry: No
  • Core fully covered by context buffer: Yes

Reproduction

python -m pip install -e ".[dev]"
make build-grid
make visualize-grid
make test-grid

@Omer-alt
Omer-alt requested a review from rapsoj July 23, 2026 07:53
Omer-alt added 2 commits July 24, 2026 14:54
Catalogue Landsat 5, 7 and 8 scenes, calculate QA-valid coverage, evaluate common compositing windows, freeze exact scene identifiers, and add Day 2 reports and integrity tests.
- Rename day3/ to orchestration/ for clarity (orchestrates preflight, submit, finalize).

- Add graceful skipping of empty epochs (1990, 1995, 2000) due to missing data.

- Update OSM extraction to current Geofabrik layer names (remove _1 suffix).

- Submit 11 EE tasks: 5 composites + 5 valid_count + 1 terrain (SRTM).

- Add finalization with grid validation (EPSG:32632, 946x1278) and QA manifests.

- Include 3 core unit tests: integrity, grid alignment, and count plausibility.

- Update .gitignore to exclude raw OSM archives and EE checkpoints.

- Freeze orchestrate_sources_v1.json reference for regression tests.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant