magpie.coords.lonlat2sphere

magpie.coords.lonlat2sphere(latitude)

Converts from latitude to spherical coordinate convention.

Parameters
Latitudearray

Latitude given in the range [-pi/2, pi/2].

Returns
thetaarray

Latitude given in the range [0., pi] where theta = 0 at the north pole.