Skip to content

S3 — Rewrite the README to current reality #73

Closed

Description

@Polichinel

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 PriogridCountryMapper API + examples.
  • Rewrite Overview/Features to current reality: GAUL lookup-join enrichment (GaulLookupEnricher), the delivery/ input-integrity invariants, the un_fao delivery flow.
  • Fix the dependency table: drop cachetools; set the pipeline-core pin to match current pyproject.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 (no shapefiles/, no mapping/).
  • Env vars: correct or explicitly flag PROD_FORECASTS_COLLECTION_ID. The un_fao postmortem found forecasts_metadata is absent in live Appwrite; if the canonical value is unknown, mark it TODO/verify rather 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, or cachetools.
  • Dependency table + package structure match pyproject.toml and 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-check pyproject.toml, the views_postprocessing/ tree, and the un_fao postmortem for the collection-ID.

Activity

  1. added
    documentation
    story
    on Jun 27, 2026
  2. added a commit that references this issue on Jun 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationstory

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions