Skip to content

Enable conversions to be included in the interface #5

@dorchard

Description

@dorchard

Allow an explicit conversion function to be given, e.g., this would enable the following to be abstracted in the interface:

rsn = gipl_compose.get_value("snowpack__mass-per-volume_density", units="g cm-3")
gipl_compose.set_value("snow__thermal_conductivity", rsn * rsn * 2.846)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions