Replace the heading angles in one oce object with that from another, possibly with a constant adjustment.

A copy of b, but with b$data$heading replaced with heading angles that result from linear interpolation of the headings in g, and then adding the angle add.