Skip to content

Ship and ROV Navigation Data

This document details the collection, processing and access methods for the ROV CTD data for the ROV Ventana on the Rachel Carson.

Warning

Note that there are two flows described below. One is the current production data flow and the second is the replacement flow that is under development that will eventually replace the current system.

Current Production Workflow

flowchart BT subgraph MBARI direction BT subgraph dpkd["RV David Packard"] direction BT subgraph ROV Ricketts transponder["ROV USBL Transponder"] ins["ROV INS"] dvl["ROV DVL"] end subgraph Ship usbl-transceiver["USBL Transceiver"] gnss["GNSS"] gyro["Gyro"] seapath["Seapath"] gps["GPS"] end subgraph rov-control-room["ROV Control Room"] smd-system["SMD Control System"] sonardyne[Sonardyne] nav4d["4D Nav"] subgraph navproc[Navproc NUC] nav4d-udpin["4DNav UDP In Process"] nav4d-raw-logr["4DNav Raw Logr Process"] nmea-gps-nav4d["4DNav NMEA Parser Process"] nav4d-logr["4DNav Logr Process"] nmea-gps-tcpin["Ship GPS TCP-In Process"] nmea-gps["Ship GPS Process"] gps-raw-logr["Ship GPS Raw Logr Process"] shipnav-logr["Shipnav Logr Process"] lcm-bridge[LCM Bridge] bcserver["BCServer:54003"] subgraph data-dir["/data"] nav4d-raw-logr-files@{ shape: docs, label: "YYYYDDDnav4drawlogr.dat"} nav4d-logr-files@{ shape: docs, label: "YYYYDDDnav4dlogr.dat"} gps-raw-logr-files@{ shape: docs, label: "YYYYDDDgpsrawlogr.dat"} shipnav-logr-files@{ shape: docs, label: "YYYYDDDshipnavlogr.dat"} end end end subgraph coredata-dpkd[DPKD Coredata] pull-logr-files["Log File Copy"] subgraph logr-data-dir["/data/logr/YYYY"] navproc-api-nav4d-raw-logr-files@{ shape: docs, label: "YYYYDDDnav4drawlogr.dat.gz"} navproc-api-nav4d-logr-files@{ shape: docs, label: "YYYYDDDnav4dlogr.dat.gz"} navproc-api-gps-raw-logr-files@{ shape: docs, label: "YYYYDDDgpsrawlogr.dat.gz"} navproc-api-shipnav-logr-files@{ shape: docs, label: "YYYYDDDshipnavlogr.dat.gz"} end apache-httpd["Apache Web Server"] zmq-proxy["ZMQ Proxy"] nats[NATS Server] nats-udp["NATS UDP Proxy:54003"] nats-to-tsdb["NATS to TimescaleDB"] timescale-db[(TimescaleDB)] grafana[Grafana] end end subgraph Shore subgraph coredata8[Coredata on Shore] staging-directory-todo["/u/coredata/shipandrov/navprocessing/dpkd/todo"] coredata-ship-data["/mbari/ShipData/logger/YYYY/dpkd"] nightly-dp["NightlyDP"] process-nav["processNav.perl dpkd"] end subgraph thalassa[Thalassa] thalassa-share-shipdata["ShipData/logger/YYYY/dpkd"] thalassa-share-rovnavedit-docr["RovNavEdit/YYYY/docr"] thalassa-share-rovnavedit-dpkd["RovNavEdit/YYYY/dpkd"] end end end %% Connections transponder <--> usbl-transceiver <--> sonardyne dvl --> smd-system --> sonardyne ins --> smd-system --> sonardyne gnss --> sonardyne seapath --> sonardyne gyro --> sonardyne sonardyne --> nav4d nav4d --> nav4d-udpin --> nav4d-raw-logr --> nav4d-raw-logr-files nav4d-udpin --> nmea-gps-nav4d --> nav4d-logr --> nav4d-logr-files nmea-gps-nav4d --> shipnav-logr --> shipnav-logr-files gps --> nmea-gps-tcpin --> gps-raw-logr --> gps-raw-logr-files nmea-gps-tcpin --> nmea-gps --> shipnav-logr --> shipnav-logr-files shipnav-logr --> bcserver nmea-gps-nav4d --> lcm-bridge nmea-gps --> lcm-bridge nav4d-raw-logr-files --> pull-logr-files --> navproc-api-nav4d-raw-logr-files --> apache-httpd nav4d-logr-files --> pull-logr-files --> navproc-api-nav4d-logr-files --> apache-httpd gps-raw-logr-files --> pull-logr-files --> navproc-api-gps-raw-logr-files --> apache-httpd shipnav-logr-files --> pull-logr-files --> navproc-api-shipnav-logr-files --> apache-httpd lcm-bridge --> zmq-proxy lcm-bridge --> nats --> nats-udp nats --> nats-to-tsdb --> timescale-db --> grafana pull-logr-files -- scp --> coredata-ship-data --> thalassa-share-shipdata pull-logr-files -- scp --> staging-directory-todo staging-directory-todo --> nightly-dp --> process-nav process-nav --> thalassa-share-rovnavedit-docr process-nav --> thalassa-share-rovnavedit-dpkd %% These connectors are invisible but are need to make the diagram render properly, don't remove them apache-httpd ~~~ coredata-ship-data apache-httpd ~~~ nats-udp grafana ~~~ coredata-ship-data dvl ~~~ usbl-transceiver ins ~~~ usbl-transceiver gnss ~~~ smd-system navproc-api-nav4d-raw-logr-files ~~~ zmq-proxy navproc-api-nav4d-raw-logr-files ~~~ nats grafana ~~~ process-nav grafana ~~~ staging-directory-todo process-nav ~~~ thalassa-share-shipdata %% Click links click apache-httpd "https://coredata-dpkd.dp.mbari.org/logs/" click pull-logr-files "https://bitbucket.org/mbari/navproc-api/src/master/pull-logr-files/"

Connectivity and Data Flow Description

  1. Note that in the 'Log File Copy' process, it does two things. It copies all the logr files to the coredata location that is the Thalassa mapped share so all logr files end up on Thalassa. Next, it copies the shipnavlogr file to the local coredata account's 'todo' directory so downstream processing can pick up on the navigation data and process it.

New Data Workflow