Skip to content

Running drivers as um2nc subcommands #220

@blimlim

Description

@blimlim

Model drivers are currently using seperate entry points to the main um2nc command:

[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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions