Packaged defaults and your local tables

The package ships default tables — the OG1 mappings and vocabularies — that are not user configuration. The user’s own configuration is a mission.yaml (see mission.yaml reference); this page is the packaged defaults and how to override them.

Built-in defaults

Defaults live in two places, neither of which is user configuration.

Packaged YAML (seagliderOG1/config/), read once when vocabularies is imported, not per conversion (each links to its current version on GitHub, so an installed user can read it without the source):

Tables in vocabularies.py:

  • DIMENSION_RENAMES — dimension renaming (sg_data_point → N_MEASUREMENTS).

  • MODE_SUFFIX — data mode to id suffix (realtime → R, delayed → delayed).

  • PLATFORM_FIELDS — the OG1 platform fields with their source attribute, formatter and required flag.

  • UNITS — the units view over the vendored family tables: one table that resolves a basestation units spelling to the OG1 variable’s canonical spelling and the factor to reach it (see Unit mapping).

  • VARIABLES_TO_DROP — basestation variables dropped from the OG1 output; empty, so every basestation variable is retained.

  • ROLE_VOCABULARY, ROLE_ALIASES — the W08 contributor roles and the accepted aliases.

These are the packaged defaults, read-only for an installed package — do not edit them in place (a pip install puts them under site-packages, and an edit is lost on upgrade). The mission.yaml carries only the per-deployment metadata (platform, contributors, institutions, raw_dir and range), not a copy of these.

Tip

A future release will add a fleet-level configuration file (fleet.yaml) for overriding these packaged tables without an editable checkout. Until then, changing a mapping means working from a source checkout.