magpie.coords.polar2cart

magpie.coords.polar2cart(r, p[, center=[0., 0.]])

Return cartesian coordinates for a given set of polar coordinates.

Parameters
rarray

Radial coordinate.

phiarray

Phi coordinate.

centerlist

Center point of polar coordinate grid.

Returns
xarray

x coordinate.

yarray

y coordinate.