@classmethod<EOL><INDENT>def concat_dim(cls, datasets, dim, vdims):<DEDENT>
import iris<EOL>from iris.experimental.equalise_cubes import equalise_attributes<EOL>cubes = []<EOL>for c, cube in datasets.items():<EOL><INDENT>cube = cube.copy()<EOL>cube.add_aux_coord(iris.coords.DimCoord([c], var_name=dim.name))<EOL>cubes.append(cube)<EOL><DEDENT>cubes = iris.cube.CubeList(cubes)<EOL>equalise_attributes(cubes)<EOL>return cubes.merge_cube()<EOL>
Concatenates datasets along one dimension