lra-r100-monthly
LRA data monthly at r100
Open this source
Available on
lumi
# 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="ssp370",
source="lra-r100-monthly",
realization='r1',
)
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"]["ssp370"]._entries["lra-r100-monthly"]
ds = entry(
realization='r1',
region='global',
stat='mean',
DROP_PATH='/pfs/lustrep4/projappl/project_465002727/aqua/DROP/climatedt-phase1',
LRA_PATH='/pfs/lustrep4/projappl/project_465002727/aqua/LRA/climatedt-phase1',
).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.
lra-r100-monthly:
description: LRA data monthly at r100
driver: netcdf
metadata:
source_grid_name: lon-lat-r100
args:
urlpath: ['{{ LRA_PATH }}/IFS-NEMO/ssp370/r100/monthly/*ssp370_r100_monthly_*.nc', '{{ DROP_PATH }}/IFS-NEMO/ssp370/{{realization}}/r100/monthly/{{stat}}/{{region}}/*_climatedt-phase1_IFS-NEMO_ssp370_{{realization}}_r100_monthly_{{stat}}_{{region}}_*.nc']
chunks: {}
xarray_kwargs:
decode_times: true
combine: by_coords
parameters:
realization:
description: Parameter realization
default: r1
type: str
allowed: [r1]
region:
description: Parameter region
default: global
type: str
allowed: [global]
stat:
description: Parameter stat
default: mean
type: str
allowed: [mean]
Resolved view: YAML anchors and merge keys are expanded. View catalogs/climatedt-phase1/catalog/IFS-NEMO/ssp370.yaml ↗
Details
- Available on
- lumi
- Driver
- netcdf
- Grid
- lon-lat-r100
Parameters
| Name | Type | Default | Allowed | Description |
|---|---|---|---|---|
| realization | str | r1 | r1 | Parameter realization |
| region | str | global | global | Parameter region |
| stat | str | mean | mean | Parameter stat |