honeybee.radiance.runmanager package¶
Submodules¶
honeybee.radiance.runmanager.runmanager module¶
Radiance Analysis workflows.
-
class
honeybee.radiance.runmanager.runmanager.Runner(title, tasks)[source]¶ Bases:
objectRun manager for Radiance tasks.
honeybee.radiance.runmanager.task module¶
Radiance Task.
A task is a series of command that will be executed one after each other.
-
class
honeybee.radiance.runmanager.task.SubTask(title, command, output_file=None, expected_output_size=None)[source]¶ Bases:
object-
command¶ List of command for this task.
-
cpu_demand¶ Number of cpus that this task will be using.
This number will always be 1 on Windows as radiance doesn’t support multi-processor calculation on Windows.
-
classmethod
from_json(task_json)[source]¶ Create a task from a dictionary.
{‘title’: self._title, ‘command’: self.command}
-
is_finished¶
-
is_running¶
-
is_started¶
-
is_succeed¶
-
progress¶ Progress as a percentage.
-
progress_report¶ Human readable progress report.
-
stderr¶ Return standard errors if any.
-
stdout¶ Return standard output if any.
-
title¶ SubTask title.
-
-
class
honeybee.radiance.runmanager.task.Task(title, subtasks)[source]¶ Bases:
objectA collection of subtasks to be executed one after each other.
-
count¶ Length of subtasks.
-
cpu_demand¶ Number of cpus that this task will be using.
This number will always be 1 on Windows as radiance doesn’t support multi-processor calculation on Windows.
-
execute(cwd=None, env=None, verbose=True, update_freq=5)[source]¶ Execute this taskself.
This method is blocking and will wait until the execution is finished.
-
classmethod
from_json(task_json)[source]¶ Create a task from a dictionary.
{‘title’: self._title, ‘subtasks’: [{}, {}]}
-
is_finished¶ Check if the execution of this task is finished.
-
is_running¶
-
progress_report¶ Return human readable progress of subtasks.
-
subtasks¶ List of subtasks.
-
title¶ SubTask title.
-
Module contents¶
Run manager for Radiance studies.