Skip to content

Installation

Requirements

  • Python 3.9 or later
  • rompy core library
  • XBeach executable (for running simulations)

Install from PyPI

pip install rompy-xbeach

Install from Source

For development or the latest features:

git clone https://github.com/rom-py/rompy-xbeach.git
cd rompy-xbeach
pip install -e ".[dev]"

Verify Installation

import rompy_xbeach
print(rompy_xbeach.__version__)

XBeach Installation

Rompy-xbeach generates XBeach input files but does not include the XBeach executable. You need to install XBeach separately:

Ensure the xbeach executable is in your system PATH, or specify its location when running simulations.

Optional Dependencies

For additional data source support:

pip install rompy-xbeach[extra]

This includes:

  • rompy-binary-datasources — Support for binary data formats