argopy.related.ArgoDOI#
- class ArgoDOI(hashtag=None, fs=None, cache=True)[source]#
Argo GDAC snapshot DOI access and discovery
Examples
Load DOI meta-data#from argopy import ArgoDOI doi = ArgoDOI() # If you don't know where to start, just load the primary Argo DOI record doi = ArgoDOI('95141') # To point directly to a snapshot ID doi = ArgoDOI(hashtag='95141') doi = ArgoDOI(fs=httpstore(cache=True))
Searching for a specific DOI snapshot## Return doi closest to a given date: ArgoDOI().search('2020-02') # Return doi closest to a given date for a specific network: ArgoDOI().search('2020-02', network='BGC')
Working with DOIs#doi = ArgoDOI('95141') doi.download() # Trigger download of the DOI file doi.file # Easy to read list of file(s) associated with a DOI record doi.dx # http link toward the DOI snapshot webpage
Methods
__init__([hashtag, fs, cache])dates([network])Mapping of DOI snapshot hashtag(s) to their publication date(s)
download()Trigger download of a DOI tar.gz file
search(date[, network])Search the DOI record the closest to a given date
Attributes