Skip to content

Commit

Permalink
Use forcings source from earthkit data instead of contants
Browse files Browse the repository at this point in the history
  • Loading branch information
sandorkertesz committed Jun 25, 2024
1 parent 9614025 commit 7363420
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/anemoi/datasets/create/functions/sources/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion src/anemoi/datasets/create/functions/sources/forcings.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 7363420

Please sign in to comment.