pysgems.sgems package

Submodules

pysgems.sgems.sg module

class pysgems.sgems.sg.Sgems(project_name: str = 'sgems_test', project_wd: str = '', res_dir: str = '', script_dir: str = '', exe_name: str = '', nodata: int = -9966699, check_env: bool = True, verbose: bool = True)[source]

Bases: object

__init__(project_name: str = 'sgems_test', project_wd: str = '', res_dir: str = '', script_dir: str = '', exe_name: str = '', nodata: int = -9966699, check_env: bool = True, verbose: bool = True)[source]

Initialize sgems object.

Parameters
  • project_name – Name of the project.

  • project_wd – Project working directory.

  • res_dir – Results directory.

  • script_dir – Script directory.

  • exe_name – Name of the sgems executable.

  • nodata – No data value.

  • check_env – Check if sgems is installed.

  • verbose – Verbose mode.

bat_file()[source]

Create bat file

run()[source]

Call bat file, run sgems

script_file()[source]

Create script file

write_command()[source]

Write python script that sgems will run.

Module contents