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__(cache: bool = False, cachedir: str = '', **kw)

Create a file storage system for Argo data

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

Methods

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

Attributes

protocol