environmentaltools.processes.run_swan

environmentaltools.processes.run_swan(swan_executable_path, working_directory)[source]

Execute SWAN (Simulating WAves Nearshore) model.

Runs the SWAN wave model in the specified working directory. SWAN is a third-generation wave model for obtaining realistic estimates of wave parameters in coastal areas.

Parameters:
  • swan_executable_path (str) – Path to the SWAN executable file

  • working_directory (str) – Path to the working directory containing SWAN input files

Return type:

None

Raises:

FileNotFoundError – If SWAN executable is not found at the specified path