argopy.stores.memorystore¶
-
class
memorystore
(cache: bool = False, cachedir: str = '', **kwargs)[source]¶ Argo in-memory file system
Note that this inherits from filestore, not argo_store_proto
-
__init__
(cache: bool = False, cachedir: str = '', **kwargs)¶ Create a file storage system for Argo data
- Parameters
- cache: bool (False)
- cachedir: str (from OPTIONS)
- **kwargs: (optional)
Other arguments passed to
fsspec.filesystem
Methods
__init__
([cache, cachedir])Create a file storage system for Argo data
cachepath
(uri[, errors])Return path to cached file for a given URI
Remove cache files and entry from uri open with this store instance
exists
(path, *args)glob
(path, **kwargs)open
(path, *args, **kwargs)open_dataset
(url, *args, **kwargs)Return a xarray.dataset from an url
open_mfdataset
(urls[, concat_dim, …])Open multiple urls as a single xarray dataset.
read_csv
(url, **kwargs)Return a pandas.dataframe from an url that is a csv ressource
register
(uri)Keep track of files open with this instance
store_path
(uri)Attributes
protocol
-