Create code to write OceanLink patterns