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:
- The root is a sequence and its first item is
chartpack. formatisgcubed-chartpackandversionis the integer1.- Every later item is one
sectionorchartwrapper. - Every section has a following chart.
- Every chart supplies or inherits a non-empty series list.
- Exact variable names match the projections, including capitalisation.
- Selector prefixes, dimensions and members exist in the selected model.
- Every selector matches at least one series.
- Series within a chart have the same units.
- Requested years exist and bounds are ordered.
- Hex colours are quoted and line styles are supported.
- 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.
G-Cubed