Skip to content

System Context (C4 Level 1)

This is the Level 1 Context diagram for MBARI's FAIR Data Infrastructure. At this level only software systems and people/roles appear. Physical infrastructure (ships, ROVs, AUVs, moorings) is represented as an abstract boundary — it feeds instrument data into existing software systems, which the platform then harvests.

C4 Level 1 rule: no databases, no servers, no code. Just: who uses the system, what systems exist, and how they relate at the boundary level.

flowchart TD
    %% ── People ──────────────────────────────────────────────
    P1["👤 **MBARI Researcher / Engineer**
    Uses data for science, operations,
    and instrument development"]

    P2["👤 **External Researcher / Public**
    Accesses published datasets,
    metadata catalogs, APIs"]

    %% ── Focal system ─────────────────────────────────────────
    FAIR["🖥️ **MBARI FAIR Data Platform**
    _(in development)_
    Central catalog and access layer.
    Harvests from internal systems,
    publishes to open standards."]

    %% ── Field Operations (abstract boundary) ─────────────────
    subgraph FIELD ["⚓ Field Operations (ships · ROVs · AUVs · moorings)"]
        direction LR
        F1["Instrument streams
        (CTD, nav, video, sensors)"]
    end

    %% ── Existing MBARI data systems ──────────────────────────
    subgraph MBARI_SYSTEMS ["🏛️ Existing MBARI Data Systems"]
        direction LR
        EXPD["EXPD
        Expedition & dive
        operations DB"]
        VARS["VARS / M3
        Video annotation &
        observation store"]
        SSDS["SSDS
        Sensor stream archive
        (OPeNDAP/DODS)"]
        BOG["BOG
        Ship-based oceanographic
        time-series (38+ yr)"]
        STOQS["STOQS
        Spatiotemporal
        oceanographic query"]
        SAM["SamplesDB
        Physical sample
        tracking (IGSN)"]
        ERDDAP["ERDDAP
        Public data server
        (subset of params)"]
    end

    %% ── External repositories ─────────────────────────────────
    subgraph EXT ["🌐 External Data Repositories"]
        direction LR
        R1["BCO-DMO · IOOS
        SESAR · DataONE
        OceanICU · NCEI"]
    end

    %% ── Relationships ─────────────────────────────────────────
    F1 -->|"ingested into"| EXPD
    F1 -->|"ingested into"| SSDS
    F1 -->|"ingested into"| BOG
    F1 -->|"annotated in"| VARS

    EXPD  -->|"harvest metadata &\ntime-series"| FAIR
    VARS  -->|"harvest annotations\n& media refs"| FAIR
    SSDS  -->|"harvest via\nOPeNDAP"| FAIR
    BOG   -->|"harvest station\nsampling data"| FAIR
    STOQS -->|"harvest search\nindex"| FAIR
    SAM   -->|"harvest sample\nrecords & IGSNs"| FAIR
    ERDDAP -->|"re-use existing\nAPI endpoints"| FAIR

    FAIR -->|"search, preview,\ndownload"| P1
    FAIR -->|"open API, DOI,\nstandard vocab"| P2
    FAIR -->|"publish with\nstandardized metadata"| R1

    P1 -->|"queries & requests"| FAIR
    P2 -->|"discovers & requests"| FAIR

    %% ── Styles ───────────────────────────────────────────────
    classDef person  fill:#08427b,color:#fff,stroke:#073b6f
    classDef focal   fill:#1168bd,color:#fff,stroke:#0e5aa0
    classDef system  fill:#438dd5,color:#fff,stroke:#3c7fc0
    classDef ext     fill:#999,color:#fff,stroke:#6b6b6b

    class P1,P2 person
    class FAIR focal
    class EXPD,VARS,SSDS,BOG,STOQS,SAM,ERDDAP system
    class R1 ext

What belongs at this level

Included Not included
Software systems (EXPD, VARS, SSDS …) Databases, servers, containers
People / roles Individual ships, ROVs, instruments
Abstract field boundary Network topology
External data repositories Internal APIs or message queues

Next levels


Open questions / design decisions

  • Shipboard systems not currently captured by navproc/logging → new data capture pipeline needed (see Ship Data Capture Design)
  • NOAA mirror tables in BOG (NOAA_*) — incoming MBARI contributions to CalCOFI, or copies of NOAA data? Needs clarification before harvest strategy is finalized.
  • STOQS harvest strategy: index-only, or replicate data?