esmvalcore.io.intake_esgf#
Access data using intake-esgf.
This module replaces the esmvalcore.io.esgf module. Please use this
module instead of esmvalcore.io.esgf to access data on ESGF. If you
encounter any issues using this module, please report them at
ESMValGroup/ESMValCore#issues.
Run the command esmvalcore config copy intake-esgf-data.yml to update
your configuration to use this module. This will
create a file with the following content in ~/.config/esmvaltool or
the path specified by the ESMVALTOOL_CONFIG_DIR environment variable:
projects:
CMIP6:
data:
intake-esgf:
type: "esmvalcore.io.intake_esgf.IntakeESGFDataSource"
facets:
activity: "activity_drs"
dataset: "source_id"
ensemble: "member_id"
exp: "experiment_id"
institute: "institution_id"
grid: "grid_label"
mip: "table_id"
project: "project"
short_name: "variable_id"
CMIP5:
data:
intake-esgf:
type: "esmvalcore.io.intake_esgf.IntakeESGFDataSource"
facets:
dataset: "model"
ensemble: "ensemble"
exp: "experiment"
frequency: "time_frequency"
institute: "institute"
mip: "cmor_table"
product: "product"
project: "project"
short_name: "variable"
values:
dataset:
"ACCESS1-0": "ACCESS1.0"
"ACCESS1-3": "ACCESS1.3"
"bcc-csm1-1": "BCC-CSM1.1"
"bcc-csm1-1-m": "BCC-CSM1.1(m)"
"CESM1-BGC": "CESM1(BGC)"
"CESM1-CAM5": "CESM1(CAM5)"
"CESM1-CAM5-1-FV2": "CESM1(CAM5.1,FV2)"
"CESM1-FASTCHEM": "CESM1(FASTCHEM)"
"CESM1-WACCM": "CESM1(WACCM)"
"CSIRO-Mk3-6-0": "CSIRO-Mk3.6.0"
"fio-esm": "FIO-ESM"
"GFDL-CM2p1": "GFDL-CM2.1"
"inmcm4": "INM-CM4"
"MRI-AGCM3-2H": "MRI-AGCM3.2H"
"MRI-AGCM3-2S": "MRI-AGCM3.2S"
CMIP3:
data:
intake-esgf:
type: "esmvalcore.io.intake_esgf.IntakeESGFDataSource"
facets:
dataset: "model"
ensemble: "ensemble"
exp: "experiment"
frequency: "time_frequency"
project: "project"
short_name: "variable"
obs4MIPs:
data:
intake-esgf-v2:
type: "esmvalcore.io.intake_esgf.IntakeESGFDataSource"
facets:
dataset: "source_id"
frequency: "frequency"
institute: "institution_id"
project: "project"
short_name: "variable_id"
# TODO: Add support for older ODS V1.0 obs4MIPs (CMIP5 style) data to intake-esgf
# intake-esgf-v1:
# type: "esmvalcore.io.intake_esgf.IntakeESGFDataSource"
# facets:
# dataset: "source_id"
# frequency: "time_frequency"
# institute: "institute"
# project: "project"
# short_name: "variable"
Classes:
|
Data source that can be used to find data using intake-esgf. |
|
A dataset that can be used to load data found using intake-esgf. |
- class esmvalcore.io.intake_esgf.IntakeESGFDataSource(name: str, project: str, priority: int, facets: dict[str, str], values: dict[str, dict[str, str]] = <factory>)[source]#
Bases:
DataSourceData source that can be used to find data using intake-esgf.
Attributes:
The intake-esgf catalog used to find data.
A string containing debug information when no data is found.
Mapping between the ESMValCore and ESGF facet names.
A name identifying the data source.
The priority of the data source.
The project that the data source provides data for.
Mapping between the ESMValCore and ESGF facet values.
Methods:
find_data(**facets)Find data.
- Parameters:
- catalog: ESGFCatalog#
The intake-esgf catalog used to find data.
- class esmvalcore.io.intake_esgf.IntakeESGFDataset(name: str, facets: dict[str, str | Sequence[str] | int], catalog: ESGFCatalog)[source]#
Bases:
DataElementA dataset that can be used to load data found using intake-esgf.
Attributes:
Attributes are key-value pairs describing the data.
The intake-esgf catalog describing this data.
Facets are key-value pairs that were used to find this data.
A unique name identifying the data.
Methods:
- catalog: ESGFCatalog#
The intake-esgf catalog describing this data.