Access data from any source#

ESMValCore supports a modular system for reading data from various data sources. In the future, this module may be extended with support for writing output data.

The interface is defined in the esmvalcore.io.protocol module and the other modules here provide an implementation for a particular data source.

esmvalcore.io#

A modular system for reading input data from various sources.

Functions:

load_data_sources(session[, project])

Get the list of available data sources.

esmvalcore.io.load_data_sources(session: Session, project: str | None = None) list[DataSource][source]#

Get the list of available data sources.

Parameters:
  • session (Session) – The configuration.

  • project (str | None) – If specified, only data sources for this project are returned.

Returns:

A list of available data sources.

Return type:

list of DataSource

Raises:

ValueError: – If the project or its settings are not found in the configuration.