def create_local_meta(metadata, name):
    if MPI:
        rank = MPI.COMM_WORLD.rank
    else:
        rank = 0

    # Create new metadata if parent's isn't available
    if metadata is None:
        parent_coordinate = [rank]
    else:
        parent_coordinate = metadata['coord']

    # The root group has no name, but we want the iteration coordinate to have one.
    if len(parent_coordinate) == 3 and name == '':
        name = 'root'

    local_meta = {
        'name': name,
        'coord': parent_coordinate + [name, (0,)],
        'timestamp': None,
        'success': 1,
        'msg': '',
    }

    return local_meta
Scale to a smaller cutout that will be zoomed
dataset/ETHPy150Open OpenMDAO/OpenMDAO/openmdao/util/record_util.py/create_local_meta--crossover with--dataset/ETHPy150Open neurodata/ndstore/ocpca/ocpcadb.py/OCPCADB._zoominCutout