SwashModelWrapper
Bases: BaseModelWrapper
Wrapper for the SWASH model. https://swash.sourceforge.io/online_doc/swashuse/swashuse.html#input-and-output-files
Attributes: |
|
---|
Methods:
Name | Description |
---|---|
set_swash_exec |
Set the SWASH executable path. |
_read_tabfile |
Read a tab file and return a pandas DataFrame. |
_convert_output_tabs_to_nc |
Convert output tabs files to a netCDF file. |
run_model |
Run the SWASH model for the specified case. |
__init__(templates_dir, templates_name, model_parameters, output_dir)
Initialize the SWASH model wrapper.
Parameters: |
|
---|
run_model(case_dir, log_file='swash_exec.log')
Run the SWASH model for the specified case.
Parameters: |
|
---|
Raises: |
|
---|