Skip to content

Exception is raised for units of type float  #1

@davidhassell

Description

@davidhassell
>>> u = cfunits.Units(1.0)                                                 
Traceback (most recent call last)
    ...

ValueError: Can't set unsupported unit: 1.0

This should instead store the bad units and set the isvalid attribute to False

See NCAS-CMS/cf-python#23

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions