argopy.ArgoNVSReferenceTables#

class ArgoNVSReferenceTables(nvs='https://vocab.nerc.ac.uk/collection', cache: bool = True, cachedir: str = '')[source]#

Argo Reference Tables

Utility function to retrieve Argo Reference Tables from a NVS server.

By default, this relies on: https://vocab.nerc.ac.uk/collection

Examples

Methods:

>>> R = ArgoNVSReferenceTables()
>>> R.search('sensor')
>>> R.tbl(3)
>>> R.tbl('R09')

Properties:

>>> R.all_tbl_name
>>> R.all_tbl
>>> R.valid_ref
__init__(nvs='https://vocab.nerc.ac.uk/collection', cache: bool = True, cachedir: str = '')[source]#

Argo Reference Tables from NVS

Methods

__init__([nvs, cache, cachedir])

Argo Reference Tables from NVS

get_url(rtid[, fmt])

Return URL toward a given reference table for a given format

search(txt[, where])

Search for string in tables title and/or description

tbl(rtid)

Return an Argo Reference table

tbl_name(rtid)

Return name of an Argo Reference table

Attributes

all_tbl

Return all Argo Reference tables

all_tbl_name

Return names of all Argo Reference tables

valid_ref

List of all available Reference Tables