{# What each instrument is: its sensor record's model, maker and type, where the model came from, and the originator's own description of its variables. The `sensor_records` panel payload (kind="html"). #} {% macro linked(text, url) -%} {%- if url and url.startswith("http") %}{{ text }}{% else %}{{ text }}{% endif -%} {%- endmacro %}

What each instrument is, from its sensor record: the model, maker and sensor type (linked to their NERC vocabulary entries when known), whether it is pumped, and where that came from — the mooring description, a sensor catalog, or the originator's file. Originator's description: what the originator's file says of each variable and sensor, kept verbatim (in the originator's units). Instruments read from raw files with no model given are not listed.

{% for instr in instruments if instr.record %} {% set r = instr.record %} {% endfor %}
TypeInstr S/NModelMakerSensor type PumpedFromOriginator's description
{{ instr.instr_type }} {{ instr.serial }} {{ linked(r.model, r.model_vocabulary) }} {{ linked(r.maker, r.maker_vocabulary) if r.maker else "—" }} {{ linked(r.type, r.type_vocabulary) if r.type else "—" }} {{ r.pumped or "—" }} {{ r.source or "—" }}{% if r.model_source %}
source
{{ r.model_source }}
{% endif %}
{% if r.originator %}
{{ r.originator | length }} attributes
{% for key, value in r.originator %}{{ key }}: {{ value }}
{% endfor %}
{% else %}—{% endif %}