skfdiff.plugins package¶
Submodules¶
skfdiff.plugins.container module¶
- class skfdiff.plugins.container.Container(path=None, mode='a', *, save='all', force=False, nbuffer=None, save_interval=None, background_write=False)[source]¶
Bases:
object
- abstract property data¶
- property is_writing¶
- property save¶
- property writers¶
- class skfdiff.plugins.container.MemoryContainer(path=None, mode='a', *, save='all', force=False, nbuffer=None, save_interval=None, background_write=False)[source]¶
Bases:
Container
- property data¶
- class skfdiff.plugins.container.NetCDFContainer(path, mode='a', *, save='all', force=False, nbuffer=None, save_interval=None, background_write=True)[source]¶
Bases:
Container
- property data¶
- static retrieve(path: Path, isel: Union[str, dict, int] = 'all', lazy: bool = False)[source]¶
Retrieve the data of a persistent container.
- Parameters:
path (Path or str) – The folder where the persistent container lives.
isel (Union[str, dict, int], optional) – can be either “all” or “last”, an integer or a sequence of integer. (the default is “all”)
lazy (bool, optional) – if True, return a lazy xarray Datasets that will be loaded when requested by the user (using the
compute()
method). Useful when the data are too big to fit in memory. (the default is False)
- Returns:
The requested data as time-dependant xarray Dataset.
- Return type:
xarray.Dataset
- class skfdiff.plugins.container.ZarrContainer(path, mode='a', *, save='all', force=False, nbuffer=None, save_interval=None, background_write=False)[source]¶
Bases:
Container
- property data¶
- static retrieve(path: Path, isel: Union[str, dict, int] = 'all', lazy: bool = False)[source]¶
Retrieve the data of a persistent container.
- Parameters:
path (Path or str) – The folder where the persistent container lives.
isel (Union[str, dict, int], optional) – can be either “all” or “last”, an integer or a sequence of integer. (the default is “all”)
lazy (bool, optional) – if True, return a lazy xarray Datasets that will be loaded when requested by the user (using the
compute()
method). Useful when the data are too big to fit in memory. (the default is False)
- Returns:
The requested data as time-dependant xarray Dataset.
- Return type:
xarray.Dataset