Skip to content

Commit

Permalink
Merge branch 'feature/refactor' of github.com:ecmwf/anemoi-inference …
Browse files Browse the repository at this point in the history
…into feature/refactor
  • Loading branch information
b8raoult committed Nov 19, 2024
2 parents 4b68cac + 5510ea7 commit b3a5cc8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/anemoi/inference/inputs/mars.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,10 @@ class MarsInput(GribInput):
"""Get input fields from MARS"""

def __init__(self, context, *, namer=None, **kwargs):
super().__init__(context, namer=namer, **kwargs)
super().__init__(context, namer=namer)
self.kwargs = kwargs
self.variables = self.checkpoint.variables_from_input(include_forcings=False)
self.kwargs = kwargs

def create_input_state(self, *, date):
if date is None:
Expand Down

0 comments on commit b3a5cc8

Please sign in to comment.