Skip to content

Commit

Permalink
Merge branch 'feature/earthkit' of github.com:ecmwf/anemoi-datasets i…
Browse files Browse the repository at this point in the history
…nto feature/earthkit
  • Loading branch information
b8raoult committed Jun 25, 2024
2 parents 4bfdfdc + 7363420 commit 27996fb
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 27996fb

Please sign in to comment.