In XBeach, some parameters should be set in specific ways depending on the values set for other parameters. For example, if wavemodel is set as wavemodel = nonh, swave should be set to swave = 0.
I have currently implemented some validators to log WARNING messages if some identified conflicts occur. Should this perhaps raise an exception instead, or is it the warning messages appropriate?
In XBeach, some parameters should be set in specific ways depending on the values set for other parameters. For example, if
wavemodelis set aswavemodel = nonh,swaveshould be set toswave = 0.I have currently implemented some validators to log WARNING messages if some identified conflicts occur. Should this perhaps raise an exception instead, or is it the warning messages appropriate?