def generate_plates(seed, world_name, output_dir, width, height,
                    num_plates=10):
    elevation, plates = generate_plates_simulation(seed, width, height,
                                                   num_plates=num_plates)

    world = World(world_name, Size(width, height), seed, GenerationParameters(num_plates, -1.0, "plates"))
    world.set_elevation(numpy.array(elevation).reshape(height, width), None)
    world.set_plates(numpy.array(plates, dtype=numpy.uint16).reshape(height, width))

    # Generate images
    filename = '%s/plates_%s.png' % (output_dir, world_name)
    draw_simple_elevation_on_file(world, filename, None)
    print("+ plates image generated in '%s'" % filename)
    geo.center_land(world)
    filename = '%s/centered_plates_%s.png' % (output_dir, world_name)
    draw_simple_elevation_on_file(world, filename, None)
    print("+ centered plates image generated in '%s'" % filename)
Eventually this method should be invoked when generation is called at
dataset/ETHPy150Open Mindwerks/worldengine/worldengine/cli/main.py/generate_plates