Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automate creation of day and month averaged biology, chemistry & physics datasets #242

Merged
merged 6 commits into from
Mar 7, 2024

Conversation

douglatornell
Copy link
Member

Launch make_averaged_dataset to calculate day-averaged datasets for nowcast-green runs after run results files are downloaded.

Launch make_averaged_dataset to calculate month-averaged datasets for nowcast-green runs after completion of day-averaged datasets calculation on the last day of the month.

Expanded the list of message types for make_averaged_dataset.
Refactored the checklist data structure it sends to the manager in its message payload.
The latter make it easier for after_* functions in the next_workers module to access the run date and averaged dataset file path.

Add launch of make_averaged_dataset work for var_groups="biology", "chemistry",
"physics" for "nowcast-green" after completion of results download. Also added
test cases for the functionality.
make_averaged_dataset is included in nowcast automation now, so it is included
in the nowcast.log files.
The success and failure message types for 'make_averaged_dataset' have been made
more detailed. These now include information on time interval and variable group,
enhancing the granularity and precision of the logs. This revision impacts both
how messages are registered and how they are handled in the
'make_averaged_dataset' function and corresponding tests.
Move run date from checklist dict key to be an item in the dict. This allows
next_worker functions to more easily access the run date that the averaged
dataset is from.
Add launch of make_averaged_dataset worker for month-averaged datasets for
var_groups="biology", "chemistry", "physics" for "nowcast-green" after
completion of day-averaged dataset creation on the last day of the month. Also
added test cases for the functionality.
@douglatornell douglatornell added this to the v24.1 milestone Mar 4, 2024
The "host_name" argument in the "make_averaged_dataset" worker was removed as
it's unnecessary. Tests and calls to NextWorker were updated accordingly to
reflect this change.
@douglatornell douglatornell added documentation Improvements or additions to documentation and removed documentation Improvements or additions to documentation labels Mar 5, 2024
@douglatornell douglatornell merged commit ebbb307 into main Mar 7, 2024
5 checks passed
@douglatornell douglatornell deleted the automate-make_averaged_dataset branch March 7, 2024 17:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant