prepare_requirements#

protopipe.benchmarks.prepare_requirements(input_directory, site, obs_time)[source]#

Prepare requirements data as a dictionary.

Parameters
input_directorystr or pathlib.Path

Directory where the requirements files are stored.

site: str

Site identifier as in the name of the requirement files

obs_time: int

Observation time as in the name of the requirement files

Returns
requirements: dict

Extracted requirements organized by benchmark.