...
For each field in the input fieldset, this function creates a field where each grid point has the value of the sine of its latitude. For example, the following macro adds the coriolis parameter to each grid point of a field :
# Computes absolute vorticity from vorticity
omega = 2 * pi / 86400
coriolis = 2 * omega * sinlat(vort)
absvort = vort + coriolis
fieldset
sort
( fieldset )
fieldset sort
( fieldset,string )
fieldset sort
( fieldset,list )
fieldset sort
( fieldset,string,string )
fieldset sort
( fieldset,list,string )
fieldset sort
( fieldset,list,list )
...