Inference
This module provides the underlying inference functionality for the
earthkit-workflows-anemoi package, and is at times a thin wrapper
around the anemoi-inference package.
For simple tasks, the fluent API is recommended, which provides a more
user-friendly interface to create and manage workflows.
-
earthkit.workflows.plugins.anemoi.inference.run_as_earthkit(input_states: dict, config: dict, lead_time: LEAD_TIME) → Generator[dict[str, ekd.SimpleFieldList]]
Run the model and yield the results as earthkit FieldList
- Parameters:
input_states (dict) – Initial Conditions for the model
config (dict) – Configuration for the model run
lead_time (LEAD_TIME) – Lead time for the model
- Returns:
State of the model at each time step
- Return type:
Generator[dict[str, ekd.SimpleFieldList], None, None]