h5rdmtoolbox.convention.standard_names.table.StandardNameTable.from_zenodo#
- static StandardNameTable.from_zenodo(source=None, doi_or_recid=None)[source]#
Download a standard name table from Zenodo based on its DOI.
- Parameters:
source (
str) – The DOI or record id. It can have the following formats: - 10.5281/zenodo.10428795 - https://doi.org/10.5281/zenodo.10428795 - https://zenodo.org/record/10428795 - https://zenodo.org/record/10428795/files/standard_name_table.yamldoi_or_recid (
str) – Deprecated. Use source instead.
- Returns:
snt (
StandardNameTable) – Instance of this class
Example
>>> snt = StandardNameTable.from_zenodo(doi_or_recid="doi:10.5281/zenodo.10428795")
Notes
Zenodo API: https://vlp-new.ur.de/developers/#using-access-tokens