Skip to content

Commit

Permalink
Add day grazing and growth failure messages
Browse files Browse the repository at this point in the history
Updated the nowcast.yaml configuration file to include failure messages for
grazing and growth dataset day-averaging. Corresponding test cases were also
added to ensure proper error handling for these new scenarios.

Missed in ce694e2. Necessary because grazing and growth dataset day-averaging
operation requests are rejected to avoid redundant work; those datasets are
calculated and output by out NEMO configuration.
  • Loading branch information
douglatornell committed Sep 25, 2024
1 parent ce694e2 commit e8964c3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config/nowcast.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1587,6 +1587,8 @@ message registry:
failure day biology: biology dataset day-averaging failed
success day chemistry: chemistry dataset day-averaged
failure day chemistry: chemistry dataset day-averaging failed
failure day grazing: grazing dataset day-averaging failed
failure day growth: growth dataset day-averaging failed
success day physics: physics dataset day-averaged
failure day physics: physics dataset day-averaging failed
success month biology: biology dataset month-averaged
Expand Down
2 changes: 2 additions & 0 deletions tests/workers/test_make_averaged_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,8 @@ def test_message_registry_keys(self, prod_config):
"failure day biology",
"success day chemistry",
"failure day chemistry",
"failure day grazing",
"failure day growth",
"success day physics",
"failure day physics",
"success month biology",
Expand Down

0 comments on commit e8964c3

Please sign in to comment.