From 475139c14fd0d321e0feedb914fff9f6d6548acc Mon Sep 17 00:00:00 2001 From: Fabian Wachsmann <k204210@l40048.atos.local> Date: Fri, 7 Oct 2022 16:59:29 +0200 Subject: [PATCH] Updated era5 aggregation to aggregate over validation and initialization --- .../cloud-access/dkrz_era5_disk.json | 25 +++++++++++++++---- .../disk-access/dkrz_era5_disk.json | 25 ++++++++++++++++--- 2 files changed, 42 insertions(+), 8 deletions(-) diff --git a/esm-collections/cloud-access/dkrz_era5_disk.json b/esm-collections/cloud-access/dkrz_era5_disk.json index cb44f2f..4e12bd3 100755 --- a/esm-collections/cloud-access/dkrz_era5_disk.json +++ b/esm-collections/cloud-access/dkrz_era5_disk.json @@ -93,11 +93,26 @@ "aggregation_control": { "aggregations": [ { - "attribute_name": "code", - "type": "union" - } - ], - "variable_column_name": "code", + "attribute_name": "validation_date", + "options": { + "compat": "override", + "coords": "minimal", + "dim": "time" + }, + "type": "join_existing" + }, + { + "attribute_name": "initialization_date", + "options": { + "compat": "override", + "coords": "minimal", + "dim": "time" + }, + "type": "join_existing" + }, + {"attribute_name": "short_name", + "type": "union"}], + "variable_column_name": "short_name", "groupby_attrs": [ "table_id", "stepType", diff --git a/esm-collections/disk-access/dkrz_era5_disk.json b/esm-collections/disk-access/dkrz_era5_disk.json index ee926c1..c061248 100755 --- a/esm-collections/disk-access/dkrz_era5_disk.json +++ b/esm-collections/disk-access/dkrz_era5_disk.json @@ -77,9 +77,28 @@ {"column_name": "format"}], "assets": {"format_column_name": "format", "column_name": "uri"}, "aggregation_control": { - "aggregations": [{"attribute_name": "code", - "type": "union"}], - "variable_column_name": "code", + "aggregations": [ + { + "attribute_name": "validation_date", + "options": { + "compat": "override", + "coords": "minimal", + "dim": "time" + }, + "type": "join_existing" + }, + { + "attribute_name": "initialization_date", + "options": { + "compat": "override", + "coords": "minimal", + "dim": "time" + }, + "type": "join_existing" + }, + {"attribute_name": "short_name", + "type": "union"}], + "variable_column_name": "short_name", "groupby_attrs": [ "table_id", "stepType", -- GitLab