argopy.stores.indexstore¶
-
class
indexstore
(cache: bool = False, cachedir: str = '', index_file: str = 'ar_index_global_prof.txt', **kw)[source]¶ ” Use to manage access to a local Argo index and searches
-
__init__
(cache: bool = False, cachedir: str = '', index_file: str = 'ar_index_global_prof.txt', **kw)[source]¶ Create a file storage system for Argo index file requests
Parameters: - cache : bool (False)
- cachedir : str (used value in global OPTIONS)
- index_file: str (“ar_index_global_prof.txt”)
Methods
__init__
(cache, cachedir, index_file, **kw)Create a file storage system for Argo index file requests cachepath
(uri, errors)Return path to cached file for a given URI clear_cache
()in_cache
(fs, uri)Return true if uri is cached in_memory
(fs, uri)Return true if uri is in the memory store open_dataframe
(search_cls)Run a search on an Argo index file and return a Pandas dataframe with results open_index
()res2dataframe
(results)Convert a csv like string into a DataFrame -