def METHOD_NAME(url, meta):
    """Check wheter all dimensions in metadata are referred to in shapes."""
    shape_dims = set()
    for prop in meta.properties['properties']:
        shape_dims.update(prop.shape)
    unused = set(meta.dimnames()).difference(shape_dims)
    if unused:
        print(f'{url}: unused dimensions: {", ".join(unused)}')
        sys.exit(1)