Skip to content

List external driver tasks#839

Merged
maddenp-cu merged 9 commits intoufs-community:mainfrom
maddenp-cu:list-external-driver-tasks
Jan 9, 2026
Merged

List external driver tasks#839
maddenp-cu merged 9 commits intoufs-community:mainfrom
maddenp-cu:list-external-driver-tasks

Conversation

@maddenp-cu
Copy link
Collaborator

@maddenp-cu maddenp-cu commented Jan 9, 2026

Synopsis

Make --task switch on uw execute mode optional and, when it is omitted, list the tasks made available by the driver indicated by --module and --classname. Additionally, if --task is specified but names a task not provided by the driver, report that and show the tasks that are available.

For example, from the EAGLE repo:

$ uw execute --module eagle/grids_and_meshes.py --classname GridsAndMeshes
...
[2026-01-09T00:25:56]    ERROR Available tasks:
[2026-01-09T00:25:56]    ERROR   combined_global_and_conus_meshes
[2026-01-09T00:25:56]    ERROR     The combined global and CONUS meshes.
[2026-01-09T00:25:56]    ERROR   conus_data_grid
[2026-01-09T00:25:56]    ERROR     The CONUS data grid.
[2026-01-09T00:25:56]    ERROR   global_data_grid
[2026-01-09T00:25:56]    ERROR     The global data grid.
[2026-01-09T00:25:56]    ERROR   provisioned_rundir
[2026-01-09T00:25:56]    ERROR     The provisioned run directory.
[2026-01-09T00:25:56]    ERROR   validate
[2026-01-09T00:25:56]    ERROR     Validate the UW driver config.

Type

  • Enhancement (adds new functionality)

Impact

  • This is a non-breaking change (existing functionality continues to work as expected)

Checklist

  • I have added myself and any co-authors to the PR's Assignees list.
  • I have reviewed the documentation and have made any updates necessitated by this change.

@maddenp-cu maddenp-cu self-assigned this Jan 9, 2026
@maddenp-cu maddenp-cu marked this pull request as ready for review January 9, 2026 00:29
@maddenp-cu maddenp-cu merged commit d83b9d8 into ufs-community:main Jan 9, 2026
2 checks passed
@maddenp-cu maddenp-cu deleted the list-external-driver-tasks branch January 9, 2026 16:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants