Typhoon Naming as a Controlled Vocabulary System: Technical Design and Implementation

    This article breaks down typhoon naming as an engineering problem: a controlled vocabulary combined with lifecycle management. It covers entity and relationship modeling, retirement and replacement rules with referential and time constraints, storm numbering and state transitions, multi-source time-series storage, consistency and observability, and a checklist of common pitfalls. The design applies to any domain built on a finite vocabulary with strong rules, such as error code tables, region code tables, or device model catalogs.

    1. Why Naming Is a Controlled Vocabulary Problem

    Typhoon names may look like public meteorological knowledge, but from an engineering perspective they are essentially a controlled vocabulary combined with lifecycle management: the name set is finite, the sources are multiple, and every name has a clear activation time, usage record, and retirement condition. The source material mentions new names with specific meanings, names that replace older ones, several replacement names approved at a session, and meaning annotations such as “Lightning” and “Thunder Angel.” All of this shows that names are not random strings but entities that carry metadata.

    The difficulty here is not storage but rule consistency: a name can be bound to only one number at any given moment; a retired name must be traceable to its replacement; name activation requires versioning and an effective time; and usage counts must be measurable. Once these constraints are made explicit, the pattern transfers to any scenario with a “finite vocabulary plus strong rules,” such as error code tables, region code tables, or device model catalogs.

    2. Core Entities and Relationship Modeling

    At minimum, abstract four types of entities: name entry, naming batch (session/version), storm instance (number), and status event.

    1. NameEntry(name_id, text, meaning, source, status, effective_from)
    2. Batch(batch_id, session_no, approved_at, note)
    3. StormInstance(storm_id, intl_no, name_id, basin, formed_at, ended_at, peak_intensity)
    4. StatusEvent(event_id, storm_id, type, at, payload)

    For relationships, one batch can introduce or replace multiple name entries; one name entry can be used multiple times historically, corresponding to multiple storm instances; and each instance’s status changes are recorded as an event stream for traceability and auditing. The key point is not to merge “the name” and “this particular typhoon” into a single table, otherwise counting usage and tracing replacement relationships both become difficult.

    3. Retirement and Replacement: Constrained Substitution Rules

    Retirement and replacement are a typical “referential integrity plus temporal constraint” problem. When a replacement occurs, the old entry is not physically deleted but transitions to “retired,” and the new entry points to the old one through a replaces field, forming a traceable chain. The material’s mention of “going through three name changes” shows that chained traceability is required rather than a one-time overwrite.

    1. -- Example: register a replacement
    2. UPDATE NameEntry SET status='RETIRED', retired_at=:approved_at
    3. WHERE name_id=:old_id;
    4. INSERT INTO NameEntry(name_id, text, meaning, source, status, effective_from, replaces)
    5. VALUES(:new_id, :new_text, :new_meaning, :source, 'ACTIVE', :approved_at, :old_id);

    Constraint highlights: the entry referenced by replaces must exist and be in the retired state; duplicate text is not allowed within the same batch; and a new entry’s effective time must not be earlier than the approval time. To prevent name reuse, you can add a unique index on (text, effective_from) and create a separate index on retired names to speed up historical queries.

    4. Numbering, State Transitions, and “Stopping Numbering”

    A storm instance’s lifecycle can be described with a finite state machine: genesis (number assignment) → intensification (tropical depression / storm / severe storm / typhoon / severe typhoon / super typhoon) → weakening → recurvature → extratropical transition or dissipation → stop numbering. The material identifies two typical triggers for stopping numbering: one is significant weakening with a circulation center that is hard to determine; the other is extratropical transition. In engineering terms, these two reasons should be written into events as enumerated values rather than free text, which makes later statistics and rule reuse easier.

    1. ALLOWED = {
    2. "GENESIS": {"UPGRADE", "STOP"},
    3. "ACTIVE": {"UPGRADE", "DOWNGRADE", "TRANSITION", "STOP"},
    4. "STOPPED": set(),
    5. }
    6. def transit(state, event):
    7. if event not in ALLOWED[state]:
    8. raise ValueError(f"illegal transition {state}->{event}")
    9. return event if event != "STOP" else "STOPPED"

    The direct benefit of a state machine is verifiability: any illegal transition is rejected at write time, preventing dirty data such as “still updating intensity after numbering has stopped.” Intensity levels are best modeled separately as an ordered enumeration, with the observation time and data source of each change preserved, because peak intensity is often determined by different agencies and multiple-source records must be retained rather than a single field.

    5. Multi-Source Data and Time-Series Storage

    Typhoon data is naturally multi-source, asynchronous, and revised over time: position, central pressure, maximum wind speed, and wind radii refresh over time, and different sources may disagree. A typical implementation has three layers: an ingestion layer for format normalization and deduplication; a storage layer that uses a time-series database for observation points and a relational database for entities and rules; and a service layer that provides queries by number, by name, and by time window.

    As data volume grows, you can adopt a partitioning strategy (by year or by basin) and build a materialized view of the “currently active name table” to avoid replaying all batches on every query. For scenarios such as “multiple tropical cyclones coexisting,” queries need to support aggregation of multiple instances within the same time slice, so time fields must be unified to the same time zone while the original timestamps are preserved.

    6. Consistency and Observability

    The rule engine and state machine must be paired with monitoring: whether replacement batches commit successfully, how many illegal transitions are intercepted, and whether the gap between stopping numbering and the last observation is abnormal. It is advisable to create audit logs for key operations, recording the operator, batch number, and before/after snapshots. In a cloud implementation, you can combine general-purpose capabilities: a relational database for entities and rules, time-series storage for observations, a message queue for peak shaving and driving state updates, logging and monitoring/alerting services for auditing and anomaly detection, and object storage for archiving historical batch snapshots.

    7. Common Pitfalls and a Validation Checklist

    • Treating the name as a unique key: names are retired and replaced, so the unique key should be on the instance number.
    • Ignoring effective time: historical queries will mix data across periods, so filtering by effective_from is mandatory.
    • Broken replacement chains: the replacement operation should be in a single transaction and roll back on failure.
    • Status disconnected from observations: intensity observations must be prohibited after numbering stops.
    • No strategy for multi-source conflicts: define a clear priority rule for “which source wins” and keep a record.

    In summary, typhoon naming looks simple but is actually a vocabulary and lifecycle system that requires versioning, traceability, and strong constraints. By layering entity relationships, replacement rules, the state machine, and multi-source time-series storage clearly, and by guarding invariants with transactions and validation, this design can be reused in any “controlled vocabulary plus strong rules” domain.