Too much in the try block. Just put the ```units = iris.unit.Unit(units)``` inside - unless you are expecting anything else to raise a ValueError?