environmentaltools.processes.clean
- environmentaltools.processes.clean(params)[source]
Remove temporary computation directory tree if deletion is enabled.
Cleans up the working directory created during model execution by recursively removing all files and subdirectories.
- Parameters:
params (dict) –
Dictionary with model parameters including:
- delete_folderbool
Flag to enable/disable directory deletion
- cwdstr
Current working directory
- directorystr
Name of the directory to remove
- Return type:
None