Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/develop' into feature/validate-e…
Browse files Browse the repository at this point in the history
…nvironment
  • Loading branch information
HCookie committed Sep 23, 2024
2 parents bdf482a + 5b5536b commit 556c10c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ classifiers = [
dynamic = [ "version" ]
dependencies = [
"anemoi-utils>=0.3",
"aniso8601",
"anytree",
"earthkit-data>=0.9",
"numpy",
Expand Down
2 changes: 1 addition & 1 deletion src/anemoi/inference/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ def get_most_recent_datetime(input_fields):

most_recent_datetime = get_most_recent_datetime(input_fields)
reference_fields = [f for f in input_fields if f.datetime()["valid_time"] == most_recent_datetime]
precip_template = reference_fields[self.checkpoint.variable_to_index["2t"]]
precip_template = reference_fields[self.checkpoint.variable_to_index["lsm"]]

accumulated_output = np.zeros(
shape=(len(diagnostic_output_mask), number_of_grid_points),
Expand Down

0 comments on commit 556c10c

Please sign in to comment.