aqua-globalbiases-annual_climatology
AQUA analysis annual climatology
Open this source
Available on
lumilevante
# One-time setup, if the catalog is not installed yet:
# aqua add climatedt-phase1 -e /path/to/Climate-DT-catalog/catalogs/climatedt-phase1
from aqua import Reader
reader = Reader(
catalog="climatedt-phase1",
model="IFS-NEMO",
exp="historical-1990",
source="aqua-globalbiases-annual_climatology",
)
data = reader.retrieve()
Machine
# Needs intake>=2.0.9, intake-xarray and jinja2
import intake
# This catalog uses YAML merge keys (`<<: *anchor`), which intake 2.0.9 cannot read:
# load YAML the standard way (duplicate keys are no longer reported).
import yaml
import intake.utils
intake.utils.no_duplicates_constructor = yaml.SafeLoader.construct_yaml_map
cat = intake.open_catalog("/path/to/Climate-DT-catalog/catalogs/climatedt-phase1/catalog.yaml")
# `_entries[...]` is required to pass parameters: the public form
# cat[model][exp][source](...) silently ignores them in intake 2.
# Catalog paths must be passed to the entry too; these are for lumi (from machine.yaml).
entry = cat["IFS-NEMO"]["historical-1990"]._entries["aqua-globalbiases-annual_climatology"]
ds = entry(
OUTPUT_AQUA_PATH='/pfs/lustrep3/projappl/project_465000454/jvonhar/aqua-analysis/output/pre_computed_aqua_analysis',
).to_dask()# Needs intake>=2.0.9, intake-xarray and jinja2
import intake
# This catalog uses YAML merge keys (`<<: *anchor`), which intake 2.0.9 cannot read:
# load YAML the standard way (duplicate keys are no longer reported).
import yaml
import intake.utils
intake.utils.no_duplicates_constructor = yaml.SafeLoader.construct_yaml_map
cat = intake.open_catalog("/path/to/Climate-DT-catalog/catalogs/climatedt-phase1/catalog.yaml")
# `_entries[...]` is required to pass parameters: the public form
# cat[model][exp][source](...) silently ignores them in intake 2.
# Catalog paths must be passed to the entry too; these are for levante (from machine.yaml).
entry = cat["IFS-NEMO"]["historical-1990"]._entries["aqua-globalbiases-annual_climatology"]
ds = entry(
OUTPUT_AQUA_PATH='/work/ab0995/a270260/pre_computed_aqua_analysis',
).to_dask() Paths come from the catalog's machine.yaml (online: the remote default of catalog.yaml). A listed machine is not a promise that the whole dataset is there: only part of it may be synced on that machine.
aqua-globalbiases-annual_climatology:
description: AQUA analysis annual climatology
driver: netcdf
metadata:
source_grid_name: false
args:
urlpath: '{{OUTPUT_AQUA_PATH}}/IFS-NEMO/historical-1990/atmglobalmean/netcdf/atmglobalmean.statistics_maps.*.IFS-NEMO_historical-1990.nc'
xarray_kwargs:
chunks: {}
decode_times: true
combine: nested
compat: override
Resolved view: YAML anchors and merge keys are expanded. View catalogs/climatedt-phase1/catalog/IFS-NEMO/historical-1990.yaml ↗
Details
- Available on
- lumi levante
- Driver
- netcdf