{% import "_nc_tables.html" as t -%} {% import "_nav.html" as navm -%} {% import "_masthead.html" as mh -%} {% macro wbr(name) -%} {% for part in name.split("_") %}{{ part }}{% if not loop.last %}_{% endif %}{% endfor %} {%- endmacro -%} {% macro two(a, b, nw="nw") -%} {%- if a is none %}not recorded{% if b %}
→ {{ b }}{% endif %} {%- elif not a and not b %}— {%- elif not a %}none
→ {{ b }} {%- elif not b or a == b %}{{ a }} {%- else %}{{ a }}
→ {{ b }}{% endif %} {%- endmacro -%} {{ masthead.title }} — {{ masthead.type }}
{{ mh.masthead(masthead, page_nav) }} {%- set secs = number_sections([("variables", "Variable index"), ("glossary", "Glossary", "reference")]) %} {{ mh.jump_nav(secs) }}

{{ secs.mark["variables"] }} Variable index

Every basestation variable ({{ input_count }}), then every variable the converter built. The basestation name is above, the name in the OG1 file below; search either. Units, dtype and values show the basestation form above the OG1 form. Highlight rule: a Values cell is highlighted when the number of non-missing values in the OG1 file differs from the basestation files (for a scalar: the dives with a value). {%- if not record_present %} The conversion record beside this file has no input variables (written by an older version), so the basestation columns read not recorded.{% endif %}

{%- for key, n in fates %}{% endfor %} {%- for s in subsystems %}{% endfor %} {%- if n_candidates %}{% endif %}
{%- if absent_candidates %}
{{ absent_candidates | length }} proposed OG1 parameters are not in this file

The project's candidate list (vocabularies.OG1_CANDIDATE_VARS) names them; a flight model or a later basestation version may supply them: {% for v in absent_candidates %}{{ v }}{% if not loop.last %}, {% endif %}{% endfor %}.

{%- endif %}
{%- for r in rows %} {%- set loss = r.marks | selectattr("kind", "equalto", "loss") | list %} {%- set differ = r.values_in is not none and r.values_out is not none and r.values_in != r.values_out %} {%- if r.fate == "derived" %} {%- else %} {%- endif %} {%- endfor %}
Name Fate Dimension Units dtype Values Vocabulary Inputs / marks Attributes
{% if r.basestation %}{{ wbr(r.basestation) }}{% if r.name %} →{% endif %}{% if r.name %}
{% endif %}{% endif %}{% if r.name %}{{ wbr(r.name) }}{% elif not r.basestation %}—{% endif %}
{{ r.fate }} {{ wbr(r.dimension) }}{{ r.units_out or "—" }} {{ r.dtype_out }}{{ two(r.units_in, r.units_out, "") }} {{ two(r.dtype_in, r.dtype_out, "") }} {%- if r.values_in is none and r.values_out is none %}— {%- elif r.values_in is none %}{{ "{:,}".format(r.values_out) }} {%- elif r.values_out is none %}{{ "{:,}".format(r.values_in) }}
→ not written {%- else %}{{ "{:,}".format(r.values_in) }}
→ {{ "{:,}".format(r.values_out) }}{% endif %}
{% if r.vocabulary %}{{ r.vocabulary.rstrip("/").split("/")[-1] }}{% endif %}{% if r.vocabulary and r.standard_name %}
{% endif %}{% if r.standard_name %}{{ wbr(r.standard_name) }}{% endif %}
{% if r.fate == "derived" %}{% if r.inputs %}{{ r.inputs | join(" · ") }}
{% endif %}{% if r.method %}{{ r.method }}
{% endif %}{% endif %} {%- for m in r.marks %}{{ m.text }}{% endfor %}
{{ t.attr_disclosure(r.attrs) }}

source: seagliderOG1/reports/_index.py:variable_rows

{{ secs.mark["glossary"] }} Glossary

{% include "_glossary.html" %}
{{ js_sort_tables | safe }} {{ js_top_links | safe }}