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
- cachebool (False)
- cachedirstr (used value in global OPTIONS)
- index_file: str (“ar_index_global_prof.txt”)
Methods
__init__
([cache, cachedir, index_file])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_index
()read_csv
(search_cls)Run a search on an csv Argo index file and return a Pandas DataFrame with results
res2dataframe
(results)Convert a csv like string into a DataFrame
-