pingwyn.open_all

Opens multiple data files.

param path:

Path or list of paths pointing to files to open. If path is a string, it can contain wildcards that will be expanded.

type path:

str or iterable

param force_glob:

Forcefully glob “path”. This is used if an iterable is provided with wildcard characters, as these would not be expanded otherwise. By default False.

type force_glob:

bool, optional

param enable_multicore:

Enable multicore processing of data, speeding up the parsing process. By default True.

type enable_multicore:

bool, optional

param force_multicore:

Force multicore to take place, even if too little files need to be parsed. By default False.

type force_multicore:

bool, optional

param enable_cache:

Specifies whether or not to write parsed data files and metadata to a cache directory. Enabling the cache speeds up loading the data after the inital parsing, as it does not need to be parsed again. By default True.

type enable_cache:

bool, optional

param is_live_env:

Speficfies whether or not the data that is being loaded is part of an experiment which is currently ongoing. If True, the Driver will take into account any additional (meta)data parsing required for new data. This parameter is ignored if “enable_cache=False”. By default False.

type is_live_env:

bool, optional

returns:

A list holding pingwyn data types for each file.

rtype:

list