API reference#

ogstools package#

ogstools.status(verbose=False)[source]#
Checks if OGS is installed correctly. It prints detailed error message if OGS is not installed correctly.
param verbose:

If verbose is True it prints always the status of related environment variables. (OGS_BIN_PATH, PATH, virtual environment)

Returns:

True if OGS is installed correctly, False otherwise.

Return type:

bool

ogstools.cli()[source]#

Allows access to ogs binary tools via python and performs checks to see if OGS is installed correctly.

Example cli().vtkdiff(“file1.vtu”, “file2.vtu”)

Returns:

A CLI object that supports ogs command line tools.

Return type:

Any

Subpackages#

Submodules#