argopy.ArgoDOI#
- class ArgoDOI(hashtag=None, fs=None, cache=True)[source]#
Argo GDAC snapshot DOI access and discovery
Examples
>>> 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))
>>> doi.search('2020-02') # Return doi closest to a given date >>> doi.search('2020-02', network='BGC') # Return doi closest to a given date for a specific network
>>> doi.file # Easy to read list of file(s) associated with a DOI record >>> doi.dx # http link toward DOI
Methods
__init__([hashtag, fs, cache])dates([network])search(date[, network])Search DOI closest to a given date
Attributes
doiDOI component (without hashtag)
dxDOI url
fileReturn a pretty list of files properties associated with this DOI