write out 2d measurements