magpie.grids.xmid2edges

magpie.grids.xmid2edges(xmid)

Returns the mid-point of a uniform grid from the grid edges.

Parameters
xmidarray

The mid-point of a uniform grid.

Returns
xedgesarray

The edges of a uniform grid along one axis.