pywatershed.utils.get_prms_exe_name

pywatershed.utils.get_prms_exe_name#

pywatershed.utils.get_prms_exe_name(exe_desc='prms')[source]#

Return the binary filename for the given exe_desc and current platform.

Parameters:

exe_desc (str) – Description string from the control file’s executable_desc field, or a plain version/type string such as "5.2.1.1", "gsflow", or "prms".

Return type:

str

Returns:

str – The binary filename (no directory component).

Raises:

ValueError – When the platform is not recognised.