aqua-timeseries-timeseries
AQUA analysis timeseries
Open this source
Available on
levantelumi
# One-time setup, if the catalog is not installed yet:
# aqua add nextgems4 -e /path/to/Climate-DT-catalog/catalogs/nextgems4
from aqua import Reader
reader = Reader(
catalog="nextgems4",
model="IFS-FESOM",
exp="historical-1990",
source="aqua-timeseries-timeseries",
)
data = reader.retrieve()
Machine
# Needs intake>=2.0.9, intake-xarray and jinja2
import intake
cat = intake.open_catalog("/path/to/Climate-DT-catalog/catalogs/nextgems4/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-FESOM"]["historical-1990"]._entries["aqua-timeseries-timeseries"]
ds = entry(
freq='mon',
region='global',
OUTPUT_AQUA_PATH='/work/ab0995/a270260/pre_computed_aqua_analysis',
).to_dask()# Needs intake>=2.0.9, intake-xarray and jinja2
import intake
cat = intake.open_catalog("/path/to/Climate-DT-catalog/catalogs/nextgems4/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-FESOM"]["historical-1990"]._entries["aqua-timeseries-timeseries"]
ds = entry(
freq='mon',
region='global',
OUTPUT_AQUA_PATH='/pfs/lustrep3/projappl/project_465000454/jvonhar/aqua-analysis/output/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-timeseries-timeseries:
description: AQUA analysis timeseries
driver: netcdf
metadata:
source_grid_name: false
args:
urlpath: '{{OUTPUT_AQUA_PATH}}/IFS-FESOM/historical-1990/global_time_series/netcdf/{{region}}_time_series_timeseries_*_IFS-FESOM_historical-1990_{{freq}}.nc'
xarray_kwargs:
decode_times: true
combine: nested
compat: override
chunks: {}
parameters:
freq:
description: Parameter freq
default: mon
type: str
allowed: [mon, ann]
region:
description: Parameter region
default: global
type: str
allowed: [global]
Resolved view: YAML anchors and merge keys are expanded. View catalogs/nextgems4/catalog/IFS-FESOM/historical-1990.yaml ↗
Details
- Available on
- levante lumi
- Driver
- netcdf
Parameters
| Name | Type | Default | Allowed | Description |
|---|---|---|---|---|
| freq | str | mon | mon, ann | Parameter freq |
| region | str | global | global | Parameter region |