argopy.stores.filestore

class filestore(cache: bool = False, cachedir: str = '', **kw)[source]

Wrapper around fsspec file stores

https://filesystem-spec.readthedocs.io/en/latest/api.html#fsspec.implementations.local.LocalFileSystem

__init__(self, cache:bool=False, cachedir:str='', **kw)

Create a file storage system for Argo data

Parameters:
cache : bool (False)
cachedir : str (from OPTIONS)

Methods

__init__(self, cache, cachedir, **kw) Create a file storage system for Argo data
cachepath(self, uri, errors) Return path to cached file for a given URI
clear_cache(self) Remove cache files and entry from uri open with this store instance
exists(self, path, *args)
glob(self, path, **kwargs)
open(self, path, *args, **kwargs)
open_dataframe(self, url, **kwargs) Return a pandas.dataframe from an url that is a csv ressource
open_dataset(self, url, **kwargs) Return a xarray.dataset from an url
register(self, uri) Keep track of files open with this instance
store_path(self, uri)

Attributes

protocol