Skip to content

New to_units methods to allow changing units in a chain #874

@davidhassell

Description

@davidhassell

@znichollscr suggested:

Currently, to convert the units you have to do thing.Units = cf.Units("Tg") and then you can carry on. Given how helpful chaining is, just adding a simple "to_unit" API would be great, so you could do thing.to_unit("Tg").next_operation().follow_up().

PR to follow.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions