hydromt.config.configwrite#
- hydromt.config.configwrite(config_fn: Union[str, Path], cfdict: dict, encoding: str = 'utf-8', cf: Optional[ConfigParser] = None, noheader: bool = False) None [source]#
_summary_
- Parameters:
config_fn (Union[Path, str]) – Path to configuration file
cfdict (dict) – Configuration dictionary. If the configuration contains headers, the first level keys are the section headers, the second level option-value pairs.
encoding (str, optional) – File encoding, by default “utf-8”
cf (ConfigParser, optional) – Alternative configuration parser, by default None
noheader (bool, optional) – Set true for a single-level configuration dictionary with no headers, by default False