configutils
Utility script to generate config files from a base config and a defined set of variations
- neuralhydrology.utils.configutils.create_config_files(base_config_path: Path, modify_dict: Dict[str, list], output_dir: Path)
Create configs, given a base config and a dictionary of parameters to modify.
This function will create one config file for each combination of parameters defined in the modify_dict.
- Parameters:
base_config_path (Path) – Path to a base config file (.yml)
modify_dict (dict) – Dictionary, mapping from parameter names to lists of possible parameter values.
output_dir (Path) – Path to a folder where the generated configs will be stored