Repository navigation
Closed
Labels
Description
Epic: #70 · S3 · documentation · depends on #71, #72
Background
The README still sells the repo as a runtime spatial-mapping library: it documents PriogridCountryMapper, shapefiles, geopandas, disk/memory caching, and cachetools — all deleted (ADR-011 / C-39). It also has a wrong APPWRITE_PROD_FORECASTS_COLLECTION_ID, a dead link to a deleted mapping/README.md, an incomplete output schema, and a stale dependency table/pin. This is the document most newcomers read first.
Work
- Remove all mapper/shapefile/geopandas/caching content: the Features bullets, the "PRIO-GRID Spatial Mapping" module section, the Shapefiles section, the caching config, and the
PriogridCountryMapperAPI + examples. - Rewrite Overview/Features to current reality: GAUL lookup-join enrichment (
GaulLookupEnricher), thedelivery/input-integrity invariants, the un_fao delivery flow. - Fix the dependency table: drop
cachetools; set the pipeline-core pin to match currentpyproject.toml. - Fix the package structure block to the real tree:
delivery/{coverage,identity,observed_range,provenance}.py,unfao/{extraction,enrichment,gaul_schema,frames,source_metadata}.py,unfao/managers/unfao.py,data/gaul_lookup.parquet(noshapefiles/, nomapping/). - Env vars: correct or explicitly flag
PROD_FORECASTS_COLLECTION_ID. The un_fao postmortem foundforecasts_metadatais absent in live Appwrite; if the canonical value is unknown, mark itTODO/verifyrather than assert a wrong value. - Update the pipeline-stages table: Transform = metadata enrichment via
GaulLookupEnricher; add validate/coverage +_clip_observed_history; Save = parquet → Appwrite. - Remove dead links (incl.
mapping/README.md); add a prominent pointer to the S2 orientation doc.
Acceptance criteria
- No reference to
PriogridCountryMapper, shapefiles, geopandas, caching, orcachetools. - Dependency table + package structure match
pyproject.tomland the actual tree. - Env-var section asserts no wrong values; the collection-ID is correct or clearly flagged.
- All links resolve; the S2 orientation doc is linked.
Validation / testing
rg -i "priogridcountrymapper|shapefile|geopandas|cachetools|mapping/README" README.md→ no hits.- All relative links in README resolve.
- S6 guardrail green on the updated README.
Dependencies
- Depends on S1 (IA) and S2 (so it can link the orientation doc rather than re-explaining role/seams). Blocks S5.
Notes
- File:
README.md. Cross-checkpyproject.toml, theviews_postprocessing/tree, and the un_fao postmortem for the collection-ID.
Activity
Merge pull request #80 from views-platform/docs/s3-readme-rewrite