Introduction

This document provides an overview of the configuration to provide to the anemoi-inference run command line tool.

The configuration file is a YAML file that specifies various options. It is composed of top level options which are usually simple values such as strings, number or booleans. The configuration also provide ways to specify which internal classes to use for the inputs and outputs, and how to configure them.

In that case, the general format is shown below. The first entry (mars or grib in the examples below) corresponds to the underlying Python class that will be used to process the input, output or any other polymorphic behaviour, followed by arguments specific to that class.

input:
  mars:
    class: ea
    stream: oper

or:

input:
  grib:
    path: /path/to/grib/file.grib

If the underlying class does not require any arguments, or you wish to use the default parameters, then configuration can be simplified as:

input: mars

or if it expects a single argument, it can be simplified as:

input:
  grib: /path/to/grib/file.grib