apply_parameter_to_config#

hydromodpy.calibration.apply_parameter_to_config(cfg, param, value)[source]#

Write value into cfg for param, honouring param.mode.

mode="replace" writes the candidate value as-is at param.effective_path. mode="scale" multiplies the existing value at that path by the candidate (the base value must be numeric).

Parameters:
Return type:

None