Chartpack validation and troubleshooting

Validate a chartpack with the same projections that will be reported. A file can satisfy the YAML schema but still name a variable, year or model member that is absent from those projections.

Check these points in order:

  1. The root is a sequence and its first item is chartpack.
  2. format is gcubed-chartpack and version is the integer 1.
  3. Every later item is one section or chart wrapper.
  4. Every section has a following chart.
  5. Every chart supplies or inherits a non-empty series list.
  6. Exact variable names match the projections, including capitalisation.
  7. Selector prefixes, dimensions and members exist in the selected model.
  8. Every selector matches at least one series.
  9. Series within a chart have the same units.
  10. Requested years exist and bounds are ordered.
  11. Hex colours are quoted and line styles are supported.
  12. The report uses chart-template-2.0.html.

Errors identify the file and YAML path, for example [3].chart.series[0].variable.

If setup owns the chartpack, correct setup.yaml and regenerate it. A manual edit to generated chartpack.yaml will be replaced by the next setup run.

Back to chartpack YAML


This site uses Just the Docs, a documentation theme for Jekyll.