magpie.grids.get_xedges

magpie.grids.get_xedges(length, ngrid[, xmin=0.])

Returns the edges of a uniform grid along one axis.

Parameters
lengthfloat

Length of the grid.

ngridint

Number of grid points.

xminfloat, optional

Minimum value of the grid.

Returns
xedgesarray

The edges of a uniform grid along one axis.