{# QC-flag legend + per-variable flag-count table with inline bar charts. The `qc` panel payload (kind="html"). The `.qc-bar`/`.qc-legend` style block moved to mooring.html page_styles. #}
| # | Type | S/N | Variable | N | Good % | Suspect % | Bad % | Interp. % | Missing % | Distribution |
|---|---|---|---|---|---|---|---|---|---|---|
| {% if loop.index0 == 0 %}{{ ns.idx }}{% endif %} | {% if loop.index0 == 0 %}{{ instr.instr_type }}{% endif %} | {% if loop.index0 == 0 %}{{ instr.serial }}{% endif %} |
{{ row.var }} |
{{ "{:,}".format(row.total) }} | {{ good.pct }} | {% if susp.pct > 0 %}{{ susp.pct }}{% else %}–{% endif %} | {% if bad.pct > 0 %}{{ bad.pct }}{% else %}–{% endif %} | {% if interp.pct > 0 %}{{ interp.pct }}{% else %}–{% endif %} | {% if miss.pct > 0 %}{{ miss.pct }}{% else %}–{% endif %} |
No stage 3 QC files found — run oceanarray stage3 first.