-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Model drivers are currently using seperate entry points to the main um2nc command:
um2nc-standalone/pyproject.toml
Lines 29 to 31 in d7e4f4f
| [project.scripts] | |
| esm1p5_convert_nc = "um2nc.drivers.conversion_driver_esm1p5:main" | |
| um2nc = "um2nc.um2netcdf:main" |
Following discussion with @atteggiani, we should look into running the drivers instead as subcommands of the main um2nc. For example, running the ESM1.5 conversion driver could look like um2nc esm1p5 <args>
This could simplify the interface, make it easier to pass um2nc processing arguments directly to the drivers rather than hard coding them, and allow for um2nc to be released as a seperate binary. This last point would help us decouple um2nc and payu releases, and allow us to avoid singularity containers and the associated transient errors.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels