{# Quality flags per level and variable — the `qc_counts` panel (kind="table"). #} {% macro bar(s) -%} {%- if s is none %}no flags in the file{% else -%}
Share of each variable's record flagged by the originator and by oceanarray (its automatic tests), and which values the plots and the gridded product leave out. Variables with nothing flagged are not listed. {%- if sentence %} {{ sentence }}{% endif %} Each bar is the whole record, green for the values not flagged. {{ good_sentence }} Both / Originator only / oceanarray only: values flagged suspect or bad by both, by one only. Hidden: values the plots and the grid leave out (rule {{ rule }}); flagged values stay in the file. {%- if note is not none %} oceanarray's tests ran {% if note %}with limits changed by the mooring description for {{ note }}{% else %}with oceanarray's default limits for every instrument{% endif %}.{% endif %} {%- if quiet %} {{ quiet }} instrument-and-variable pairs with nothing flagged are not listed.{% endif %} {%- if unflagged %} Nothing flagged: {{ unflagged | join(", ") }}.{% endif %} How the tests work: oceanarray documentation.
{% if rows %}| Instrument | Variable | Values | Originator | oceanarray | Both | Originator only | oceanarray only | Hidden |
|---|---|---|---|---|---|---|---|---|
| {{ row.level }} | {{ row.variable }} | {{ "{:,}".format(row.n) }} | {{ bar(row.originator) }} | {{ bar(row.ours) }} | {{ row.both or "–" }} | {{ row.only_originator or "–" }} | {{ row.only_ours or "–" }} | {{ row.hidden or "–" }} |
No value is flagged suspect, bad, value changed or interpolated.
{% endif %}