get_psi#

VSPEC.gcm.heat_transfer.get_psi(lon: astropy.units.Quantity)#

Translate between longitude and Psi.

Since the math we are doing for the energy balance requires longituide on [-180,180] deg, we cast everything to this range.

Parameters:

lon (astropy.units.Quantity) – The longituide to cast.

Returns:

The longitude coordinate in radians cast to [-pi,pi]

Return type:

np.ndarray