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__(self, 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__(self, cache, cachedir, index_file, **kw) Create a file storage system for Argo index file requests
cachepath(self, uri, errors) Return path to cached file for a given URI
clear_cache(self)
in_cache(self, fs, uri) Return true if uri is cached
in_memory(self, fs, uri) Return true if uri is in the memory store
open_dataframe(self, search_cls) Run a search on an Argo index file and return a Pandas dataframe with results
open_index(self)
res2dataframe(self, results) Convert a csv like string into a DataFrame