Could always say `missing_dim[dimname] = cube.shape[dim]`