nc_data function

N/C data merge function