This ```for``` loop can now be re-factored as follows:

    for dim_name in dimension_names[1:]:
        if dim_name not in self._dataset.dimensions:
            self._dataset.createDimension(dim_name, self._existing_dim[dim_name])