ogs5py.tools.download.download_ogs

ogs5py.tools.download.download_ogs(version='5.7', system=None, path='/home/docs/.config/ogs5py', name=None, build=None)[source]

Download the OGS5 executable.

Parameters
  • version (str, optional) – Version to download (“5.7”, “5.8”, “5.7.1”). Default: “5.7”

  • system (str, optional) – Target system (Linux, Windows, Darwin). Default: platform.system()

  • path (str, optional) – Destination path. Default: OGS5PY_CONFIG

  • name (str, optional) – Destination file name. Default “ogs[.exe]”

  • build (str, optional) – Only None and “FEM” supported.

Returns

dest – If an OGS5 executable was successfully downloaded, the file-path is returned.

Return type

str

Notes

There is only an executable on “Darwin” for version “5.7”.

Taken from: