Skip to contents

This function fits Hmsc models on a UFZ Windows Server. It reads model configurations from a specified path, loads environment variables, checks input arguments for validity, and executes model fitting in parallel if required. #'

Usage

Mod_Fit_WS(Path_Model, EnvFile = ".env", NCores = NULL)

Arguments

Path_Model

String. Path to the model files (without trailing slash).

EnvFile

Path to the file containing environment variables. Defaults to ".env".

NCores

Integer. Number of cores to use for parallel processing.

Value

The function does not return anything but prints messages to the console regarding the progress and completion of model fitting.

Details

The function reads the following environment variable:

  • DP_R_Path_HmscVE_Win for the path of the Hmsc-HPC Python virtual environment under windows operating system.

Author

Ahmed El-Gabbas