It's cleaner not to do this in a one-liner. It's hard to pick out the dimension argument to ```add_dim_coord()```.

Rather,
```
coord = DimCoord(...)
cube.add_dim_coord(coord, 1)
```
is a lot clearer.