{% extends "base.html" %} {% import "_macros.html" as m %} {% import "_nc_tables.html" as nc %} {% import "_sensor_vars.html" as sv %} {% block title %}{{ page_title }} — netCDF inventory{% endblock %} {% block masthead_title %}{{ meta.filename }}{% endblock %} {% block masthead_type %}netCDF inventory{% endblock %} {% block head_extra %} {% endblock %} {% block masthead_meta %}
{% endblock %} {% block content %} {% if meta.error %}Could not read {{ meta.filename }}: {{ meta.error }}
{% else %} {{ nc.summary_line(meta.summary, excluded_label="sensor linkage/channel (see Sensors)") }} {# Amber-criterion captions, written once (the macros render each only when its table actually has an amber cell — the family "no caption, no highlight" rule). #} {%- set amber_units = "Amber Units: a floating-point variable with no units attribute (CF expects one)." %} {# Numbered section list, built once so the jump-nav and each heading share one "(N) Title" numbering (present sections only). #} {% set secs = [] %} {% set _ = secs.append(("s-coords", "Coordinates")) %} {% set _ = secs.append(("s-vars", "Data variables")) %} {% if meta.scalars.rows %}{% set _ = secs.append(("s-scalars", "Scalars")) %}{% endif %} {% if meta.qc_exclusion %}{% set _ = secs.append(("s-qc-drop", "QC exclusions")) %}{% endif %} {% if meta.rename_map %}{% set _ = secs.append(("s-rename", "Variable renaming")) %}{% endif %} {% set has_sensor_vars = meta.sensor_catalog.rows or meta.sensor_linkage.groups or meta.sensor_channel.groups %} {% if has_sensor_vars %}{% set _ = secs.append(("s-sensors", "Sensors")) %}{% endif %} {% if meta.globals.groups %}{% set _ = secs.append(("s-global", "Global attributes")) %}{% endif %} {% set nums = {} %} {% for sid, title in secs %}{% set _ = nums.update({sid: loop.index}) %}{% endfor %}Grouped by dimension; the per-group sample count is in each heading. Each row's Attributes cell expands to the full per-variable attribute set.
{{ nc.variables_tables(meta.variables.groups, source=meta.variables.source, caption="Amber Valid %: fewer valid values than samples. " ~ amber_units, numbered=True) }} {% if meta.scalars.rows %}Dimensionless (0-d) variables; an encoded time is decoded to a date.
{{ nc.scalars_table(meta.scalars.rows, source=meta.scalars.source, caption=amber_units, numbered=True) }} {% endif %} {% if meta.qc_exclusion %}Samples flagged QARTOD suspect (3) or fail (4) are dropped before pressure binning. The denominator is the count of finite input samples before binning, so the percentage is not distorted by binning's own reduction in point count.
A variable's exclusions are not all its own: the whole-cast soak / on-deck trim flags the same pre-descent and post-recovery scans on every variable, so a variable can be excluded here without its own gross-range or spike test having raised anything.
| {{ r.name }} | {{ "{:,}".format(r.n_excluded) }} | {{ "{:,}".format(r.n_input) }} | {{ "%.2f"|format(r.pct) }}% |
Source → canonical name, from each variable's original_name attribute (written at read time) so the rename is reconstructable from the output alone. The same rename also shows inline in each variable row's Variable cell.
| {{ src }} | → | {{ canon }} |
Their tables, with the sensor configuration by cast, the preferred sensors and the device inventory built from them, are on the SBE sensors page.
{% else %} {{ sv.tables(meta) }} {% endif %} {% endif %} {% if meta.globals.groups %}Shown in the file's own write order, split into the canonical groups.
{{ nc.globals_tables(meta.globals.groups, computed=meta.coverage, coverage_note=meta.coverage_note, source=meta.globals.source) }} {% endif %} {% endif %} {{ js_top_links | safe }} {% endblock %}