Transformation from z_diff functions to the public output grid.
z_diff
Developer documentation: this item describes internal implementation details.