sinlat

sinlat(fs)

Returns the fieldset of the sine of the latitude of fs at each grid point.

Parameters

fs (Fieldset) – input fieldset

Return type

Fieldset

Missing values are retained, unaltered by the calculation.

Example

The following code shows how to compute the absolute vorticity from vorticity with sinlat():

import metview as mv
import math

omega = 2 * math.pi / 86400
coriolis = 2 * omega * mv.sinlat(vort)
absvort = vort + coriolis