hestia_earth.validation.models.run_model_from_node¶
-
hestia_earth.validation.models.run_model_from_node(node, data)[source]¶ Run a Hestia model from the engine models library. To use this function, you need to use a Blank Node that contains a methodModel and a term, otherwise you need to use the run_model method.
- Parameters:
node (dict) – The Blank Node containing a methodModel and a Term.
data (dict) – The data used to run the model.
- Returns:
The result of the model, which can be a single dict or a list of `dict`s.
- Return type:
Any