M2M access to the NVS via API (NVS SPARQL endpoint)
For machine to machine (M2M) access to the Argo Vocabularies on the NVS, the NVS SPARQL endpoint can be used.
General information on the NVS SPARQL endpoint can be found on the NVS website: https://vocab.nerc.ac.uk/sparql/
SPARQL queries can be integrated into code written in other programming languages (Python, Matlab etc.).
For a basic example, please see the "m2m_NVS_sparql.ipynb" file.
To test, open the file into a Jupyter Notebook; edit lines marked by '# Switch' to select either prefLabel/altLabel, and point to specific Argo vocabularies by inserting its name (e.g. 'R03') where the line is marked by '# Edit'.
Access to Argo vocabulary in python: argopy.ArgoNVSReferenceTables feature
ArgoNVSReferenceTables is a feature that easily provides access and search to Argo vocabularies from python:
https://argopy.readthedocs.io/en/latest/metadata_fetching.html#reference-tables
https://argopy.readthedocs.io/en/latest/generated/argopy.related.ArgoNVSReferenceTables.
List of Argo vocabulary editors
Argo NVS Collections | Editors |
---|---|
R01 - DATA_TYPE |
|
RR2 - RT_QC_FLAG |
|
RD2 - DM_QC_FLAG |
|
RP2 - PROF_QC_FLAG |
|
R03 - PARAMETER |
|
R04 - DATA_CENTRE_CODES |
|
R05 - POSITION_ACCURACY |
|
R06 - DATA_STATE_INDICATOR |
|
R07 - HISTORY_ACTION |
|
R08 - ARGO_WMO_INST_TYPE |
|
R09 - POSITIONING_SYSTEM |
|
R10 - TRANS_SYSTEM |
|
R11 - RTQC_TESTID |
|
R12 - HISTORY_STEP |
|
R13 - OCEAN_CODE |
|
R14 - TECHNICAL_PARAMETER_NAME |
|
R18 - CONFIG_PARAMETER_NAME |
|
R15 - MEASUREMENT_CODE_ID |
|
RMC - MEASUREMENT_CODE_CATEGORY |
|
RTV - CYCLE_TIMING_VARIABLE |
|
R16 - VERTICAL_SAMPLING_SCHEME |
|
R19 - STATUS |
|
R20 - GROUNDED |
|
R21 - REPRESENTATIVE_PARK_PRESSURE_STATUS |
|
R22 - PLATFORM_FAMILY |
|
R23 - PLATFORM_TYPE |
|
R24 - PLATFORM_MAKER |
|
R25 - SENSOR |
|
R26 - SENSOR_MAKER |
|
R27 - SENSOR_MODEL |
|
R28 - CONTROLLER_BOARD_TYPE |
|
R40 - PI_NAME |
Updates on the NVS by editors
Argo Vocabulary Editors can update the Argo NVS collections they are responsible for by using the NVS Vocab Editor. Registration on the BODC and VocPrez websites are necessary before updates can be made. Please contact the BODC Vocabulary Management team at vocab.services@bodc.ac.uk for support.