argopy.stores.indexstore

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])

Create a file storage system for Argo index file requests

cachepath(uri[, errors])

Return path to cached file for a given URI

clear_cache()

read_csv(search)

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