argopy.stores.ArgoStoreProto

argopy.stores.ArgoStoreProto#

class ArgoStoreProto(cache: bool = False, cachedir: str = '', **kwargs)[source]#

Argo File System Prototype

All argopy file systems must inherit, directly or not, from this prototype.

Should this class inherits from fsspec.spec.AbstractFileSystem ?

__init__(cache: bool = False, cachedir: str = '', **kwargs)[source]#

Create a file storage system for Argo data

Parameters:

Methods

__init__([cache, cachedir])

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)

expand_path(path)

first(path[, N])

Read first N bytes of a path

full_path(path[, protocol])

Return fully developed path

glob(path, **kwargs)

info(path, *args, **kwargs)

ls(path, **kwargs)

open(path, *args, **kwargs)

open_dataset(*args, **kwargs)

read_csv()

register(uri)

Keep track of files open with this instance

store_path(uri)

unstrip_protocol(path, **kwargs)

Attributes

async_impl

asynchronous

cached_files

protocol

File system name, one in fsspec.registry.known_implementations

sep

target_protocol