Skip to content

Data and Systems Architecture

This document is meant to be the starting point in navigating the data and systems architecture at MBARI. It is meant to serve as a very high-level view of various systems and workflows at MBARI and will then link to more detailed documents related to each component.

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
    %% ── Data Sources (abstract boundary) ─────────────────
    subgraph SOURCES ["Data Sources (ships · ROVs · AUVs · moorings · software)"]
        direction LR
        DS1["Data 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)"]
    end

    %% ── 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 ─────────────────────────────────────────
    subgraph FAIR["MBARI FAIR Data Platform<br/>(in development)<br/>Central catalog and access layer.<br/>Harvests from internal systems,<br/>publishes to open standards."]
        ERDDAP["ERDDAP Public data server (subset of params)"]
        GEOSERVER["GeoServer"]
        THREDDS["THREDDS"]
    end

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

    %% ── Relationships ─────────────────────────────────────────
    DS1 -->|"ingested into"| STOQS
    DS1 -->|"ingested into"| EXPD
    DS1 -->|"ingested into"| SAM
    DS1 -->|"ingested into"| SSDS
    DS1 -->|"ingested into"| BOG
    DS1 -->|"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,text-align:center
    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,GEOSERVER,THREDDS 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?