annotation_loader
Read annotation sets from storage.
A set is stored either as a directory naming what it holds – always annotations.csv, one row per annotation; attrs where it states its own dimensions and provenance; vertices.csv where any path or polygon needs one – or as a bare table whose dimensions the caller states.
CSV has no types, so this module decides what each column holds before the models see it: a dimension column is numbers or times, a basis cell is the JSON document its curve dumps, and every other cell is read the way it was written. Tables are read strictly, through read_table, and the neutral errors that raises are named as annotation errors here, at the one boundary which knows the format.
Functions
| Name | Description |
|---|---|
| annotations | Load annotations from whatever holds them. |