add union operation to gmt