{# The three families of sensor variables in a compiled profiles file: what each carries, and their tables. Shared by the netCDF inventory page and the SBE sensors page. #} {% import "_nc_tables.html" as nc %} {% macro explanation() %}

The file records its sensors in three families of variables:

{% endmacro %} {% macro tables(t) %} {%- set amber_linkage = "Amber Valid %: fewer valid values than samples (a profile missing this sensor role)." %} {% if t.sensor_catalog.rows %}

Sensor catalog (SENSOR_*)

One row per device; each row's Attributes cell expands to its full provenance. No data, so no value range.

{{ nc.sensor_table(t.sensor_catalog.rows, source=t.sensor_catalog.source) }} {% endif %} {% if t.sensor_linkage.groups %}

Sensor linkage (sensor_<role>)

String-valued, so no numeric range.

{{ nc.variables_tables(t.sensor_linkage.groups, optional=("units", "minmax"), source=t.sensor_linkage.source, caption=amber_linkage) }} {% endif %} {% if t.sensor_channel.groups %}

Sensor channels (sensor_channel_<role>)

{{ nc.variables_tables(t.sensor_channel.groups, optional=("units",), source=t.sensor_channel.source, caption=amber_linkage) }} {% endif %} {% endmacro %}