PyNGL Home > Functions > Lat/Lon manipulators

Ngl.gaus

Computes gaussian latitudes and weights.

Prototype

ginfo = Ngl.gaus(nlat)

Arguments

nlat

A scalar integer equal to the number of latitude points per hemisphere.

Return value

ginfo

A NumPy array dimensioned 2*nlat-by-2, where nlat is the value of the input argument, is returned. This array contains both the gaussian latitudes (first dimension) and the gaussian weights (second dimension).

Description

This function takes a single argument specifying the number of latitude points per hemisphere and returns the gaussian latitudes and weights.

Examples

See gaus.py.