hestia_earth.validation.models.run_model

hestia_earth.validation.models.run_model(model, term_id, data)[source]

Run a Hestia model from the engine models library.

Parameters:
  • model (str) – The name of the model to run.

  • term_id (str) – The term to run the model on.

  • 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