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
>>> R = ArgoNVSReferenceTables() >>> R.valid_ref >>> R.all_tbl_name() >>> R.tbl(3) >>> R.tbl('R09') >>> R.all_tbl()
- __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
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