odb

This source reads data from an ODB file using earthkit.data under the hood.

When configuring the ODB source in your YAML file, you can specify the following parameters, in addition to the path parameter:

select (str, optional)

Specifies which columns to read from the ODB file. Defaults to all columns ("*").

where (str, optional)

Filters the data based on a condition. Defaults to no filtering.

flavour (dict, optional)

Defines the names of the latitude, longitude, date, and time columns in your data. Defaults to:

  • latitude_column_name: lat@hdr

  • longitude_column_name: lon@hdr

  • date_column_name: date@hdr

  • time_column_name: time@hdr

pivot_columns (list, optional)

Lists column names whose values will become new columns after reshaping. These typically identify observation types such as "channel_number" or "varno".

pivot_values (list, optional)

Lists column names whose values will be spread across different columns during reshaping. Common examples include "observed_value" and "quality_control_value".

dates:
  start: 2021-06-28T00:00:00
  end: 2021-06-29T23:59:59

input:
  odb:
    path: path.to.odb
    select: [ pressure, temperature, humidity ]