From 736342019d41c1f61073e3e2cea2a68ba7ecc317 Mon Sep 17 00:00:00 2001 From: Sandor Kertesz Date: Tue, 25 Jun 2024 10:03:50 +0100 Subject: [PATCH] Use forcings source from earthkit data instead of contants --- src/anemoi/datasets/create/functions/sources/constants.py | 2 +- src/anemoi/datasets/create/functions/sources/forcings.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/anemoi/datasets/create/functions/sources/constants.py b/src/anemoi/datasets/create/functions/sources/constants.py index 5f8c00c9..97490d20 100644 --- a/src/anemoi/datasets/create/functions/sources/constants.py +++ b/src/anemoi/datasets/create/functions/sources/constants.py @@ -18,7 +18,7 @@ def constants(context, dates, template, param): stacklevel=2, ) context.trace("✅", f"from_source(constants, {template}, {param}") - return from_source("constants", source_or_dataset=template, date=dates, param=param) + return from_source("forcings", source_or_dataset=template, date=dates, param=param) execute = constants diff --git a/src/anemoi/datasets/create/functions/sources/forcings.py b/src/anemoi/datasets/create/functions/sources/forcings.py index 7e578809..ac95db57 100644 --- a/src/anemoi/datasets/create/functions/sources/forcings.py +++ b/src/anemoi/datasets/create/functions/sources/forcings.py @@ -11,7 +11,7 @@ def forcings(context, dates, template, param): context.trace("✅", f"from_source(forcings, {template}, {param}") - return from_source("constants", source_or_dataset=template, date=dates, param=param) + return from_source("forcings", source_or_dataset=template, date=dates, param=param) execute = forcings