...
Warning |
---|
Please be aware that in versions before Metview 5.5.3 the resulting fields of
but instead of it the following order is produced:
At the moment, Metview 5.5.3 is available at ECMWF as metview/new. |
list grib_get (fieldset, list) Anchor grib_get grib_get list grib_get (fieldset, list, string)
...
R
is the radius of the Earthφ
i is the latitude of the i-th grid cell
is the size of the grid cells in latitudeΔ
φiΔλ
i is the size of the i-th grid cell in longitude.
The function then supposes that Δφi
is constant and the weighted average over the area is computed as:
...
This formula is only used for regular latitude-longitude and Gaussian grids. For all other grid types integrate()
simply returns the mathematical average of the values (just like the average()
function does).
Warning |
---|
Please note that for Gaussian grids the formula can only be only regarded as an approximation since |
If the input fieldset contains only one field, a number is returned. If there is more than one field, a list of numbers is returned. Missing values in the input fieldset are bypassed in this calculation. For each field for which there are no valid values, nil
is returned.
...