aqua-zonalmean
AQUA analysis ocean3d_drift zonal diagnostics
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-zonalmean",
)
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-zonalmean"]
ds = entry(
region='atlantic',
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-zonalmean"]
ds = entry(
region='atlantic',
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-zonalmean:
description: AQUA analysis ocean3d_drift zonal diagnostics
driver: netcdf
metadata:
source_grid_name: false
args:
urlpath: '{{ OUTPUT_AQUA_PATH }}/IFS-NEMO/historical-1990/ocean3d_drift/netcdf/IFS-NEMO-historical-1990-lra-r100-monthly_zonal_mean_trend_{{
region }}_ocean.nc'
xarray_kwargs:
decode_times: false
chunks: {}
parameters:
region:
allowed: [arctic, atlantic, global, indian, pacific, southern]
description: AQUA analysis regional ocean3d_drift zonal diagnostics
type: str
default: atlantic
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
Parameters
| Name | Type | Default | Allowed | Description |
|---|---|---|---|---|
| region | str | atlantic | arctic, atlantic, global, indian, pacific, southern | AQUA analysis regional ocean3d_drift zonal diagnostics |